diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2021-10-06 14:50:16 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-10-06 17:56:45 +0200 |
commit | f5c20e4a5f18677e22d8dd2846066251b006a62d (patch) | |
tree | 5b01533cb990142e691163da364cb5a50e26b3d9 /arch/s390/include/asm/compat.h | |
parent | hyper-v: Replace uuid.h with types.h (diff) | |
download | linux-f5c20e4a5f18677e22d8dd2846066251b006a62d.tar.xz linux-f5c20e4a5f18677e22d8dd2846066251b006a62d.zip |
x86/hyperv: Avoid erroneously sending IPI to 'self'
__send_ipi_mask_ex() uses an optimization: when the target CPU mask is
equal to 'cpu_present_mask' it uses 'HV_GENERIC_SET_ALL' format to avoid
converting the specified cpumask to VP_SET. This case was overlooked when
'exclude_self' parameter was added. As the result, a spurious IPI to
'self' can be send.
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Fixes: dfb5c1e12c28 ("x86/hyperv: remove on-stack cpumask from hv_send_ipi_mask_allbutself")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20211006125016.941616-1-vkuznets@redhat.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/s390/include/asm/compat.h')
0 files changed, 0 insertions, 0 deletions