]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64/vmm: Ensure the tlbi has completed
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 15 Apr 2024 14:36:20 +0000 (14:36 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 24 Apr 2024 18:17:19 +0000 (18:17 +0000)
commitef80df0a71912500ad84060334a24e903869f00b
tree8e3396694609f8523cdcb84e309364607a1e85ad
parent71b2ba9099115db3c63f15e5085c0a677511f8b8
arm64/vmm: Ensure the tlbi has completed

Ensure the TLB is invalidated before enabling the EL2 MMU. Without
this the TLB may be in an inconsistant state leading to a possible
exception when enabling the MMU.

PR: 277559
Reviewed by: markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D44799
sys/arm64/vmm/vmm_hyp_exception.S