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, Apr 28, 6:19 AM
Unknown Object (File)
Tue, Apr 28, 3:44 AM
Unknown Object (File)
Sun, Apr 26, 7:39 AM
Unknown Object (File)
Tue, Apr 21, 7:46 PM
Unknown Object (File)
Mon, Apr 20, 11:25 AM
Unknown Object (File)
Tue, Apr 7, 5:19 PM
Unknown Object (File)
Sat, Apr 4, 11:29 PM
Unknown Object (File)
Mar 24 2026, 7:39 PM
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