[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+aJhH2YD2tfEe6FsD4E8Dd1FfAjOLoBcghFA+HUYpCRC3Rw2Q@mail.gmail.com>
Date: Mon, 18 Sep 2023 15:46:55 +1000
From: Nathan Rossi <nathan@...hanrossi.com>
To: Fabio Estevam <festevam@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Nathan Rossi <nathan.rossi@...i.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
NXP Linux Team <linux-imx@....com>
Subject: Re: [PATCH] soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
On Mon, 18 Sept 2023 at 13:26, Fabio Estevam <festevam@...il.com> wrote:
>
> Hi Nathan,
>
> On Sun, Aug 13, 2023 at 10:57 PM Nathan Rossi <nathan@...hanrossi.com> wrote:
> >
> > From: Nathan Rossi <nathan.rossi@...i.com>
> >
> > Commit 836fb30949d9 ("soc: imx8m: Enable OCOTP clock before reading the
> > register") added configuration to enable the OCOTP clock before
> > attempting to read from the associated registers.
> >
> > This same kexec issue is present with the imx8m SoCs that use the
> > imx8mm_soc_uid function (e.g. imx8mp). This requires the imx8mm_soc_uid
> > function to configure the OCOTP clock before accessing the associated
> > registers. This change implements the same clock enable functionality
> > that is present in the imx8mq_soc_revision function for the
> > imx8mm_soc_uid function.
> >
> > Signed-off-by: Nathan Rossi <nathan.rossi@...i.com>
>
> Thanks for the fix:
>
> Reviewed-by: Fabio Estevam <festevam@...il.com>
>
> Should it also have a Fixes tag?
Potentially, though none of the previous commits (or their referenced
commits) attempted to resolve the issue for the imx8mm_soc_uid
function so I was not sure if a fixes would apply in this case or to
which commit? Though with that said this change would only need to be
applied to kernels that have applied the referenced commit, so that is
probably the ideal target for the fixes. I can send a v2 with the
Fixes included? Otherwise I have included the specific fixes commit
information below.
Fixes: 836fb30949d9 ("soc: imx8m: Enable OCOTP clock before reading
the register")
Thanks,
Nathan
Powered by blists - more mailing lists