]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a8a57dd9702864fe4e3a5bf6363246150a23ddb
tree2bd007a322f318e7a1903941b2bfd5d8251bfc93
parent37d14c5f5a145e4f8c8bc02f62762ad4fd562119
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: f70c46b649da ("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