Page MenuHomeFreeBSD

hwpmc/arm64: Support 64-bit counters
ClosedPublic

Authored by andrew on May 20 2025, 10:42 AM.
Tags
None
Referenced Files
F169633636: D50433.diff
Wed, Sep 2, 3:20 AM
F169512617: D50433.id.diff
Tue, Sep 1, 6:46 PM
Unknown Object (File)
Tue, Sep 1, 6:52 AM
Unknown Object (File)
Mon, Aug 31, 2:48 AM
Unknown Object (File)
Sun, Aug 30, 6:34 PM
Unknown Object (File)
Wed, Aug 26, 11:34 AM
Unknown Object (File)
Wed, Aug 26, 10:33 AM
Unknown Object (File)
Mon, Aug 24, 6:48 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