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)
Tue, Nov 25, 9:33 PM
Unknown Object (File)
Sun, Nov 16, 10:17 AM
Unknown Object (File)
Fri, Nov 14, 2:14 AM
Unknown Object (File)
Wed, Nov 12, 9:28 PM
Unknown Object (File)
Wed, Nov 12, 5:50 AM
Unknown Object (File)
Nov 3 2025, 2:11 AM
Unknown Object (File)
Nov 3 2025, 2:09 AM
Unknown Object (File)
Nov 3 2025, 2:08 AM
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