Re: [PATCH] powerpc: Set missing wakeup bit in LPCR on POWER9
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-11-21 10:19:05
Benjamin Herrenschmidt [off-list ref] writes:
There is a new bit, LPCR_PECEu0, which controls wakeup from STOP states on Hypervisor Virtualization Interrupts (which happen to also be all external interrupts in host or bare metal mode). It needs to be set or we will miss wakeups. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- Paul, I haven't fixed KVM. You probably should include such a fix as part of your KVM-on-power9 series. Michael: That should probably go to -stable as far as P9 support goes.
I ended up with:
powerpc: Set missing wakeup bit in LPCR on POWER9
There is a new bit, LPCR_PECE_HVEE (Hypervisor Virtualization Exit
Enable), which controls wakeup from STOP states on Hypervisor
Virtualization Interrupts (which happen to also be all external
interrupts in host or bare metal mode).
It needs to be set or we will miss wakeups.
Fixes: 9baaef0a22c8 ("powerpc/irq: Add support for HV virtualization interrupts")
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Benjamin Herrenschmidt [off-list ref]
[mpe: Rename it to HVEE to match the name in the ISA]
Signed-off-by: Michael Ellerman [off-list ref]
cheers