public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matthias Brugger <mbrugger@suse.com>
To: u-boot@lists.denx.de
Subject: [Patch V4 0/3] Support SDMA mode on RPI4 target - 32bit
Date: Tue, 12 May 2020 12:11:08 +0200	[thread overview]
Message-ID: <b9ddcb66-29d9-e9e7-6554-e5300cfae548@suse.com> (raw)
In-Reply-To: <20200327040802.30103-1-jh80.chung@samsung.com>



On 27/03/2020 05:07, Jaehoon Chung wrote:
> RPI4's SDHCI controller is supported SDMA mode. (Checked on kernel side)
> But It doesn't use on u-boot side. Then it's too slow about read/write performance.
> This patchset is supported SDMA mode on RPI4 target(32/64bit).
> - Tested on RPI4 1GB/2GB/4GB target

Whole series queued for v2020.07

Thanks a lot!
Matthias

> 
> Read/write time about 8MB file
> Before
> - Read : 1.472 seconds
> - Write : 4.690 seconds
> After
> - Read : 0.359 seconds
> - Write : 0.574 seconds
> 
> This patch is based on my RFC's patches.RPI4's SDHCI controller is supported SDMA mode. (Checked on kernel side)
> But It doesn't use on u-boot side. Then it's too slow about read/write performance.
> This patchset is supported SDMA mode on RPI4 target(32bit).
> - I didn't test on RPI4 64bit.
> 
> Read/write time about 8MB file
> Before
> - Read : 1.472 seconds
> - Write : 4.690 seconds
> After
> - Read : 0.359 seconds
> - Write : 0.574 seconds
> 
> Changelog on V4
> - Enable SDMA in rpi4_defconfig for 64bit
> 
> Changelog on V3
> - Rebased on latest u-boot-mmc
> 
> Changelog on V2
> - Keep printf message instead of debug
> - Add Peng's Reviewed-by tag
> 
> 
> Jaehoon Chung (3):
>   mmc: sdhci: use phys2bus macro when dma address is accessed
>   mmc: sdhci: not return error when SDMA is not supported
>   configs: rpi_4 : enable SDHCI_SDMA config
> 
>  configs/rpi_4_32b_defconfig |  1 +
>  configs/rpi_4_defconfig     |  1 +
>  drivers/mmc/sdhci.c         | 13 +++++++------
>  3 files changed, 9 insertions(+), 6 deletions(-)
> 

      parent reply	other threads:[~2020-05-12 10:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20200327040752epcas1p29dd8b762c2f32c65d420d2e0bd796b3a@epcas1p2.samsung.com>
2020-03-27  4:07 ` [Patch V4 0/3] Support SDMA mode on RPI4 target - 32bit Jaehoon Chung
2020-03-27  4:08   ` [Patch V4 1/3] mmc: sdhci: use phys2bus macro when dma address is accessed Jaehoon Chung
2020-03-27  4:08   ` [Patch V4 2/3] mmc: sdhci: not return error when SDMA is not supported Jaehoon Chung
2020-03-27  4:08   ` [Patch V4 3/3] configs: rpi_4 : enable SDHCI_SDMA config Jaehoon Chung
2020-03-27 13:12     ` Matthias Brugger
2020-03-30  4:19       ` Jaehoon Chung
2020-04-20  7:18         ` Jaehoon Chung
2020-04-29  8:14       ` Marek Szyprowski
2020-05-12 10:11   ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9ddcb66-29d9-e9e7-6554-e5300cfae548@suse.com \
    --to=mbrugger@suse.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox