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

From: Ulf Hansson

Date: Fri Jul 10 2026 - 09:21:51 EST


On Mon, Jul 6, 2026 at 2:34 PM Satyansh Shukla
<satyansh.shukla@xxxxxxxxxx> 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 <satyansh.shukla@xxxxxxxxxx>

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
>