On Wed, 30 Nov 2022 at 13:46, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote: > > On 30/11/22 13:54, Robert Marko wrote: > > > > On 28. 11. 2022. 14:32, Adrian Hunter wrote: > >> Avoid re-configuring UHS and preset settings when the settings have not > >> changed, irrespective of whether the clock is turning on. > >> > >> Tested-by: Haibo Chen <haibo.chen@xxxxxxx> > >> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> > > > > Hi, this is breaking sdhci-msm on IPQ8074 in next-20221130 for me > > and reverting it makes the eMMC work again. > > > > I get a lot of: > > > > [ 2.727287] mmc0: tuning execution failed: -5 > > [ 2.727323] mmc0: error -5 whilst initialising MMC card > > [ 3.846540] mmc0: tuning execution failed: -5 > > [ 3.846564] mmc0: error -5 whilst initialising MMC card > > [ 4.966517] mmc0: tuning execution failed: -5 > > [ 4.966539] mmc0: error -5 whilst initialising MMC card > > [ 6.096486] mmc0: tuning execution failed: -5 > > [ 6.096508] mmc0: error -5 whilst initialising MMC card > > [ 7.206431] mmc0: tuning execution failed: -5 > > [ 7.206454] mmc0: error -5 whilst initialising MMC card > > Thanks for the report! Are you able to debug this any more? > What transfer mode is it? e.g. HS400? Can you enable debug > messages and get more information? With some guidance yes, it's in HS200 as there is an issue with HS400 to HS200 switch on this SoC so I have HS400 disabled. With CONFIG_MMC_DEBUG and loglevel=8 I dont have any new messages. Regards, Robert >