Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages

From: Masahiro Yamada
Date: Tue Aug 27 2019 - 03:46:01 EST


On Mon, Aug 26, 2019 at 4:33 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Mon, Aug 26, 2019 at 11:05:00AM +0900, Masahiro Yamada wrote:
> > This is included in v5.3-rc6
> > so I tested it.
>
> So there is no allocation failure, but you get I/O errors later?

Right.

>
> Does the device use a device-private CMA area?

Not sure.
My driver is drivers/mmc/host/sdhci-cadence.c
It reuses routines in drivers/mmc/host/sdhci.c



> Does it work with Linux
> 5.2 if CONFIG_DMA_CMA is disabled?

No.
5.2 + disable CONFIG_DMA_CMA
failed in the same way.




--
Best Regards
Masahiro Yamada