mbox series

[v1,0/1] UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC

Message ID cover.1720719340.git.limings@nvidia.com
Headers show
Series UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC | expand

Message

Liming Sun July 11, 2024, 5:48 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2072786

SRU Justification:

[Impact]
This is an enhancement to enable the hw_reset() support in the
sdhci-of-dwcmshc driver for BlueField-3.

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

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

[Regression Potential]
Same behavior from user perspective.

Liming Sun (1):
  UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add
    hw_reset() support for BlueField-3 SoC

 drivers/mmc/host/sdhci-of-dwcmshc.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

Comments

Bartlomiej Zolnierkiewicz July 12, 2024, 9:42 a.m. UTC | #1
On Thu, Jul 11, 2024 at 7:49 PM Liming Sun <limings@nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2072786
>
> SRU Justification:
>
> [Impact]
> This is an enhancement to enable the hw_reset() support in the
> sdhci-of-dwcmshc driver for BlueField-3.
>
> [Fix]
> BLueField eMMC RST_N register is implemented as secure, thus the
> default hw_reset() implementation won't work. This patch provides
> BlueField specific hw_reset() which send SMC call to ATF to update
> the same RST_N register.
>
> [Test Case]
> Same functionality and testing as on BlueField-3.
>
> [Regression Potential]
> Same behavior from user perspective.
>
> Liming Sun (1):
>   UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add
>     hw_reset() support for BlueField-3 SoC
>
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)

The email subject should be "[SRU][J:linux-bluefield] UBUNTU: SAUCE:
mmc:sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC" (to
make "git am" construct the correct commit title) but this can be
corrected while applying.

Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>

--
Best regards,
Bartlomiej
Manuel Diewald July 12, 2024, 11:56 a.m. UTC | #2
On Thu, Jul 11, 2024 at 01:48:04PM -0400, Liming Sun wrote:
> BugLink: https://bugs.launchpad.net/bugs/2072786
> 
> SRU Justification:
> 
> [Impact]
> This is an enhancement to enable the hw_reset() support in the
> sdhci-of-dwcmshc driver for BlueField-3.
> 
> [Fix]
> BLueField eMMC RST_N register is implemented as secure, thus the
> default hw_reset() implementation won't work. This patch provides
> BlueField specific hw_reset() which send SMC call to ATF to update
> the same RST_N register.
> 
> [Test Case]
> Same functionality and testing as on BlueField-3.
> 
> [Regression Potential]
> Same behavior from user perspective.
> 
> Liming Sun (1):
>   UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add
>     hw_reset() support for BlueField-3 SoC
> 
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)
> 
> -- 
> 2.30.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Bartlomiej Zolnierkiewicz July 16, 2024, 10:48 a.m. UTC | #3
On Thu, Jul 11, 2024 at 7:49 PM Liming Sun <limings@nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2072786
>
> SRU Justification:
>
> [Impact]
> This is an enhancement to enable the hw_reset() support in the
> sdhci-of-dwcmshc driver for BlueField-3.
>
> [Fix]
> BLueField eMMC RST_N register is implemented as secure, thus the
> default hw_reset() implementation won't work. This patch provides
> BlueField specific hw_reset() which send SMC call to ATF to update
> the same RST_N register.
>
> [Test Case]
> Same functionality and testing as on BlueField-3.
>
> [Regression Potential]
> Same behavior from user perspective.
>
> Liming Sun (1):
>   UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add
>     hw_reset() support for BlueField-3 SoC
>
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)

Applied to jammy:linux-bluefield/master-next. Thanks.

--
Best regards,
Bartlomiej