diff options
author | James Morse <[email protected]> | 2020-01-21 12:33:56 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-01-23 10:38:15 +0000 |
commit | 21aecdbd7f3ab02c9b82597dc733ee759fb8b274 (patch) | |
tree | 73da785af71a2ed8d6c1d5b678c63e08855221f0 /tools/perf/util/trace-event-scripting.c | |
parent | 018f22f95e8a6c3e27188b7317ef2c70a34cb2cd (diff) |
KVM: arm: Make inject_abt32() inject an external abort instead
KVM's inject_abt64() injects an external-abort into an aarch64 guest.
The KVM_CAP_ARM_INJECT_EXT_DABT is intended to do exactly this, but
for an aarch32 guest inject_abt32() injects an implementation-defined
exception, 'Lockdown fault'.
Change this to external abort. For non-LPAE we now get the documented:
| Unhandled fault: external abort on non-linefetch (0x008) at 0x9c800f00
and for LPAE:
| Unhandled fault: synchronous external abort (0x210) at 0x9c800f00
Fixes: 74a64a981662a ("KVM: arm/arm64: Unify 32bit fault injection")
Reported-by: Beata Michalska <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions