mbox series

[0/3] LoongArch: KVM: Some tiny code cleanup

Message ID 20250207032634.2333300-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series LoongArch: KVM: Some tiny code cleanup | expand

Message

bibo mao Feb. 7, 2025, 3:26 a.m. UTC
There is some tiny code cleanup with VM context switch or vCPU context
switch path. And add comments for feature macro so that it is easy to
understand.

Bibo Mao (3):
  LoongArch: KVM: Fix typo issue about GCFG feature detection
  LoongArch: KVM: Remove duplicated cache attribute setting
  LoongArch: KVM: Set host with kernel mode when switch to VM mode

 arch/loongarch/include/asm/loongarch.h | 26 ++++++++++++++++++++++++++
 arch/loongarch/kvm/main.c              |  4 ++--
 arch/loongarch/kvm/switch.S            |  2 +-
 arch/loongarch/kvm/vcpu.c              |  3 ---
 4 files changed, 29 insertions(+), 6 deletions(-)


base-commit: 5c8c229261f14159b54b9a32f12e5fa89d88b905