[Meego-kernel] [PATCH v2 0/3]mmc: set a suitable max_discard_sectors value for MFLD sdhci host controller
chuanxiao.dong at intel.com
Wed Dec 8 18:04:37 PST 2010
This is the version 2 patch which enable erase/trim feature for
MFLD sdhci host controller. This pach has been sent to upstreamed, not
This patch take MFLD SDHCI host controller cannot erase/trim the whole
device at one time as an architecture issue. So these patches add a
new quirk for MFLD sdhci host controller to workaround this. This code
will only impact the host controller which use this quirk.
The MFLD SDHCI host controller with this quirk will set the
max_discard_sectors value to be one erase block size which is safe for
host to erase at one time.
change-log: abandon the calculate method used in the version 1
patches. In this patch, add a quirk and simply set the
max_discard_sectors valut to one erase block size.
patch1: remove unused code in mmc block layer.
patch2: set max_discard_sectors value for host controller with
patch3: add ERASE cap and new quirk for MFLD SDHCI host controller
More information about the MeeGo-kernel