]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc/64s: Fix KVM interrupt using wrong save area
authorNicholas Piggin <npiggin@gmail.com>
Mon, 15 Jun 2020 06:12:47 +0000 (16:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jun 2020 02:52:43 +0000 (12:52 +1000)
commit0bdcfa182506526fbe4e088ff9ca86a31b81828d
treeef97eb406cdc2735cbd3b51b0105b8855c295a64
parenta6e2c226c3d51fd93636320e47cabc8a8f0824c5
powerpc/64s: Fix KVM interrupt using wrong save area

The CTR register reload in the KVM interrupt path used the wrong save
area for SLB (and NMI) interrupts.

Fixes: 9600f261acaa ("powerpc/64s/exception: Move KVM test to common code")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200615061247.1310763-1-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S