* [PATCH v4 0/3]mmc: enable TRIM/ERASE caps for SDHCI host
@ 2011-02-12 6:22 Chuanxiao Dong
0 siblings, 0 replies; only message in thread
From: Chuanxiao Dong @ 2011-02-12 6:22 UTC (permalink / raw)
To: linux-mmc, cjb; +Cc: linux-kernel, akpm, adrian.hunter
Hi Chris,
These patches enable TRIM/ERASE capability for SDHCI host controller.
patch001: mmc: set max_discard_sectors value for mmc queue
Rightnow max_discard_sectors value for mmc queue is UINT_MAX which means
block layer can accept unlimited sectors to erase at one time. But this may
delay some other important I/O requests. So set a suitable value for
max_discard_sectors value by using 'pref_erase'
patch0002: mmc: enable TRIM/ERASE capability for SDHCI host.
ERASE command needs R1B response, so before sending command, SDHCI host
driver also need to set timeout control register for such command
patch0003: mmc: fix division by zero when calculate erase timeout
when enable clock gating feature, host clock may be zero when calculate erase
timeout value and this will cause division by zero bug.
Thanks
Chuanxiao
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-12 6:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 6:22 [PATCH v4 0/3]mmc: enable TRIM/ERASE caps for SDHCI host Chuanxiao Dong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox