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
F163357745: D32320.id.diff
Wed, Jul 22, 11:42 AM
Unknown Object (File)
Tue, Jul 21, 11:55 AM
Unknown Object (File)
Tue, Jul 21, 8:31 AM
Unknown Object (File)
Fri, Jul 17, 7:39 PM
Unknown Object (File)
Thu, Jul 2, 7:45 PM
Unknown Object (File)
Jun 7 2026, 7:58 AM
Unknown Object (File)
May 16 2026, 7:23 PM
Unknown Object (File)
May 16 2026, 7:19 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!