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)
Sat, Sep 21, 7:05 PM
Unknown Object (File)
Fri, Sep 20, 12:02 PM
Unknown Object (File)
Wed, Sep 11, 5:49 PM
Unknown Object (File)
Thu, Sep 5, 7:33 AM
Unknown Object (File)
Thu, Sep 5, 1:20 AM
Unknown Object (File)
Wed, Sep 4, 2:50 PM
Unknown Object (File)
Sun, Aug 25, 5:20 PM
Unknown Object (File)
Aug 20 2024, 12:26 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