aboutsummaryrefslogtreecommitdiff
path: root/LOCKS
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2024-08-19 12:44:11 +0000
committerAndrew Turner <andrew@FreeBSD.org>2024-08-20 08:49:16 +0000
commit5577bb2f67ff442a92a3c0edb133e03bc28bb9d6 (patch)
tree529e2cacc862ff5bd1afb656b38f1d3dec8f24da /LOCKS
parent20eabb33b4645bc088c40d6475d5fa628b39031f (diff)
arm64/vmm: Support tlbi from VHE
When invalidating the stage 2 TLB we need to ensure page tables updates have completed and for tlbi vmalle1is the HCR_EL2 TGE flag needs to be clear. To fix the former add a data barrier before the tlbi instructions. On non-VHE this will happen as part of the exception entry, so is only needed for VHE. The tlbi vmalle1is instruction operates on the EL2 & 0 regime when HCR_EL2 E2H and TGE flags are both set. By clearing the TGE flag it will stop this and operate on the EL1 & 0 regime we are expecting. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D46080
Diffstat (limited to 'LOCKS')
0 files changed, 0 insertions, 0 deletions