]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Fixup LPCR:PECE and HEIC setting on POWER9
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Apr 2017 07:54:55 +0000 (17:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Apr 2017 11:43:17 +0000 (21:43 +1000)
commit08a1e650cc631ccc8cfe670beb38b2f9c58402cd
treeb9e592848b9e945a80dbe6007d260859f08c3a20
parentd381d7caf812f7aa9f05cfeb858c9004ac654412
powerpc: Fixup LPCR:PECE and HEIC setting on POWER9

We need to set LPES in order for normal external interrupts (0x500)
to be directed to the guest while running in guest state.

We also need HEIC set to prevent them to be sent to the host while
in host state.

With XIVE the host never gets one of these and wouldn't know how to
handle it. All host external interrupts come in via the new
hypervisor virtualization interrupts vector.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/cpu_setup_power.S