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-- | 4.7 KB |
Makefile | -rw-r--r-- | 716 bytes |
README.dino | -rw-r--r-- | 1.0 KB |
asp.c | -rw-r--r-- | 3.3 KB |
ccio-dma.c | -rw-r--r-- | 46.4 KB |
dino.c | -rw-r--r-- | 31.0 KB |
eisa.c | -rw-r--r-- | 11.5 KB |
eisa_eeprom.c | -rw-r--r-- | 2.0 KB |
eisa_enumerator.c | -rw-r--r-- | 11.2 KB |
gsc.c | -rw-r--r-- | 5.4 KB |
gsc.h | -rw-r--r-- | 1.5 KB |
hppb.c | -rw-r--r-- | 2.5 KB |
iommu-helpers.h | -rw-r--r-- | 4.8 KB |
iommu.h | -rw-r--r-- | 1.4 KB |
iosapic.c | -rw-r--r-- | 28.4 KB |
iosapic_private.h | -rw-r--r-- | 5.0 KB |
lasi.c | -rw-r--r-- | 6.0 KB |
lba_pci.c | -rw-r--r-- | 50.6 KB |
led.c | -rw-r--r-- | 19.7 KB |
pdc_stable.c | -rw-r--r-- | 29.8 KB |
power.c | -rw-r--r-- | 7.3 KB |
sba_iommu.c | -rw-r--r-- | 57.1 KB |
superio.c | -rw-r--r-- | 13.6 KB |
wax.c | -rw-r--r-- | 3.0 KB |
Computing file changes ...