[PATCH] Fix folio conversion in __dma_page_dev_to_cpu()

Matthew Wilcox willy at infradead.org
Thu Aug 24 09:49:29 PDT 2023


On Thu, Aug 24, 2023 at 05:39:38PM +0100, Robin Murphy wrote:
> As for >2GB segments, we've certainly seen cases of users mapping absurdly
> large buffers and overflowing dma_length[2], so I would imagine it's only
> the improbability of allocating that much physically-contiguous memory which
> keeps individual segment lengths from getting up to UINT_MAX ;)

With a 32-bit kernel though?  ;-)




More information about the linux-arm-kernel mailing list