diff options
| author | Shouping Wang <allen.wang@hj-micro.com> | 2026-09-10 19:46:01 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-09-11 12:06:24 +0000 |
| commit | 49daa3d668b69a5454b5aba0078848a479f79f1c (patch) | |
| tree | 6c81b67634fe0f97e3c78a3046c5581e67257737 /tools/perf/python/stackcollapse.py | |
| parent | 955d86e5f3b95b731991fdb84966c50b16314629 (diff) | |
| download | linux-next-49daa3d668b69a5454b5aba0078848a479f79f1c.tar.gz linux-next-49daa3d668b69a5454b5aba0078848a479f79f1c.zip | |
perf/arm-cmn: Fix wp_dev_sel2 setting for multi-DTM configurations
When MXP_MULTIPLE_DTM_EN is TRUE, each DTM will monitor at most
two device ports. In this case, {wp_dev_sel2, wp_dev_sel} will
only use values 2'b00 and 2'b01 per DTM.
Previously the setting allowed values beyond the supported range
per DTM, which could cause each DTM to select invalid ports when
MXP_MULTIPLE_DTM_EN is TRUE.
Fix this by only setting CMN_DTM_WPn_CONFIG_WP_DEV_SEL2 when
!multi_dtm.
Fixes: 60d1504070c2 ("perf/arm-cmn: Support new IP features")
Signed-off-by: Shouping Wang <allen.wang@hj-micro.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
