HomeFreeBSD

arm64: disable the physical timer for now if HCR_EL2.E2H is set

Description

arm64: disable the physical timer for now if HCR_EL2.E2H is set

On some hardware, we can't clear HCR_EL2.E2H so accesses to the physical
timer hopelessly trap to EL2. Stash off the value of HCR_EL2 and use it
in has_hyp() to avoid this.

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

Details

Provenance
kevansAuthored on Mar 3 2023, 5:02 PM
Reviewer
andrew
Differential Revision
D38884: arm64: disable the physical timer for now if HCR_EL2.E2H is set
Parents
rG577b62c2bacc: pkgbase: Put termcap.small in the same package as termcap
Branches
Unknown
Tags
Unknown