Page MenuHomeFreeBSD

Add support for Cortex-A76/Neoverse-N1 to hwpmc
ClosedPublic

Authored by andrew on Aug 5 2020, 3:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 24, 7:16 PM
Unknown Object (File)
Mon, Aug 24, 8:41 AM
Unknown Object (File)
Sun, Aug 23, 4:24 PM
Unknown Object (File)
Sat, Aug 22, 3:17 PM
Unknown Object (File)
Wed, Aug 12, 10:53 PM
Unknown Object (File)
Mon, Aug 10, 3:55 AM
Unknown Object (File)
Sun, Aug 9, 6:45 PM
Unknown Object (File)
Sun, Aug 9, 1:32 PM

Details

Summary

This adds support for the Cortex-A76 and Neoverse-N1 PMU counters to pmc.

While here add more PMCR_IDCODE values and check the implementers code is
correct before setting the PMU type.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32771
Build 30206: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Aug 5 2020, 3:10 PM

looks reasonable to me

sys/arm64/include/armreg.h
866–874

I did not check these, assume they were transcribed correctly.

bz added a subscriber: bz.

With the same comment as emaste had; no checks that each value is accurate

This revision is now accepted and ready to land.Aug 10 2020, 9:10 AM
This revision was automatically updated to reflect the committed changes.