From: Jesper Dangaard Brouer <[email protected]> Date: Fri, 07 Dec 2018 00:25:32 +0100
> From: Ilias Apalodimas <[email protected]> > > Add helper functions for retreiving dma_addr_t stored in page_private and > unmapping dma addresses, mapped via the page_pool API. > > Signed-off-by: Ilias Apalodimas <[email protected]> > Signed-off-by: Jesper Dangaard Brouer <[email protected]> This isn't going to work on 32-bit platforms where dma_addr_t is a u64, because the page private is unsigned long. Grep for PHY_ADDR_T_64BIT under arch/ to see the vast majority of the cases where this happens, then ARCH_DMA_ADDR_T_64BIT.
