Messages in this thread | | | From | "Michael Kelley (EOSG)" <> | Subject | RE: [PATCH 1/2] x86/hyper-v: check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex() | Date | Tue, 10 Jul 2018 19:38:06 +0000 |
| |
From: Vitaly Kuznetsov <vkuznets@redhat.com> Monday, July 9, 2018 10:40 AM > Commit 1268ed0c474a ("x86/hyper-v: Fix the circular dependency in IPI > enlightenment") made cpumask_to_vpset() return '-1' when there is a CPU > with unknown VP index in the supplied set. This needs to be checked before > we pass 'nr_bank' to hypercall. > > Fixes: 1268ed0c474a ("x86/hyper-v: Fix the circular dependency in IPI enlightenment") > Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> > --- > arch/x86/hyperv/mmu.c | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |