Skip to content

Commit f87e911

Browse files
ilkka-koskinenwilldeacon
authored andcommitted
perf/arm-cmn: Move overlapping wp_combine field
As eventid field was expanded to support new mesh versions, it started to overlap with wp_combine field. Move wp_combine to fix the issue. Fixes: 23760a0 ("perf/arm-cmn: Add CMN-700 support") Signed-off-by: Ilkka Koskinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 3b16f62 commit f87e911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/perf/arm-cmn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
#define CMN_EVENT_BYNODEID(event) FIELD_GET(CMN_CONFIG_BYNODEID, (event)->attr.config)
167167
#define CMN_EVENT_NODEID(event) FIELD_GET(CMN_CONFIG_NODEID, (event)->attr.config)
168168

169-
#define CMN_CONFIG_WP_COMBINE GENMASK_ULL(27, 24)
169+
#define CMN_CONFIG_WP_COMBINE GENMASK_ULL(30, 27)
170170
#define CMN_CONFIG_WP_DEV_SEL GENMASK_ULL(50, 48)
171171
#define CMN_CONFIG_WP_CHN_SEL GENMASK_ULL(55, 51)
172172
/* Note that we don't yet support the tertiary match group on newer IPs */

0 commit comments

Comments
 (0)