Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/sys/arch



Module Name:    src
Committed By:   snj
Date:           Thu Apr 23 20:00:09 UTC 2015

Modified Files:
        src/sys/arch/arm/amlogic [netbsd-7]: amlogic_sdhc.c
        src/sys/arch/evbarm/conf [netbsd-7]: ODROID-C1

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #714):
        sys/arch/arm/amlogic/amlogic_sdhc.c: revisions 1.4-1.6
        sys/arch/evbarm/conf/ODROID-C1: revision 1.17
port number is required
--
The Amlogic SDHC controller doesn't support SG DMA. When we advertise
DMA but not SG DMA support, the sdmmc layer breaks up transfers into
multiple PAGE_SIZE (8KB here) transfers.

Remove the DMA capability flag and do transfers through a MAXPHYS-sized
buffer instead. This lets us do larger transfers and even with the memcpy,
still a significant win for performance.

Before: 134217728 bytes transferred in 15.301 secs (8771827 bytes/sec)
After:  134217728 bytes transferred in 8.834 secs (15193313 bytes/sec)
--
fix size of dmamem map


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/sys/arch/arm/amlogic/amlogic_sdhc.c
cvs rdiff -u -r1.12.2.4 -r1.12.2.5 src/sys/arch/evbarm/conf/ODROID-C1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index