Re: [PATCH 2/2] mmc: erase: Use TRIM erase when available

2023-01-25 Thread Simon Glass
Hi Loic, On Wed, 25 Jan 2023 at 10:31, Loic Poulain wrote: > > The default erase command applies on erase group unit, and > simply round down to erase group size. When the start block > is not aligned to erase group size (e.g. erasing partition) > it causes unwanted erasing of the previous blocks

[PATCH 2/2] mmc: erase: Use TRIM erase when available

2023-01-25 Thread Loic Poulain
The default erase command applies on erase group unit, and simply round down to erase group size. When the start block is not aligned to erase group size (e.g. erasing partition) it causes unwanted erasing of the previous blocks, part of the same erase group (e.g. owned by other logical partition,