mbox series

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

Message ID 20240307230929.6233-1-ilkka@os.amperecomputing.com (mailing list archive)
Headers show
Series perf/arm-cmn: Add support for tertiary match group | expand

Message

Ilkka Koskinen March 7, 2024, 11:09 p.m. UTC
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(-)