On 27 July 2016 at 14:25, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote: > To enable the rtsx_pci driver to support erase/discard/trim, it needs to manage > timeouts for R1B responses according to the expecations from the mmc core. Fix > this and then enable MMC_CAP_ERASE. > > Ulf Hansson (2): > mmc: rtsx_pci: Use the provided busy timeout from the mmc core > mmc: rtsx_pci: Enable MMC_CAP_ERASE to allow erase/discard/trim > requests > > drivers/mmc/host/rtsx_pci_sdmmc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > -- > 1.9.1 > Mauro, I have applied this for my next branch (based on 4.7), to allow it to be easily tested. Just clone my tree below and build/replace your kernel. git://git.linaro.org/people/ulf.hansson/mmc.git next Running fstrim and checking blkdiscard should be sufficient as test cases. Don't hesitate to ask if problems occurs! Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html