diff options
author | Marc Zyngier <maz@kernel.org> | 2025-08-25 13:13:56 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-20 11:05:14 +0100 |
commit | 50f77dc87f133b09db44a5bbfdd64b1ca83a8d8e (patch) | |
tree | 3880d00b8dd0358c381af00b9f006df4c9d5fef1 /scripts/gdb/linux/vfs.py | |
parent | b8e625167a321138f83b1f6c99cf25d1290cb04e (diff) |
KVM: arm64: Populate level on S1PTW SEA injection
Our fault injection mechanism is mildly primitive, and doesn't
really implement the architecture when it comes to reporting
the level of a failing S1 PTW (we blindly report a SEA outside
of a PTW).
Now that we can walk the S1 page tables and look for a particular
IPA in the descriptors, it is pretty easy to improve the SEA
injection code.
Note that we only do it for AArch64 guests, and that 32bit guests
are left to their own device (oddly enough, I don't fancy writing
a 32bit PTW...).
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions