Revision c15e0ae42c8e5a61e9aca8aac920517cf7b3e94e authored by Li RongQing on 09 March 2022, 08:35:44 UTC, committed by Paolo Bonzini on 02 April 2022, 09:37:27 UTC
If apic_id is less than min, and (max - apic_id) is greater than KVM_IPI_CLUSTER_SIZE, then the third check condition is satisfied but the new apic_id does not fit the bitmask. In this case __send_ipi_mask should send the IPI. This is mostly theoretical, but it can happen if the apic_ids on three iterations of the loop are for example 1, KVM_IPI_CLUSTER_SIZE, 0. Fixes: aaffcfd1e82 ("KVM: X86: Implement PV IPIs in linux guest") Signed-off-by: Li RongQing <lirongqing@baidu.com> Message-Id: <1646814944-51801-1-git-send-email-lirongqing@baidu.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 2a8859f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 6.0 KB |
Makefile | -rw-r--r-- | 830 bytes |
ptp_chardev.c | -rw-r--r-- | 12.3 KB |
ptp_clock.c | -rw-r--r-- | 10.5 KB |
ptp_clockmatrix.c | -rw-r--r-- | 53.6 KB |
ptp_clockmatrix.h | -rw-r--r-- | 3.5 KB |
ptp_dte.c | -rw-r--r-- | 8.1 KB |
ptp_idt82p33.c | -rw-r--r-- | 24.3 KB |
ptp_idt82p33.h | -rw-r--r-- | 4.4 KB |
ptp_ines.c | -rw-r--r-- | 18.7 KB |
ptp_kvm_arm.c | -rw-r--r-- | 533 bytes |
ptp_kvm_common.c | -rw-r--r-- | 3.1 KB |
ptp_kvm_x86.c | -rw-r--r-- | 2.0 KB |
ptp_ocp.c | -rw-r--r-- | 56.4 KB |
ptp_pch.c | -rw-r--r-- | 14.9 KB |
ptp_private.h | -rw-r--r-- | 3.7 KB |
ptp_qoriq.c | -rw-r--r-- | 15.5 KB |
ptp_qoriq_debugfs.c | -rw-r--r-- | 2.3 KB |
ptp_sysfs.c | -rw-r--r-- | 10.6 KB |
ptp_vclock.c | -rw-r--r-- | 5.1 KB |
ptp_vmw.c | -rw-r--r-- | 3.1 KB |
Computing file changes ...