Page MenuHomeFreeBSD

hwpmc/arm64: Support 64-bit counters
ClosedPublic

Authored by andrew on May 20 2025, 10:42 AM.
Tags
None
Referenced Files
F146459142: D50433.id155742.diff
Mon, Mar 2, 8:52 PM
F146448997: D50433.diff
Mon, Mar 2, 6:58 PM
F146427945: D50433.id155742.diff
Mon, Mar 2, 3:10 PM
F146396423: D50433.id155742.diff
Mon, Mar 2, 9:06 AM
Unknown Object (File)
Fri, Feb 27, 5:54 AM
Unknown Object (File)
Thu, Feb 26, 9:32 AM
Unknown Object (File)
Tue, Feb 10, 12:21 AM
Unknown Object (File)
Mon, Feb 9, 6:29 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