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 |
---|---|---|
chips | ||
devices | ||
hyperbus | ||
lpddr | ||
maps | ||
nand | ||
parsers | ||
spi-nor | ||
tests | ||
ubi | ||
Kconfig | -rw-r--r-- | 7.7 KB |
Makefile | -rw-r--r-- | 964 bytes |
ftl.c | -rw-r--r-- | 30.4 KB |
inftlcore.c | -rw-r--r-- | 23.6 KB |
inftlmount.c | -rw-r--r-- | 21.5 KB |
mtd_blkdevs.c | -rw-r--r-- | 12.2 KB |
mtdblock.c | -rw-r--r-- | 8.6 KB |
mtdblock_ro.c | -rw-r--r-- | 1.8 KB |
mtdchar.c | -rw-r--r-- | 27.8 KB |
mtdconcat.c | -rw-r--r-- | 22.0 KB |
mtdcore.c | -rw-r--r-- | 62.3 KB |
mtdcore.h | -rw-r--r-- | 934 bytes |
mtdoops.c | -rw-r--r-- | 10.9 KB |
mtdpart.c | -rw-r--r-- | 18.6 KB |
mtdpstore.c | -rw-r--r-- | 14.5 KB |
mtdsuper.c | -rw-r--r-- | 4.9 KB |
mtdswap.c | -rw-r--r-- | 33.0 KB |
nftlcore.c | -rw-r--r-- | 22.1 KB |
nftlmount.c | -rw-r--r-- | 25.1 KB |
rfd_ftl.c | -rw-r--r-- | 17.9 KB |
sm_ftl.c | -rw-r--r-- | 30.0 KB |
sm_ftl.h | -rw-r--r-- | 2.2 KB |
ssfdc.c | -rw-r--r-- | 11.2 KB |
Computing file changes ...