[PATCH v1 0/2] [SRU][J:linux-bluefield] mmc: dw_mmc-bluefield:

Liming Sun limings at nvidia.com
Wed Jul 10 20:26:43 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2072675

SRU Justification:

[Impact]
This is a cherry-pick fix from mmc upstream branch below to support
BF2 eMMC HW reset.
https://kernel.googlesource.com/pub/scm/linux/kernel/git/ulfh/mmc

[Fix]
BlueField-2 eMMC RST_N register is implemented as secure, thus the
default hw_reset() implementation won't work. This patch provides
platform specific hw_reset() which sends SMC call to ATF to update
the same RST_N register.

[Test Case]
Same functionality and testing as on BlueField-2 SoC.

[Regression Potential]
Same behavior from user perspective.

Liming Sun (2):
  [SRU][J:linux-bluefield] mmc: dw_mmc: Add support for platform
    specific eMMC HW reset
  [SRU][J:linux-bluefield] mmc: dw_mmc-bluefield: Add support for eMMC
    HW reset

 drivers/mmc/host/dw_mmc-bluefield.c | 18 +++++++++++++++++-
 drivers/mmc/host/dw_mmc.c           |  6 ++++++
 drivers/mmc/host/dw_mmc.h           |  2 ++
 3 files changed, 25 insertions(+), 1 deletion(-)

-- 
2.30.1




More information about the kernel-team mailing list