diff options
| author | Oliver Upton <[email protected]> | 2025-04-02 20:17:25 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2025-04-03 07:28:51 +0000 |
| commit | 26fbdf36922711f285fd185ad644f0acdf15959f (patch) | |
| tree | 970efddf1a35f19ece2236cfa6f4d7de967b773a /rust/helpers/signal.c | |
| parent | arm64: Convert HPFAR_EL2 to sysreg table (diff) | |
| download | kernel-26fbdf36922711f285fd185ad644f0acdf15959f.tar.gz kernel-26fbdf36922711f285fd185ad644f0acdf15959f.zip | |
KVM: arm64: Don't translate FAR if invalid/unsafe
Don't re-walk the page tables if an SEA occurred during the faulting
page table walk to avoid taking a fatal exception in the hyp.
Additionally, check that FAR_EL2 is valid for SEAs not taken on PTW
as the architecture doesn't guarantee it contains the fault VA.
Finally, fix up the rest of the abort path by checking for SEAs early
and bugging the VM if we get further along with an UNKNOWN fault IPA.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions
