Page MenuHomeFreeBSD

arm64: Fix finding the pmc event ID
ClosedPublic

Authored by andrew on Apr 6 2021, 8:44 AM.
Tags
None
Referenced Files
F159520930: D29600.id87011.diff
Mon, Jun 15, 6:15 AM
Unknown Object (File)
Wed, Jun 10, 9:56 AM
Unknown Object (File)
Fri, May 22, 7:00 PM
Unknown Object (File)
Fri, May 22, 7:00 PM
Unknown Object (File)
Tue, May 19, 6:39 AM
Unknown Object (File)
May 15 2026, 8:45 AM
Unknown Object (File)
May 15 2026, 8:30 AM
Unknown Object (File)
May 14 2026, 4:30 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