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

From: Bibo Mao
Date: Thu Feb 06 2025 - 22:26:57 EST


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
--
2.39.3