Re: [PATCH v2] mmc: dwcmshc_bf3_hw_reset: Log eMMC reset calls

Ulf Hansson <[email protected]> Fri, 10 Jul 2026 15:21:10 +0200
Newsgroups org.kernel.vger.linux-mmc,org.kernel.vger.linux-kernel
Message-ID <CAPx+jO8d4QXo1tW4W6HU3w8aGUWOdT05kAg=Y-N964m3ONPf8g@mail.gmail.com>
On Mon, Jul 6, 2026 at 2:34 PM Satyansh Shukla
<[email protected]> wrote:
>
> Log when the BlueField-3 eMMC hardware reset path is invoked.
>
> This makes it easier to diagnose cases where the controller recovery path
> depends on issuing an eMMC reset, and helps confirm that the reset sequence
> was attempted on affected systems.
>
> Signed-off-by: Satyansh Shukla <[email protected]>

Applied for next and by amending the prefix of the commit message, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index eef53455b8ee..a01668b66e7d 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -2013,6 +2013,7 @@ static void dwcmshc_bf3_hw_reset(struct sdhci_host *host)
>  {
>         struct arm_smccc_res res = { 0 };
>
> +       pr_debug("%s: resetting...\n", __func__);
>         arm_smccc_smc(BLUEFIELD_SMC_SET_EMMC_RST_N, 0, 0, 0, 0, 0, 0, 0, &res);
>
>         if (res.a0)
> --
> 2.43.7
>