diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-06-27 18:27:44 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-06-27 18:27:44 +0800 |
commit | 45515c643d0abb75c2cc760a6bc6b235eadafd66 (patch) | |
tree | 09b94f9c01287a32dfe7a58f6ca6c516d80bebdc /scripts/lib/kdoc/kdoc_parser.py | |
parent | c34bbc2c990700ba07b271fc7c8113b0bc3e4093 (diff) |
LoongArch: KVM: Check interrupt route from physical CPU
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions