Re: [PATCH 17/17] mmc: pass queue_limits to blk_mq_alloc_disk

Jon Hunter
2024-06-27T09:59:08Z

On 27/06/2024 10:49, Christoph Hellwig wrote:
> On Thu, Jun 27, 2024 at 10:43:24AM +0100, Jon Hunter wrote:
>> We have just noticed that since Linux v6.9 was released, that if we
>> build the kernel with 64kB MMU pages, then we see the following WARNING
>> and probe failure ...
>
> The old code upgraded the limits to the PAGE_SIZE for this case after
> issunig a warning. Your driver probably incorrectly advertised the
> lower max_segment_size. Try setting it to 64k. I would have sent you
> a patch for that, but I can't see what mmc host driver you are using.

We are using the sdhci-tegra.c driver. I don't see it set in there, but
I see references to max_seg_size in the main sdhci.c driver.

Thanks,
Jon

--
nvpublic