Page MenuHomeFreeBSD

arm64: Fix finding the pmc event ID
ClosedPublic

Authored by andrew on Apr 6 2021, 8:44 AM.
Tags
None
Referenced Files
F84393105: D29600.id86888.diff
Thu, May 23, 6:25 AM
Unknown Object (File)
Fri, May 17, 5:54 PM
Unknown Object (File)
Tue, May 14, 5:45 AM
Unknown Object (File)
Tue, May 7, 7:52 PM
Unknown Object (File)
Mon, May 6, 7:20 AM
Unknown Object (File)
Fri, Apr 26, 10:39 PM
Unknown Object (File)
Wed, Apr 24, 9:42 PM
Unknown Object (File)
Apr 21 2024, 8:39 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable