Re: [PATCH v6] driver/perf: Add PMU driver for the ARM DMC-620 memory controller

2020-11-25 Thread Tuan Phan
Thanks Will, > On Nov 25, 2020, at 7:44 AM, Will Deacon wrote: > > On Wed, 4 Nov 2020 11:30:43 -0800, Tuan Phan wrote: >> DMC-620 PMU supports total 10 counters which each is >> independently programmable to different events and can >> be started and stopped individually. >> >> Currently, it on

Re: [PATCH v6] driver/perf: Add PMU driver for the ARM DMC-620 memory controller

2020-11-25 Thread Will Deacon
On Wed, 4 Nov 2020 11:30:43 -0800, Tuan Phan wrote: > DMC-620 PMU supports total 10 counters which each is > independently programmable to different events and can > be started and stopped individually. > > Currently, it only supports ACPI. Other platforms feel free to test and add > support for d

Re: [PATCH v6] driver/perf: Add PMU driver for the ARM DMC-620 memory controller

2020-11-12 Thread Tuan Phan
Hi Mark/Will, Do you have any further concerns of this patch? If not, can we merge it? Thanks, > On Nov 4, 2020, at 11:30 AM, Tuan Phan > wrote: > > DMC-620 PMU supports total 10 counters which each is > independently programmable to different events and can > be started and stopped individua

[PATCH v6] driver/perf: Add PMU driver for the ARM DMC-620 memory controller

2020-11-04 Thread Tuan Phan
DMC-620 PMU supports total 10 counters which each is independently programmable to different events and can be started and stopped individually. Currently, it only supports ACPI. Other platforms feel free to test and add support for device tree. Usage example: #perf stat -e arm_dmc620_10008c000