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)
Fri, Nov 7, 3:33 AM
Unknown Object (File)
Sat, Oct 25, 12:08 PM
Unknown Object (File)
Fri, Oct 24, 1:21 AM
Unknown Object (File)
Thu, Oct 23, 11:15 PM
Unknown Object (File)
Sat, Oct 18, 9:27 PM
Unknown Object (File)
Wed, Oct 15, 3:57 AM
Unknown Object (File)
Wed, Oct 15, 3:55 AM
Unknown Object (File)
Wed, Oct 15, 3:55 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