Skip to content
  1. Mar 31, 2018
    • Aneesh Kumar K.V's avatar
      powerpc/kvm: Fix guest boot failure on Power9 since DAWR changes · ca9a16c3
      Aneesh Kumar K.V authored
      
      
      SLOF checks for 'sc 1' (hypercall) support by issuing a hcall with
      H_SET_DABR. Since the recent commit e8ebedbf ("KVM: PPC: Book3S
      HV: Return error from h_set_dabr() on POWER9") changed H_SET_DABR to
      return H_UNSUPPORTED on Power9, we see guest boot failures, the
      symptom is the boot seems to just stop in SLOF, eg:
      
        SLOF ***************************************************************
        QEMU Starting
         Build Date = Sep 24 2017 12:23:07
         FW Version = buildd@ release 20170724
        <no further output>
      
      SLOF can cope if H_SET_DABR returns H_HARDWARE. So wwitch the return
      value to H_HARDWARE instead of H_UNSUPPORTED so that we don't break
      the guest boot.
      
      That does mean we return a different error to PowerVM in this case,
      but that's probably not a big concern.
      
      Fixes: e8ebedbf ("KVM: PPC: Book3S HV: Return error from h_set_dabr() on POWER9")
      Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      ca9a16c3
    • Michael Ellerman's avatar
      Merge branch 'topic/paca' into next · f437c517
      Michael Ellerman authored
      Bring in yet another series that touches KVM code, and might need to
      be merged into the kvm-ppc branch to resolve conflicts.
      
      This required some changes in pnv_power9_force_smt4_catch/release()
      due to the paca array becomming an array of pointers.
      f437c517
  2. Mar 30, 2018
  3. Mar 28, 2018
    • Michael Ellerman's avatar
      Merge branch 'fixes' into next · 95dff480
      Michael Ellerman authored
      Merge our fixes branch from the 4.16 cycle.
      
      There were a number of important fixes merged, in particular some Power9
      workarounds that we want in next for testing purposes. There's also been
      some conflicting changes in the CPU features code which are best merged
      and tested before going upstream.
      95dff480
  4. Mar 27, 2018