commit | f7b6fc327327698924ef3afa0c3e87a5b7466af3 | [log] [tgz] |
---|---|---|
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | Fri Apr 29 17:21:18 2022 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue May 10 12:51:32 2022 +0200 |
tree | 6aa61b8fbeea6dfaa3a3f1270bb3df23e81e1fd5 | |
parent | 0c9ee5ba7555016afd1efc9598c3f83de5d83470 [diff] |
mmc: core: Support zeroout using TRIM for eMMC If an eMMC card supports TRIM and indicates that it erases to zeros, we can use it to support hardware offloading of REQ_OP_WRITE_ZEROES, so let's add support for this. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Reviewed-by: Avri Altman <Avri.Altman@wdc.com> Link: https://lore.kernel.org/r/20220429152118.3617303-1-vincent.whitchurch@axis.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>