Page MenuHomeFreeBSD

arm64: Support counter access with E2H
ClosedPublic

Authored by andrew on Jun 7 2024, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 12, 12:27 AM
Unknown Object (File)
Tue, May 12, 12:26 AM
Unknown Object (File)
Mon, May 11, 11:59 PM
Unknown Object (File)
Tue, Apr 28, 6:19 AM
Unknown Object (File)
Tue, Apr 28, 3:44 AM
Unknown Object (File)
Apr 26 2026, 7:39 AM
Unknown Object (File)
Apr 21 2026, 7:46 PM
Unknown Object (File)
Apr 20 2026, 11:25 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable