Page MenuHomeFreeBSD

hwpmc/arm64: Support 64-bit counters
ClosedPublic

Authored by andrew on May 20 2025, 10:42 AM.
Tags
None
Referenced Files
F168119027: D50433.diff
Wed, Aug 26, 11:34 AM
F168108396: D50433.id.diff
Wed, Aug 26, 10:33 AM
Unknown Object (File)
Mon, Aug 24, 6:48 AM
Unknown Object (File)
Mon, Aug 24, 4:58 AM
Unknown Object (File)
Thu, Aug 13, 12:44 AM
Unknown Object (File)
Wed, Aug 12, 5:04 PM
Unknown Object (File)
Mon, Aug 10, 12:12 PM
Unknown Object (File)
Mon, Aug 10, 8:55 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