From patchwork Tue Mar 24 22:58:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 244226 List-Id: U-Boot discussion From: jh80.chung at samsung.com (Jaehoon Chung) Date: Wed, 25 Mar 2020 07:58:56 +0900 Subject: [PATCH v3 0/3] Support SDMA mode on RPI4 target - 32bit References: Message-ID: <20200324225859.8462-1-jh80.chung@samsung.com> 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 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 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_32b_defconfig: enable SDHCI_SDMA config configs/rpi_4_32b_defconfig | 1 + drivers/mmc/sdhci.c | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-)