[PATCH v2 0/2] perf/arm-cmn: Add support for tertiary match group

From: Ilkka Koskinen
Date: Thu Mar 07 2024 - 18:10:11 EST


Tertiary match group was added to CMN-650 and newer implementations.
This patchset makes the parameters model specific to support properly
various models. Also, wp_config registers and filter groups numbers are
decoupled to enable the new match group.

v2:
* Use bitmap to track which WPs/DTMs are used by the event
* Dropped model specific parameters
* Addressed other Robin's comments regarding to sysfs, sanity-check
of wp arguments, and wp_combine check

v1:
https://lore.kernel.org/all/20240126221215.1537377-1-ilkka@xxxxxxxxxxxxxxxxxxxxxx/

Ilkka Koskinen (2):
perf/arm-cmn: Decouple wp_config registers from filter group number
perf/arm-cmn: Enable support for tertiary match group

drivers/perf/arm-cmn.c | 144 +++++++++++++++++++++++++++++++++--------
1 file changed, 118 insertions(+), 26 deletions(-)

--
2.43.2