summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/sitecustomize.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-05-27 16:06:12 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-05-27 15:12:31 +0000
commit9c58104ba8732747f0238a178dfe99c6d59b37f7 (patch)
treee4edca36a0180f1b0ca5de3ddf0e02e98ae5bb5b /BaseTools/Source/Python/sitecustomize.py
parent4a7dd504d9ad9e1192de3546cfc35fbf581b3858 (diff)
downloadedk2-9c58104ba8732747f0238a178dfe99c6d59b37f7.zip
edk2-9c58104ba8732747f0238a178dfe99c6d59b37f7.tar.gz
edk2-9c58104ba8732747f0238a178dfe99c6d59b37f7.tar.bz2
ArmPlatformPkg/Sec: Deal with entry at EL2 with VHE enabled
The architecture now permits HCR_EL2.E2H to be RES1, and so even though the UEFI spec is silent on the matter, entering at EL2 with VHE enabled is a condition that needs to be dealt with. In particular, virtual machines running under nested virtualization on Apple M2 or newer will enter in this manner In this case, the CPTR_EL2 system register needs to be treated as if its layout is identical to CPACR_EL1. Not doing so may result in all kinds of surprises, but the most noticeable is an early crash on the use of FP/SIMD registers, which get disabled inadvertently by this code. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions