Re: [PATCH] mmc: sdhci-of-dwcmshc: fix rpmb access

2021-01-11 Thread Ulf Hansson
On Tue, 29 Dec 2020 at 09:19, Jisheng Zhang wrote: > > Commit a44f7cb93732 ("mmc: core: use mrq->sbc when sending CMD23 for > RPMB") began to use ACMD23 for RPMB if the host supports ACMD23. In > RPMB ACM23 case, we need to set bit 31 to CMD23 argument, otherwise > RPMB write operation will

Re: [PATCH] mmc: sdhci-of-dwcmshc: fix rpmb access

2021-01-05 Thread Adrian Hunter
On 29/12/20 10:16 am, Jisheng Zhang wrote: > Commit a44f7cb93732 ("mmc: core: use mrq->sbc when sending CMD23 for > RPMB") began to use ACMD23 for RPMB if the host supports ACMD23. In > RPMB ACM23 case, we need to set bit 31 to CMD23 argument, otherwise > RPMB write operation will return general

[PATCH] mmc: sdhci-of-dwcmshc: fix rpmb access

2020-12-29 Thread Jisheng Zhang
Commit a44f7cb93732 ("mmc: core: use mrq->sbc when sending CMD23 for RPMB") began to use ACMD23 for RPMB if the host supports ACMD23. In RPMB ACM23 case, we need to set bit 31 to CMD23 argument, otherwise RPMB write operation will return general fail. However, no matter V4 is enabled or not, the