From: Frank Li <Frank.li@oss.nxp.com>
To: Xu Yang <xu.yang_2@oss.nxp.com>
Cc: Frank.li@nxp.com, will@kernel.org, mark.rutland@arm.com,
s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, linux-arm-kernel@lists.infradead.org,
linux-perf-users@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH v2] perf: imx9_perf: correct event IDs for counters 9 and 10
Date: Wed, 2 Dec 2026 14:26:14 -0600 [thread overview]
Message-ID: <axB-5oqOaB8TLwwT@SMW015318> (raw)
In-Reply-To: <20261202101309.3362388-1-xu.yang_2@oss.nxp.com>
On Wed, Dec 02, 2026 at 06:13:09PM +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 i.MX93
Nit: do you have i.MX93's RM version number?
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> and i.MX95 RM Rev 7.0.
>
> 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>
>
> ---
> Changes in v2:
> - add RM version info
> ---
> 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
>
>
prev parent reply other threads:[~2026-12-02 20:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 10:13 [PATCH v2] perf: imx9_perf: correct event IDs for counters 9 and 10 Xu Yang
2026-12-02 10:11 ` sashiko-bot
2026-12-02 20:26 ` Frank Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axB-5oqOaB8TLwwT@SMW015318 \
--to=frank.li@oss.nxp.com \
--cc=Frank.li@nxp.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=s.hauer@pengutronix.de \
--cc=will@kernel.org \
--cc=xu.yang_2@oss.nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox