]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/arm-cmn: Minor event type housekeeping
authorRobin Murphy <robin.murphy@arm.com>
Thu, 6 Feb 2025 14:24:04 +0000 (14:24 +0000)
committerWill Deacon <will@kernel.org>
Sat, 1 Mar 2025 05:18:40 +0000 (05:18 +0000)
commit678a5d3d6db64250b293e92504a4f5f6fe8743dd
tree4ecf8e4cf73a48031e24b090f8af2e097ccfde65
parentdc4d58a752ea6cb0821d889e8412c22d5289f3d3
perf/arm-cmn: Minor event type housekeeping

While handling RN-D nodes under the functionally-identical RN-I type
works fine for perf tool users using the "rnid_" event aliases, and that
is the documented and expected ABI, there's little reason not to be
permissive and accept the actual RN-D type as an additional encoding for
the same events as well. This may be convenient for other tooling
generating event configs directly from its own topology data.

In the RN-I event mood, it also seems as good a time as any to clean up
a forgotten macro for CCLA_RNI events which ended up being unnecessary.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/ef46a47fc4ab909093f14b2b4289a4835836ab6c.1738851844.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c