[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250211020118.3275874-1-maobibo@loongson.cn>
Date: Tue, 11 Feb 2025 10:01:15 +0800
From: Bibo Mao <maobibo@...ngson.cn>
To: Tianrui Zhao <zhaotianrui@...ngson.cn>
Cc: Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>,
kvm@...r.kernel.org,
loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] LoongArch: KVM: Some tiny code cleanup
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
Powered by blists - more mailing lists