summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-04-08 19:04:23 +0300
committerMarc Zyngier <maz@kernel.org>2023-04-13 10:38:53 +0300
commit55b5bac15939dec3cbcbee1f6271bc3a4afd4534 (patch)
tree50c7c50743d1b1ace01dfff07ffaccc4e8c0a4a1 /scripts/generate_rust_analyzer.py
parent197b6b60ae7bc51dd0814953c562833143b292aa (diff)
downloadlinux-55b5bac15939dec3cbcbee1f6271bc3a4afd4534.tar.xz
KVM: arm64: nvhe: Synchronise with page table walker on vcpu run
When taking an exception between the EL1&0 translation regime and the EL2 translation regime, the page table walker is allowed to complete the walks started from EL0 or EL1 while running at EL2. It means that altering the system registers that define the EL1&0 translation regime is fraught with danger *unless* we wait for the completion of such walk with a DSB (R_LFHQG and subsequent statements in the ARM ARM). We already did the right thing for other external agents (SPE, TRBE), but not the PTW. Rework the existing SPE/TRBE synchronisation to include the PTW, and add the missing DSB on guest exit. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions