I am using P5040 (eSDHC vendor version is 0x13)and linux 3.4 for our project. When I test the TRIM feature, I got the following:
fstrim: /mnt/mymmc/: FITRIM ioctl failed: Operation not supported
But, I am using a Micron eMMC 4.41 chip, I believe that it supports TRIM. Since kernel upgrade is not an option for our project, just wonder if there is any simple patch I can apply to enable my eMMC trim.
Thanks for helping me out.