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
F103025286: D25959.id.diff
Tue, Nov 19, 11:34 PM
Unknown Object (File)
Oct 3 2024, 1:51 AM
Unknown Object (File)
Oct 3 2024, 1:50 AM
Unknown Object (File)
Sep 28 2024, 3:38 PM
Unknown Object (File)
Sep 24 2024, 3:18 AM
Unknown Object (File)
Sep 13 2024, 4:17 AM
Unknown Object (File)
Sep 6 2024, 12:36 AM
Unknown Object (File)
Sep 5 2024, 2:21 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #75429)

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.