diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-06-27 18:27:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:12 +0200 |
commit | 71fa065aca2175f2d03e3164d7ac8d137620f3de (patch) | |
tree | 96154b42451e0e8e4a2fdcbea68b82952b627205 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a48dd6c3761d3f1f5180d9f2c32b8065417df889 (diff) |
LoongArch: KVM: Check interrupt route from physical CPU
commit 45515c643d0abb75c2cc760a6bc6b235eadafd66 upstream.
With EIOINTC interrupt controller, physical CPU ID is set for irq route.
However the function kvm_get_vcpu() is used to get destination vCPU when
delivering irq. With API kvm_get_vcpu(), the logical CPU ID is used.
With API kvm_get_vcpu_by_cpuid(), vCPU ID can be searched from physical
CPU ID.
Cc: stable@vger.kernel.org
Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions