Micky Ching
c42deffd5b
mmc: rtsx: add support for pre_req and post_req
Add support for non-blocking request, pre_req() runs dma_map_sg() and
post_req() runs dma_unmap_sg(). This patch can increase card read/write
speed, especially for high speed card and slow CPU(for some embedded
platform).
Users can get a great benefit from this patch. if CPU frequency is 800MHz,
SDR104 or DDR50 card read/write speed may increase more than 15%.
test results:
intel i3(800MHz - 2.3GHz), SD card clock 208MHz
performance mode(2.3GHz):
Before:
dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
67108864 bytes (67 MB) copied, 1.18191 s, 56.8 MB/s
After:
dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
67108864 bytes (67 MB) copied, 1.09276 s, 61.4 MB/s
powersave mode(800MHz):
Before:
dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
67108864 bytes (67 MB) copied, 1.29569 s, 51.8 MB/s
After:
dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
67108864 bytes (67 MB) copied, 1.11218 s, 60.3 MB/s
Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Chris Ball <chris@printf.net>
2014-02-22 13:34:20 -05:00
..
2014-01-21 08:27:42 +00:00
2014-01-21 10:26:23 -08:00
2013-10-23 16:20:32 +01:00
2013-08-20 03:16:00 +02:00
2013-12-18 17:25:26 +00:00
2013-12-08 17:23:18 -08:00
2013-03-12 09:29:20 +01:00
2013-10-23 16:20:41 +01:00
2013-06-18 09:41:12 +02:00
2013-04-16 17:34:36 -07:00
2014-01-25 13:19:10 -08:00
2013-11-15 16:37:40 -08:00
2013-04-05 11:20:13 +02:00
2013-04-05 11:20:13 +02:00
2013-09-02 10:27:49 +02:00
2013-04-08 13:57:53 +02:00
2013-09-26 11:04:12 +02:00
2013-06-24 13:48:22 +02:00
2014-01-21 08:27:59 +00:00
2013-02-27 19:10:09 -08:00
2014-01-21 08:28:12 +00:00
2014-01-21 08:28:12 +00:00
2013-06-30 23:30:04 +02:00
2014-01-21 08:13:36 +00:00
2014-01-21 08:13:36 +00:00
2014-01-21 08:28:12 +00:00
2013-10-23 16:21:26 +01:00
2013-10-23 16:21:26 +01:00
2014-01-28 18:53:01 -08:00
2013-07-31 02:04:47 +02:00
2013-09-07 20:14:19 -07:00
2013-04-19 00:45:20 +02:00
2014-02-22 13:34:20 -05:00
2014-02-22 13:34:20 -05:00
2013-10-14 15:31:06 +02:00
2013-04-19 18:38:13 +02:00
2013-04-19 18:38:13 +02:00
2013-04-09 14:15:58 +02:00
2013-10-23 16:21:12 +01:00
2013-10-23 16:22:35 +01:00
2014-01-07 08:45:00 +00:00
2014-01-13 12:48:24 -05:00
2013-07-01 11:38:41 -07:00
2014-01-21 08:28:01 +00:00
2013-05-05 17:36:20 -07:00
2013-08-30 15:26:03 +01:00
2013-12-30 11:48:43 +00:00
2013-03-12 09:25:50 +01:00
2013-09-02 10:31:08 +02:00
2013-07-31 02:04:52 +02:00