* [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10
@ 2026-12-01 6:07 Xu Yang
2026-12-01 6:04 ` sashiko-bot
2026-12-01 16:46 ` Frank Li
0 siblings, 2 replies; 3+ messages in thread
From: Xu Yang @ 2026-12-01 6:07 UTC (permalink / raw)
To: Frank.li, will, mark.rutland
Cc: s.hauer, kernel, festevam, linux-arm-kernel, linux-perf-users,
imx
From: Xu Yang <xu.yang_2@nxp.com>
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
Fixes: 55691f99d417 ("drivers/perf: imx_ddr: Add support for NXP i.MX9 SoC DDRC PMU driver")
Cc: stable@vger.kernel.org
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
---
drivers/perf/fsl_imx9_ddr_perf.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/perf/fsl_imx9_ddr_perf.c b/drivers/perf/fsl_imx9_ddr_perf.c
index a3d9287fc774..fae0e5ca24fa 100644
--- a/drivers/perf/fsl_imx9_ddr_perf.c
+++ b/drivers/perf/fsl_imx9_ddr_perf.c
@@ -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,
};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10
2026-12-01 6:07 [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10 Xu Yang
@ 2026-12-01 6:04 ` sashiko-bot
2026-12-01 16:46 ` Frank Li
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-12-01 6:04 UTC (permalink / raw)
To: Xu Yang; +Cc: linux-perf-users
> From: Xu Yang <xu.yang_2@nxp.com>
>
> 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
>
> Fixes: 55691f99d417 ("drivers/perf: imx_ddr: Add support for NXP i.MX9 SoC DDRC PMU driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201060723.1610435-1-xu.yang_2@oss.nxp.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10
2026-12-01 6:07 [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10 Xu Yang
2026-12-01 6:04 ` sashiko-bot
@ 2026-12-01 16:46 ` Frank Li
1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2026-12-01 16:46 UTC (permalink / raw)
To: Xu Yang
Cc: Frank.li, will, mark.rutland, s.hauer, kernel, festevam,
linux-arm-kernel, linux-perf-users, imx
On Tue, Dec 01, 2026 at 02:07:23PM +0800, Xu Yang wrote:
> From: Xu Yang <xu.yang_2@nxp.com>
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-12-01 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 6:07 [PATCH] perf: imx9_perf: correct event IDs for counters 9 and 10 Xu Yang
2026-12-01 6:04 ` sashiko-bot
2026-12-01 16:46 ` Frank Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.