Wei Liu ad0a6bad44 x86/hyperv: check cpu mask after interrupt has been disabled
We've observed crashes due to an empty cpu mask in
hyperv_flush_tlb_others.  Obviously the cpu mask in question is changed
between the cpumask_empty call at the beginning of the function and when
it is actually used later.

One theory is that an interrupt comes in between and a code path ends up
changing the mask. Move the check after interrupt has been disabled to
see if it fixes the issue.

Signed-off-by: Wei Liu <wei.liu@kernel.org>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20210105175043.28325-1-wei.liu@kernel.org
Reviewed-by:  Michael Kelley <mikelley@microsoft.com>
2021-01-06 11:03:16 +00:00
..
2020-12-19 11:18:38 -08:00
2020-12-14 17:34:12 -08:00
2020-12-20 10:44:05 -08:00
2020-12-14 18:29:11 -08:00
2020-12-16 16:38:41 -08:00
2020-08-09 14:10:26 -07:00
2020-12-17 13:22:17 -08:00