Thread (4 messages) 4 messages, 4 authors, 2017-11-24

Re: [PATCH] powerpc/kexec: Fix kexec/kdump in P9 guest kernels

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-11-24 04:13:47

On Fri, Nov 24, 2017 at 2:51 PM, Michael Ellerman [off-list ref] wrote:
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: stable@vger.kernel.org # v4.10+
Reported-by: Yilin Zhang <redacted>
Debugged-by: David Gibson [off-list ref]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
Acked-by: Balbir Singh <bsingharora@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help