aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-07-18 15:32:44 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-18 16:45:11 +1000
commit76fc0cfcc5b0f520062ca6d7225b224d4a8aa828 (patch)
treea864cd3c7a3f4713d916fb11aa4523b56cfa3502 /arch/arm64
parentpowerpc/perf: Avoid spurious PMU interrupts after idle (diff)
downloadlinux-dev-76fc0cfcc5b0f520062ca6d7225b224d4a8aa828.tar.xz
linux-dev-76fc0cfcc5b0f520062ca6d7225b224d4a8aa828.zip
powerpc/64s: Fix hypercall entry clobbering r12 input
A previous optimisation incorrectly assumed the PAPR hcall does not use r12, and clobbers it upon entry. In fact it is used as an input. This can result in KVM guests crashing (observed with PR KVM). Instead of using r12 to save r13, tihs patch saves r13 in ctr. This is more costly, but not as slow as using the SPRG. Fixes: acd7d8cef0153 ("powerpc/64s: Optimize hypercall/syscall entry") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions