Page MenuHomeFreeBSD

arm64: Fix finding the pmc event ID
ClosedPublic

Authored by andrew on Apr 6 2021, 8:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 3:50 PM
Unknown Object (File)
Thu, Nov 21, 7:18 AM
Unknown Object (File)
Oct 19 2024, 6:12 AM
Unknown Object (File)
Oct 18 2024, 1:42 PM
Unknown Object (File)
Oct 17 2024, 2:12 PM
Unknown Object (File)
Oct 16 2024, 6:09 AM
Unknown Object (File)
Oct 15 2024, 7:03 AM
Unknown Object (File)
Oct 14 2024, 6:32 PM
Subscribers

Details

Summary

The lower pmc event bits were masked off to find the PMC event ID.
The doesn't work when there are more events. Switch it to use the
offser relative to the first event while also checking the ID is
in the expected range.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38354
Build 35243: arc lint + arc unit