aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2024-10-23 15:53:26 +0100
committerOliver Upton <[email protected]>2024-10-31 02:44:20 +0000
commit23e7a34c8397d1ecff430b3500ad5c8bdea10a5c (patch)
tree06766cd48fe5786ce09ff0bc2793be50547cebc8 /lib/memory-notifier-error-inject.c
parent874ae1d48e607d41ae08fa72a9ed76cb62651085 (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 <[email protected]> Reviewed-by: Joey Gouly <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions