Page MenuHomeFreeBSD

arm64: Fix finding the pmc event ID
ClosedPublic

Authored by andrew on Apr 6 2021, 8:44 AM.
Tags
None
Referenced Files
F111092261: D29600.id87011.diff
Thu, Feb 27, 7:50 AM
Unknown Object (File)
Sun, Feb 23, 10:29 AM
Unknown Object (File)
Sat, Feb 22, 2:58 PM
Unknown Object (File)
Sat, Feb 22, 8:01 AM
Unknown Object (File)
Fri, Feb 21, 11:48 PM
Unknown Object (File)
Thu, Feb 20, 11:54 AM
Unknown Object (File)
Thu, Feb 20, 6:36 AM
Unknown Object (File)
Tue, Feb 18, 4:44 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