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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is some tiny code cleanup with VM context switch or vCPU context
switch path, and it fixes typo issue about macro usage GCFG register.

---
  v1 .. v2:
    1. Remove comments about LOONGARCH_CSR_GCFG definition in header file.
    2. Add notes why PRMD need be kernel mode when switch to VM.
---
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/kvm/main.c   | 4 ++--
 arch/loongarch/kvm/switch.S | 2 +-
 arch/loongarch/kvm/vcpu.c   | 3 ---
 3 files changed, 3 insertions(+), 6 deletions(-)


base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3
-- 
2.39.3





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux