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, Sep 15, 12:59 PM
Unknown Object (File)
Sun, Sep 13, 8:41 AM
Unknown Object (File)
Sun, Sep 13, 7:19 AM
Unknown Object (File)
Sat, Sep 5, 1:34 AM
Unknown Object (File)
Tue, Sep 1, 2:45 PM
Unknown Object (File)
Fri, Aug 28, 5:16 AM
Unknown Object (File)
Wed, Aug 26, 3:12 PM
Unknown Object (File)
Aug 24 2026, 11:08 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