[PATCH 00/15] mmc: bcm2835: second cleanup for sdhost driver

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:39 PST 2017


Hi Gerd,

here is the promised second cleanup round for the sdhost driver on
bcm2835. Except of patch #3 these are more non-functional changes.
Please squash them in your repo.

Now the performance results after applying your and my patch series:

Raspberry Pi Zero (sdhost)

dd if=/dev/zero conv=fdatasync of=test bs=8k count=10000
81920000 Bytes (82 MB) kopiert, 10,1876 s, 8,0 MB/s

sudo dd if=/dev/mmcblk0p1 of=/dev/null
66060288 Bytes (66 MB) kopiert, 3,22292 s, 20,5 MB/s

Raspberry Pi Zero (sdhci)

dd if=/dev/zero conv=fdatasync of=test bs=8k count=10000
81920000 Bytes (82 MB) kopiert, 10,0861 s, 8,1 MB/s

sudo dd if=/dev/mmcblk0p1 of=/dev/null
62914560 Bytes (63 MB) kopiert, 4,73651 s, 13,3 MB/s


Raspberry Pi Compute Module (sdhost)

dd if=/dev/zero conv=fdatasync of=test bs=8k count=10000
81920000 Bytes (82 MB) kopiert, 5,93779 s, 13,8 MB/s

sudo dd if=/dev/mmcblk0p1 of=/dev/null
66060288 Bytes (66 MB) kopiert, 2,9505 s, 22,4 MB/s

Raspberry Pi Compute Module (sdhci)

dd if=/dev/zero conv=fdatasync of=test bs=8k count=10000
81920000 Bytes (82 MB) kopiert, 6,64242 s, 12,3 MB/s

sudo dd if=/dev/mmcblk0p1 of=/dev/null
66060288 Bytes (66 MB) kopiert, 4,87494 s, 13,6 MB/s

Stefan Wahren (15):
  mmc: bcm2835: Add missing include for threaded irq
  mmc: bcm2835: Remove CMD_DALLY_US
  mmc: bcm2835: Fix pio_timeout handling
  mmc: bcm2835: Remove unnecessary return in bcm2835_data_irq
  mmc: bcm2835: Handle error cases during probe
  mmc: bcm2835: Print clk_max as decimal
  mmc: bcm2835: Downrate message in case of PIO fallback
  mmc: bcm2835: Don't unveil the data pointer
  mmc: bcm2835: remove unused host members
  mmc: bcm2835: Avoid unnecessary linebreaks
  mmc: bcm2835: Add leading zero to register dumps
  mmc: bcm2835: Align struct members with tabs
  mmc: bcm2835: Rearrange bcm2835_finish_request()
  mmc: bcm2835: Rearrange bcm2835_dma_complete_work()
  mmc: bcm2835: Rename Kconfig switch

 drivers/mmc/host/Kconfig   |    2 +-
 drivers/mmc/host/bcm2835.c |  244 +++++++++++++++++++++-----------------------
 2 files changed, 116 insertions(+), 130 deletions(-)

-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list