diff options
author | Will Deacon <[email protected]> | 2020-07-29 11:28:19 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-07-30 16:02:37 +0100 |
commit | 84b951a803a5464b0bff2fb1366e96f07f75b066 (patch) | |
tree | 9450a719ec5d5dfa5c71d50187dc1a8786d4d08e /lib/memory-notifier-error-inject.c | |
parent | c9a636f29b5f236441ff059cef0b2fe734c05afd (diff) |
KVM: arm64: Handle data and instruction external aborts the same way
If the guest generates a synchronous external abort which is not handled
by the host, we inject it back into the guest as a virtual SError, but
only if the original fault was reported on the data side. Instruction
faults are reported as "Unsupported FSC", causing the vCPU run loop to
bail with -EFAULT.
Although synchronous external aborts from a guest are pretty unusual,
treat them the same regardless of whether they are taken as data or
instruction aborts by EL2.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Quentin Perret <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions