mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] LoongArch: KVM: Some tiny code cleanup
@ 2025-02-07  3:26 Bibo Mao
  2025-02-07  3:26 ` [PATCH 1/3] LoongArch: KVM: Fix typo issue about GCFG feature detection Bibo Mao
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Bibo Mao @ 2025-02-07  3:26 UTC (permalink / raw)
  To: Tianrui Zhao; +Cc: Huacai Chen, WANG Xuerui, kvm, loongarch, linux-kernel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-10  6:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-07  3:26 [PATCH 0/3] LoongArch: KVM: Some tiny code cleanup Bibo Mao
2025-02-07  3:26 ` [PATCH 1/3] LoongArch: KVM: Fix typo issue about GCFG feature detection Bibo Mao
2025-02-09  9:38   ` Huacai Chen
2025-02-10  1:41     ` bibo mao
2025-02-10  3:58       ` Huacai Chen
2025-02-10  6:32         ` bibo mao
2025-02-07  3:26 ` [PATCH 2/3] LoongArch: KVM: Remove duplicated cache attribute setting Bibo Mao
2025-02-07  3:26 ` [PATCH 3/3] LoongArch: KVM: Set host with kernel mode when switch to VM mode Bibo Mao
2025-02-09  9:47   ` Huacai Chen
2025-02-10  1:43     ` bibo mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®