Message ID | 20240215161613.1736051-1-enachman@marvell.com (mailing list archive) |
---|---|
Headers | show |
Series | Fix PHY init timeout issues | expand |
On Thu, 15 Feb 2024 at 17:16, Elad Nachman <enachman@marvell.com> wrote: > > From: Elad Nachman <enachman@marvell.com> > > Fix PHY init timeout issues: > > 1. Clock Stability issue causing PHY timeout > > 2. Timeout taking longer than needed on AC5X. > Solve by constantly testing the PHY init bit > until it toggles, but up to 100X timeout factor. > > v2: > 1) convert polling loop to read_poll_timeout() > for both patches. > > Elad Nachman (2): > mmc: xenon: fix PHY init clock stability > mmc: xenon: add timeout for PHY init complete > > drivers/mmc/host/sdhci-xenon-phy.c | 48 ++++++++++++++++++++++++------ > 1 file changed, 39 insertions(+), 9 deletions(-) > The series looks good to me. Although, I assume we should tag this for stable kernels too and possibly add a fixes tag? Moreover, it would be nice to get an ack from Hu Ziji. Kind regards Uffe
> -----Original Message----- > From: Ulf Hansson <ulf.hansson@linaro.org> > Sent: Thursday, February 15, 2024 6:51 PM > To: Elad Nachman <enachman@marvell.com> > Cc: huziji@marvell.com; adrian.hunter@intel.com; linux- > mmc@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [EXT] Re: [PATCH v2 0/2] Fix PHY init timeout issues > > External Email > > ---------------------------------------------------------------------- > On Thu, 15 Feb 2024 at 17:16, Elad Nachman <enachman@marvell.com> > wrote: > > > > From: Elad Nachman <enachman@marvell.com> > > > > Fix PHY init timeout issues: > > > > 1. Clock Stability issue causing PHY timeout > > > > 2. Timeout taking longer than needed on AC5X. > > Solve by constantly testing the PHY init bit > > until it toggles, but up to 100X timeout factor. > > > > v2: > > 1) convert polling loop to read_poll_timeout() > > for both patches. > > > > Elad Nachman (2): > > mmc: xenon: fix PHY init clock stability > > mmc: xenon: add timeout for PHY init complete > > > > drivers/mmc/host/sdhci-xenon-phy.c | 48 > > ++++++++++++++++++++++++------ > > 1 file changed, 39 insertions(+), 9 deletions(-) > > > > The series looks good to me. Although, I assume we should tag this for stable > kernels too and possibly add a fixes tag? No problem. > > Moreover, it would be nice to get an ack from Hu Ziji. He does not longer work with Marvell, so this email is invalid, I tried also to send an e-mail manually as well and got: huziji@marvell.com Remote Server returned '550 5.1.1 RESOLVER.ADR.RecipNotFound; not found' Could not locate him via google search either. > > Kind regards > Uffe
On 15/02/24 19:01, Elad Nachman wrote: > > >> -----Original Message----- >> From: Ulf Hansson <ulf.hansson@linaro.org> >> Sent: Thursday, February 15, 2024 6:51 PM >> To: Elad Nachman <enachman@marvell.com> >> Cc: huziji@marvell.com; adrian.hunter@intel.com; linux- >> mmc@vger.kernel.org; linux-kernel@vger.kernel.org >> Subject: [EXT] Re: [PATCH v2 0/2] Fix PHY init timeout issues >> >> External Email >> >> ---------------------------------------------------------------------- >> On Thu, 15 Feb 2024 at 17:16, Elad Nachman <enachman@marvell.com> >> wrote: >>> >>> From: Elad Nachman <enachman@marvell.com> >>> >>> Fix PHY init timeout issues: >>> >>> 1. Clock Stability issue causing PHY timeout >>> >>> 2. Timeout taking longer than needed on AC5X. >>> Solve by constantly testing the PHY init bit >>> until it toggles, but up to 100X timeout factor. >>> >>> v2: >>> 1) convert polling loop to read_poll_timeout() >>> for both patches. >>> >>> Elad Nachman (2): >>> mmc: xenon: fix PHY init clock stability >>> mmc: xenon: add timeout for PHY init complete >>> >>> drivers/mmc/host/sdhci-xenon-phy.c | 48 >>> ++++++++++++++++++++++++------ >>> 1 file changed, 39 insertions(+), 9 deletions(-) >>> >> >> The series looks good to me. Although, I assume we should tag this for stable >> kernels too and possibly add a fixes tag? > > No problem. Presumably: Fixes: 06c8b667ff5b ("mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC") FWIW: Acked-by: Adrian Hunter <adrian.hunter@intel.com> > >> >> Moreover, it would be nice to get an ack from Hu Ziji. > > He does not longer work with Marvell, so this email is invalid, I tried also to send an e-mail manually as well and got: > huziji@marvell.com > Remote Server returned '550 5.1.1 RESOLVER.ADR.RecipNotFound; not found' > > Could not locate him via google search either. > >> >> Kind regards >> Uffe
From: Elad Nachman <enachman@marvell.com> Fix PHY init timeout issues: 1. Clock Stability issue causing PHY timeout 2. Timeout taking longer than needed on AC5X. Solve by constantly testing the PHY init bit until it toggles, but up to 100X timeout factor. v2: 1) convert polling loop to read_poll_timeout() for both patches. Elad Nachman (2): mmc: xenon: fix PHY init clock stability mmc: xenon: add timeout for PHY init complete drivers/mmc/host/sdhci-xenon-phy.c | 48 ++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 9 deletions(-)