diff options
| author | Bibo Mao <[email protected]> | 2025-06-27 10:27:44 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-06-27 10:27:44 +0000 |
| commit | 45515c643d0abb75c2cc760a6bc6b235eadafd66 (patch) | |
| tree | 09b94f9c01287a32dfe7a58f6ca6c516d80bebdc /lib/crypto/mpi/mpi-pow.c | |
| parent | LoongArch: KVM: Fix interrupt route update with EIOINTC (diff) | |
| download | kernel-45515c643d0abb75c2cc760a6bc6b235eadafd66.tar.gz kernel-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: [email protected]
Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions")
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
