aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2018-12-06 17:31:19 +0000
committerWill Deacon <[email protected]>2018-12-10 11:54:37 +0000
commitc987876a80e7bcb98a839f10dca9ce7fda4feced (patch)
tree90736c01cfc0860f68da3c714d50b80a7c70eb03 /tools/perf/scripts/python
parent9ff01193a20d391e8dbce4403dd5ef87c7eaaca6 (diff)
arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
Contrary to the non-VHE version of the TLB invalidation helpers, the VHE code has interrupts enabled, meaning that we can take an interrupt in the middle of such a sequence, and start running something else with HCR_EL2.TGE cleared. That's really not a good idea. Take the heavy-handed option and disable interrupts in __tlb_switch_to_guest_vhe, restoring them in __tlb_switch_to_host_vhe. The latter also gain an ISB in order to make sure that TGE really has taken effect. Cc: [email protected] Acked-by: Christoffer Dall <[email protected]> Reviewed-by: James Morse <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions