powerpc: Set missing wakeup bit in LPCR on POWER9
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 21 Nov 2016 07:08:05 +0000 (18:08 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 22 Nov 2016 03:53:27 +0000 (14:53 +1100)
commit7a43906f5cbfb74712af168988455e350707e310
tree2bd007a322f318e7a1903941b2bfd5d8251bfc93
parentcac4a185405d4415eca269cae976438b44a37ae0
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 <benh@kernel.crashing.org>
[mpe: Rename it to HVEE to match the name in the ISA]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/cpu_setup_power.S