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

Ilkka Koskinen
2024-03-07T23:10:02Z

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@os.amperecomputing.com/

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