mbox series

[v2,0/2] mmc: renesas_internal_dmac: add pre_req and post_req support

Message ID 1608114572-1892-1-git-send-email-yoshihiro.shimoda.uh@renesas.com
Headers show
Series mmc: renesas_internal_dmac: add pre_req and post_req support | expand

Message

Yoshihiro Shimoda Dec. 16, 2020, 10:29 a.m. UTC
To improve performance, add pre_req and post_req support into
renesas_internal_dmac. Note that the patch [1/2] is a bug fix patch.

Changes from v1:
 - Add a bug fix patch for hardware limitation in patch 1.
 - Remove a redundant argument in the unmap function in patch 2.
 - Describe the reason why we should not use host->sg_ptr in patch 2.
 - Rename argument of struct mmc_request from req to mrq in patch 2.

Takeshi Saito (1):
  mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to
    128-bytes

Yoshihiro Shimoda (1):
  mmc: renesas_internal_dmac: add pre_req and post_req support

 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 91 ++++++++++++++++++++++++---
 1 file changed, 83 insertions(+), 8 deletions(-)

Comments

Wolfram Sang Dec. 17, 2020, 7:09 a.m. UTC | #1
On Wed, Dec 16, 2020 at 07:29:31PM +0900, Yoshihiro Shimoda wrote:
> From: Takeshi Saito <takeshi.saito.xv@renesas.com>

> 

> According to the latest datasheet, the internal DMAC buffer alignment

> R-Car Gen3 SDHI HW should be 128-bytes. So, fix it.

> 

> Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>

> [shimoda: revise commit description, rebase]

> Fixes: 2a68ea7896e3 ("mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC")

> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>


Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Ulf Hansson Jan. 13, 2021, 11:24 a.m. UTC | #2
On Wed, 16 Dec 2020 at 11:29, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
>

> To improve performance, add pre_req and post_req support into

> renesas_internal_dmac. Note that the patch [1/2] is a bug fix patch.

>

> Changes from v1:

>  - Add a bug fix patch for hardware limitation in patch 1.

>  - Remove a redundant argument in the unmap function in patch 2.

>  - Describe the reason why we should not use host->sg_ptr in patch 2.

>  - Rename argument of struct mmc_request from req to mrq in patch 2.

>

> Takeshi Saito (1):

>   mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to

>     128-bytes

>

> Yoshihiro Shimoda (1):

>   mmc: renesas_internal_dmac: add pre_req and post_req support

>

>  drivers/mmc/host/renesas_sdhi_internal_dmac.c | 91 ++++++++++++++++++++++++---

>  1 file changed, 83 insertions(+), 8 deletions(-)

>


Applied for next, thanks!

Kind regards
Uffe