Support SDMA mode on RPI4 target - 32bit
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest1 of 3 patches 0 repliesNew
- v32 of 3 patches 0 repliesSuperseded
1 of 3 patches is in this archive. The cover letter announces 3.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/3 | configs: rpi_4 : enable SDHCI_SDMA config | +0 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [Patch V4 0/3] Support SDMA mode on RPI4 target - 32bit
Quoted 4 lines · Jaehoon Chung
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
Quoted 43 lines
Read/write time about 8MB file
Before
- Read : 1.472 seconds
- Write : 4.690 seconds
After
- Read : 0.359 seconds
- Write : 0.574 secondsThis 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 secondsChangelog on V4
- Enable SDMA inrpi4_defconfigfor 64bitChangelog on V3
- Rebased on latest u-boot-mmcChangelog on V2
- Keep printf message instead of debug
- Add Peng's Reviewed-by tagJaehoon 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: enableSDHCI_SDMAconfigconfigs/rpi_4_32b_defconfig | 1 + configs/rpi_4_defconfig | 1 + drivers/mmc/sdhci.c | 13 +++++++------ 3 files changed, 9 insertions(+), 6 deletions(-)