HomeFreeBSD

arm64: Support counter access with E2H

Description

arm64: Support counter access with E2H

When entering the kernel with the E2H field set the layout of the
cnthctl_el2 register changes. Use the correct field locations to enable
access to the counter and timer registers from EL1.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45529

(cherry picked from commit 997511dffe651e1d2d708f37f2ced430a6ab3349)

Details

Provenance
andrewAuthored on Jul 23 2024, 9:18 AM
Differential Revision
D45529: arm64: Support counter access with E2H
Parents
rGe4f74109173e: uart: Split out initilisation of the acpi devinfo
Branches
Unknown
Tags
Unknown