]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'x86/urgent' into x86/hyperv
authorThomas Gleixner <tglx@linutronix.de>
Fri, 6 Jul 2018 10:35:56 +0000 (12:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 Jul 2018 10:35:56 +0000 (12:35 +0200)
Integrate the upstream bug fix to resolve the resulting conflict in
__send_ipi_mask().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1  2 
arch/x86/hyperv/hv_apic.c
arch/x86/include/asm/mshyperv.h

index 657a2b8c738a541c052ef971a1f0c9d656c55721,40233836565118f4fb60239ded1fc09aabe34cf1..0c3c9f8fee77bbeaf2db91072b32b3c70d9205ee
@@@ -165,6 -160,9 +167,9 @@@ static bool __send_ipi_mask(const struc
  
        for_each_cpu(cur_cpu, mask) {
                vcpu = hv_cpu_number_to_vp_number(cur_cpu);
 -                      goto ipi_mask_done;
+               if (vcpu == VP_INVAL)
++                      return true;
                /*
                 * This particular version of the IPI hypercall can
                 * only target upto 64 CPUs.
Simple merge