diff options
author | Marc Zyngier <maz@kernel.org> | 2024-10-23 15:53:26 +0100 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-10-31 02:44:20 +0000 |
commit | 23e7a34c8397d1ecff430b3500ad5c8bdea10a5c (patch) | |
tree | 06766cd48fe5786ce09ff0bc2793be50547cebc8 /scripts/gdb/linux/vmalloc.py | |
parent | 874ae1d48e607d41ae08fa72a9ed76cb62651085 (diff) |
KVM: arm64: Add AT fast-path support for S1PIE
Emulating AT using AT instructions requires that the live state
matches the translation regime the AT instruction targets.
If targeting the EL1&0 translation regime and that S1PIE is
supported, we also need to restore that state (covering TCR2_EL1,
PIR_EL1, and PIRE0_EL1).
Add the required system register switcheroo.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20241023145345.1613824-19-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions