diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-04-02 23:17:25 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-04-03 10:28:51 +0300 |
commit | 26fbdf36922711f285fd185ad644f0acdf15959f (patch) | |
tree | 970efddf1a35f19ece2236cfa6f4d7de967b773a /scripts/lib/abi/abi_parser.py | |
parent | 1cf3e126f1528cdcaf77524f48e54ccbcb029473 (diff) | |
download | linux-26fbdf36922711f285fd185ad644f0acdf15959f.tar.xz |
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 <maz@kernel.org>
Link: https://lore.kernel.org/r/20250402201725.2963645-4-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/lib/abi/abi_parser.py')
0 files changed, 0 insertions, 0 deletions