diff options
author | 2025-06-27 18:27:44 +0800 | |
---|---|---|
committer | 2025-06-27 18:27:44 +0800 | |
commit | 45515c643d0abb75c2cc760a6bc6b235eadafd66 (patch) | |
tree | 09b94f9c01287a32dfe7a58f6ca6c516d80bebdc /rust/pin-init/internal/src | |
parent | LoongArch: KVM: Fix interrupt route update with EIOINTC (diff) | |
download | wireguard-linux-45515c643d0abb75c2cc760a6bc6b235eadafd66.tar.xz wireguard-linux-45515c643d0abb75c2cc760a6bc6b235eadafd66.zip |
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 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions