mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
mmc: sdhci-of-dwcmshc: Log eMMC reset calls
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@oracle.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
This commit is contained in:
parent
5253aee00a
commit
ba1da04104
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user