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)
Thu, Apr 11, 4:58 AM
Unknown Object (File)
Mon, Apr 8, 3:49 AM
Unknown Object (File)
Fri, Apr 5, 4:57 AM
Unknown Object (File)
Thu, Apr 4, 12:18 PM
Unknown Object (File)
Feb 11 2024, 5:33 AM
Unknown Object (File)
Feb 6 2024, 7:06 AM
Unknown Object (File)
Feb 2 2024, 3:49 PM
Unknown Object (File)
Dec 23 2023, 4:31 AM
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