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)
Wed, Oct 15, 3:57 AM
Unknown Object (File)
Wed, Oct 15, 3:55 AM
Unknown Object (File)
Wed, Oct 15, 3:55 AM
Unknown Object (File)
Tue, Oct 14, 6:38 PM
Unknown Object (File)
Tue, Oct 14, 3:37 PM
Unknown Object (File)
Wed, Oct 8, 1:45 AM
Unknown Object (File)
Tue, Sep 30, 11:43 PM
Unknown Object (File)
Wed, Sep 17, 7:54 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