aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2017-11-24 14:51:02 +1100
committerMichael Ellerman <[email protected]>2017-11-24 16:49:37 +1100
commit2621e945fbf1d6df5f3f0ba7be5bae3d2cf9b6a5 (patch)
treea6129c61ec962f7aeeccb1f166051c02d5c2c1d1 /scripts/gdb/linux/cpus.py
parenta3961f824cdbe7eb431254dc7d8f6f6767f474aa (diff)
powerpc/kexec: Fix kexec/kdump in P9 guest kernels
The code that cleans up the IAMR/AMOR before kexec'ing failed to remember that when we're running as a guest AMOR is not writable, it's hypervisor privileged. They symptom is that the kexec stops before entering purgatory and nothing else is seen on the console. If you examine the state of the system all threads will be in the 0x700 program check handler. Fix it by making the write to AMOR dependent on HV mode. Fixes: 1e2a516e89fc ("powerpc/kexec: Fix radix to hash kexec due to IAMR/AMOR") Cc: [email protected] # v4.10+ Reported-by: Yilin Zhang <[email protected]> Debugged-by: David Gibson <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Acked-by: Balbir Singh <[email protected]> Reviewed-by: David Gibson <[email protected]> Tested-by: David Gibson <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions