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

Liming Sun limings at nvidia.com
Sat Nov 23 23:25:40 UTC 2024


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

SRU Justification:

[Impact]
This is a cherry-pick fix from jammy branch below to support
BlueField-2 eMMC HW reset.
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2072675

[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):
  mmc: dw_mmc: Add support for platform specific eMMC HW reset
  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(-)

-- 
1.8.3.1




More information about the kernel-team mailing list