Page MenuHomeFreeBSD

hwpmc/arm64: Support 64-bit counters
ClosedPublic

Authored by andrew on May 20 2025, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 29, 11:22 AM
Unknown Object (File)
Tue, Apr 28, 10:13 AM
Unknown Object (File)
Tue, Apr 28, 7:44 AM
Unknown Object (File)
Thu, Apr 23, 6:58 PM
Unknown Object (File)
Thu, Apr 23, 12:13 PM
Unknown Object (File)
Thu, Apr 23, 3:23 AM
Unknown Object (File)
Tue, Apr 21, 6:42 AM
Unknown Object (File)
Thu, Apr 16, 9:00 PM
Subscribers

Details

Summary

When FEAT_PMUv3p5 is implemented the event counters become 64-bit. The
PMCR_EL0.LP field is set to move the overflow to be a 64-bit overflow.
As such we ignore it when getting the value for the user as there is
no space in a 64-bit variable to store is.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable