summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 19:29:01 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-06-27 06:18:30 +0200
commitba6d334ac230065243a92bb7cb3fd6a5f6a7f8ac (patch)
tree6ceb186cbb0b29e634db2c117e9894f160a5925b /arch/powerpc/perf
parentpowerpc: Only do ERAT invalidate on radix context switch on P9 DD1 (diff)
downloadlinux-ba6d334ac230065243a92bb7cb3fd6a5f6a7f8ac.tar.xz
linux-ba6d334ac230065243a92bb7cb3fd6a5f6a7f8ac.zip
powerpc/64s: Invalidate ERAT on powersave wakeup for POWER9
On POWER9 the ERAT may be incorrect on wakeup from some stop states that lose state. This causes random segvs and illegal instructions when these stop states are enabled. This patch invalidates the ERAT on wakeup on POWER9 to prevent this from causing a problem. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Merge comment change with upstream changes] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions