summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-06-27 18:27:44 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-06 11:04:12 +0200
commit71fa065aca2175f2d03e3164d7ac8d137620f3de (patch)
tree96154b42451e0e8e4a2fdcbea68b82952b627205 /tools/perf/scripts/python/export-to-sqlite.py
parenta48dd6c3761d3f1f5180d9f2c32b8065417df889 (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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions