summaryrefslogtreecommitdiff
path: root/include/linux/soc/qcom/smd-rpm.h
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2022-03-09 11:35:44 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-02 12:37:27 +0300
commitc15e0ae42c8e5a61e9aca8aac920517cf7b3e94e (patch)
tree01f20370844c03faa0d6d7e5b5975ed11e453143 /include/linux/soc/qcom/smd-rpm.h
parent2a8859f373b0a86f0ece8ec8312607eacf12485d (diff)
downloadlinux-c15e0ae42c8e5a61e9aca8aac920517cf7b3e94e.tar.xz
KVM: x86: fix sending PV IPI
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>
Diffstat (limited to 'include/linux/soc/qcom/smd-rpm.h')
0 files changed, 0 insertions, 0 deletions