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)
Sat, Sep 27, 7:23 AM
Unknown Object (File)
Fri, Sep 26, 4:59 AM
Unknown Object (File)
Tue, Sep 23, 2:19 PM
Unknown Object (File)
Sun, Sep 21, 4:03 AM
Unknown Object (File)
Wed, Sep 17, 4:56 AM
Unknown Object (File)
Aug 22 2025, 8:48 AM
Unknown Object (File)
Aug 15 2025, 3:07 PM
Unknown Object (File)
Aug 14 2025, 11:29 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