aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/sram.h
diff options
context:
space:
mode:
authorMichael Neuling2018-05-18 11:37:42 +1000
committerMichael Ellerman2018-05-18 16:05:15 +1000
commitfaf37c44a105f3608115785f17cbbf3500f8bc71 (patch)
tree5d7a9292192cb0936af35357aa5f007640b95f85 /drivers/misc/sram.h
parentc1d2a31397ec51f0370f6bd17b19b39152c263cb (diff)
powerpc/64s: Clear PCR on boot
Clear the PCR (Processor Compatibility Register) on boot to ensure we are not running in a compatibility mode. We've seen this cause problems when a crash (and kdump) occurs while running compat mode guests. The kdump kernel then runs with the PCR set and causes problems. The symptom in the kdump kernel (also seen in petitboot after fast-reboot) is early userspace programs taking sigills on newer instructions (seen in libc). Signed-off-by: Michael Neuling <mikey@neuling.org> Cc: stable@vger.kernel.org Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/sram.h')
0 files changed, 0 insertions, 0 deletions