Page MenuHomeFreeBSD

Allocate event for DMC-620 and CMN-600 controllers PMU. Add events supported by DMC-620 and CMN-600 controllers PMU.
AbandonedPublic

Authored by ray on Oct 5 2021, 3:04 PM.
Tags
None
Referenced Files
F168750403: D32320.id96275.diff
Sat, Aug 29, 11:20 PM
Unknown Object (File)
Sat, Aug 29, 1:39 PM
Unknown Object (File)
Sat, Aug 29, 5:26 AM
Unknown Object (File)
Thu, Aug 27, 6:56 AM
Unknown Object (File)
Thu, Aug 27, 5:20 AM
Unknown Object (File)
Tue, Aug 25, 6:16 AM
Unknown Object (File)
Tue, Aug 25, 4:59 AM
Unknown Object (File)
Tue, Aug 11, 4:13 PM

Details

Reviewers
manu
mhorne
andrew
ali_mashtizadeh.com
Group Reviewers
pmc
Summary

Allocate event for DMC-620 and CMN-600 controllers PMU.
Add events supported by DMC-620 and CMN-600 controllers PMU.

Sponsored By: ARM
Sponsored By: Ampere Computing

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41968
Build 38856: arc lint + arc unit

Event Timeline

ray requested review of this revision.Oct 5 2021, 3:04 PM
ray added reviewers: pmc, mhorne.

Is there a review for a dmc620 driver still to come?

lib/libpmc/libpmc.c
1370

Missing break?

sys/arm64/include/cmn600_reg.h
30–31
sys/dev/hwpmc/pmc_events.h
2065–2067

Is there a possibility that future revisions of this hw will add more events to any of these lists? Should these ranges be spaced out further to accommodate this?

sys/dev/hwpmc/pmu_dmc620_reg.h
77–81

This struct should go in sys/dev/hwpmc/hwpmc_dmc620.h.

Completed in D35609.

Many thanks, guys!