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 |
---|---|---|
heaps | ||
Kconfig | -rw-r--r-- | 3.0 KB |
Makefile | -rw-r--r-- | 533 bytes |
dma-buf-sysfs-stats.c | -rw-r--r-- | 5.6 KB |
dma-buf-sysfs-stats.h | -rw-r--r-- | 729 bytes |
dma-buf.c | -rw-r--r-- | 39.7 KB |
dma-fence-array.c | -rw-r--r-- | 5.8 KB |
dma-fence-chain.c | -rw-r--r-- | 6.6 KB |
dma-fence.c | -rw-r--r-- | 29.5 KB |
dma-heap.c | -rw-r--r-- | 7.3 KB |
dma-resv.c | -rw-r--r-- | 19.3 KB |
selftest.c | -rw-r--r-- | 3.0 KB |
selftest.h | -rw-r--r-- | 549 bytes |
selftests.h | -rw-r--r-- | 613 bytes |
st-dma-fence-chain.c | -rw-r--r-- | 13.4 KB |
st-dma-fence.c | -rw-r--r-- | 10.4 KB |
st-dma-resv.c | -rw-r--r-- | 6.8 KB |
sw_sync.c | -rw-r--r-- | 9.5 KB |
sync_debug.c | -rw-r--r-- | 4.6 KB |
sync_debug.h | -rw-r--r-- | 1.8 KB |
sync_file.c | -rw-r--r-- | 11.0 KB |
sync_trace.h | -rw-r--r-- | 774 bytes |
udmabuf.c | -rw-r--r-- | 8.6 KB |
Computing file changes ...