diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2020-01-06 22:50:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:35:17 +0300 |
commit | 02c4699fb664004a38ac12b09181df7cddcb39db (patch) | |
tree | 3967938f0a78c20a6ef0a7d6f1ab03154bfbc9fa /arch/powerpc/platforms/pseries | |
parent | 796085dbe323d82e511105690bf5d15650bb342e (diff) | |
download | linux-02c4699fb664004a38ac12b09181df7cddcb39db.tar.xz |
powerpc/xmon: don't access ASDR in VMs
commit c2a20711fc181e7f22ee5c16c28cb9578af84729 upstream.
ASDR is HV-privileged and must only be accessed in HV-mode.
Fixes a Program Check (0x700) when xmon in a VM dumps SPRs.
Fixes: d1e1b351f50f ("powerpc/xmon: Add ISA v3.0 SPRs to SPR dump")
Cc: stable@vger.kernel.org # v4.14+
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200107021633.GB29843@us.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
0 files changed, 0 insertions, 0 deletions