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)
Sat, Sep 28, 7:18 AM
Unknown Object (File)
Sat, Sep 21, 3:51 PM
Unknown Object (File)
Sat, Sep 21, 12:09 PM
Unknown Object (File)
Sat, Sep 21, 8:02 AM
Unknown Object (File)
Sat, Sep 21, 2:36 AM
Unknown Object (File)
Fri, Sep 20, 10:27 AM
Unknown Object (File)
Fri, Sep 20, 1:06 AM
Unknown Object (File)
Thu, Sep 19, 7: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