perf: imx9_perf: correct event IDs for counters 9 and 10
PATCH 1/1 perf: imx9_perf: correct event IDs for counters 9 and 10
From: Xu Yang <[email protected]>
The event IDs of several events for counters 9 and 10 were derived from an earlier RM revision that contained incorrect values.
Update the driver to use the corrected event IDs from the latest RM.
- eddrtq_pmon_ld_wrq1
- eddrtq_pmon_3_4_full
- eddrtq_pmon_misc_mrk
- eddrtq_pmon_ld_rdq0
--- drivers/perf/fsl_imx9_ddr_perf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/perf/fsl_imx9_ddr_perf.c +4 -4
@@ -313,12 +313,12 @@ static struct attribute *ddr_perf_events_attrs[] = {IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_1_4_full,ID (8 ,65 )),/* counter9 specific events */ -IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_ld_wrq1,ID (9 ,65 )), -IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_3_4_full,ID (9 ,66 )), +IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_ld_wrq1,ID (9 ,64 )), +IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_3_4_full,ID (9 ,65 )),/* counter10 specific events */ -IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_misc_mrk,ID (10 ,65 )), -IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_ld_rdq0,ID (10 ,66 )), +IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_misc_mrk,ID (10 ,64 )), +IMX9_DDR_PMU_EVENT_ATTR (eddrtq_pmon_ld_rdq0,ID (10 ,65 )), NULL, };
Signature · 1 line
2.34.1
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 7 lines
From: Xu Yang <[email protected]>
The event IDs of several events for counters 9 and 10 were derived from an earlier RM revision that contained incorrect values.
Update the driver to use the corrected event IDs from the latest RM.
Quoted 8 lines
-
eddrtq_pmon_ld_wrq1
-eddrtq_pmon_3_4_full
-eddrtq_pmon_misc_mrk
-eddrtq_pmon_ld_rdq0Fixes 55691f99d417 ("drivers/perf: imx_ddr: Add support for NXP i.MX9 SoC DDRC PMU driver")Signed-off-by Xu Yang <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 6 lines · Xu Yang
From: Xu Yang <[email protected]>
The event IDs of several events for counters 9 and 10 were derived from an earlier RM revision that contained incorrect values.
Update the driver to use the corrected event IDs from the latest RM.
Please provide version number for latest RM.
Frank
Quoted 9 lines · Frank Li
Quoted 6 lines · Xu Yang
From: Xu Yang <[email protected]>
The event IDs of several events for counters 9 and 10 were derived from an earlier RM revision that contained incorrect values.
Update the driver to use the corrected event IDs from the latest RM.
Please provide version number for latest RM.
OK. Will add it in v2.
Thanks,
Xu Yang