On 1/1/25 5:56 PM, Ming Lei wrote:
In RH lab, it has been found that max segment size of some mmc card is
less than 64K, then this kind of card can't work in case of 64K PAGE_SIZE.
That means that that MMC card is incompatible with the 64K page size.
Additionally, this patch looks wrong to me. There are good reasons why
the block layer requires that the DMA segment size is at least as large
as the page size.
You may want to take a look at this rejected patch series:
Bart Van Assche, "PATCH v6 0/8] Support limits below the page size",
June 2023
(https://lore.kernel.org/linux-block/20230612203314.17820-1-bvanassche@xxxxxxx/).
Bart.