diff options
| author | 2026-04-09 18:56:36 +0800 | |
|---|---|---|
| committer | 2026-04-09 18:56:36 +0800 | |
| commit | da773ea3f59032f659bfc4c450ca86e384786168 (patch) | |
| tree | fc21e1fc46d7f49f15ce5d8ab1bc06dcfb02c2d5 /tools/perf/scripts/python | |
| parent | Linux 7.0-rc7 (diff) | |
LoongArch: KVM: Use CSR_CRMD_PLV in kvm_arch_vcpu_in_kernel()
The function reads LOONGARCH_CSR_CRMD but uses CSR_PRMD_PPLV to
extract the privilege level. While both masks have the same value
(0x3), CSR_CRMD_PLV is the semantically correct constant for CRMD.
Cc: stable@vger.kernel.org
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
