Page MenuHomeFreeBSD

arm64: Support counter access with E2H
Needs ReviewPublic

Authored by andrew on Fri, Jun 7, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 16, 7:59 AM
Unknown Object (File)
Sun, Jun 16, 7:30 AM
Unknown Object (File)
Wed, Jun 12, 3:24 AM
Unknown Object (File)
Sun, Jun 9, 6:34 PM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 58102
Build 54990: arc lint + arc unit