summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2018-03-21 13:31:59 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-23 16:39:09 +0300
commitb5af4f2793233cf37596e2c1f7b23385dc3aaa58 (patch)
treeb5bf25f0f6ad875726b1d2ed335e59268eb41527 /arch/powerpc/include/asm/paca.h
parent9bbf0b576d3294b6a2fda54d1af3b88290e8b65c (diff)
downloadlinux-b5af4f2793233cf37596e2c1f7b23385dc3aaa58.tar.xz
powerpc: Add CPU feature bits for TM bug workarounds on POWER9 v2.2
This adds a CPU feature bit which is set for POWER9 "Nimbus" DD2.2 processors which will be used to enable the hypervisor to assist hardware with the handling of checkpointed register values while the CPU is in suspend state, in order to work around hardware bugs. The hardware assistance for these workarounds introduced a new hardware bug relating to the XER[SO] bit. We add a separate feature bit for this bug in case future chips fix it while still requiring the hypervisor assistance with suspend state. When the dt_cpu_ftrs subsystem is in use, the software assistance can be enabled using a "tm-suspend-hypervisor-assist" node in the device tree, and a "tm-suspend-xer-so-bug" node enables the workarounds for the XER[SO] bug. In the absence of such nodes, a quirk enables both for POWER9 "Nimbus" DD2.2 processors. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
0 files changed, 0 insertions, 0 deletions