HomeFreeBSD

arm64: set FPEN if we're stuck with HCR_EL2.E2H

Description

arm64: set FPEN if we're stuck with HCR_EL2.E2H

On Apple Silicon systems, E2H can't actually be cleared; we're stuck
with it. Check it again when we're setting up CPTR_EL2 and set FPEN
appropriately to avoid later trapping to EL2 on writes to SIMD
registers.

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D38819

Details

Provenance
kevansAuthored on Feb 24 2023, 7:37 PM
Reviewer
andrew
Differential Revision
D38819: arm64: set FPEN if we're stuck with HCR_EL2.E2H
Parents
rG996606792ff9: Add deprecation notice to the gbde(8) program, scheduled to be removed in…
Branches
Unknown
Tags
Unknown