[PATCH v2 0/5] rockchip: Fix eMMC performance regression

Jonas Karlman jonas at kwiboo.se
Wed May 17 20:40:36 CEST 2023


The eMMC performance on RK3399 was reduced sigificant by the
commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read
in a single command").

That workaround should only have been applied to RK3568 and RK3588.
This series fixes that and also help boost eMMC performance on two
RK3399 boards even more by enabling use of SDMA.

There is also an extra commit to help build a u-boot-rockchip-spi.bin
image that can be used for SPI flash boot on RockPro64.

Changes in v2:
- Rebase on top of defconfig and spi v2 series
- Collect r-b and t-b tags

Jonas Karlman (5):
  mmc: rockchip_sdhci: Skip blocks read workaround on RK3399
  mmc: rockchip_sdhci: Disable DMA mode using a device tree property
  rockchip: rockpro64: Use SDMA to boost eMMC performance
  rockchip: rock-pi-4: Use SDMA to boost eMMC performance
  rockchip: rockpro64: Build u-boot-rockchip-spi.bin

 arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi |  6 ++++++
 arch/arm/dts/rk3399-rockpro64-u-boot.dtsi |  5 +++++
 arch/arm/dts/rk3399-u-boot.dtsi           |  1 +
 arch/arm/dts/rk3588s-u-boot.dtsi          |  1 +
 configs/rock-pi-4-rk3399_defconfig        |  2 ++
 configs/rock5b-rk3588_defconfig           |  1 -
 configs/rockpro64-rk3399_defconfig        |  5 +++++
 drivers/mmc/rockchip_sdhci.c              | 12 +++++++++++-
 8 files changed, 31 insertions(+), 2 deletions(-)

-- 
2.40.1



More information about the U-Boot mailing list