Skip to content
Commit f915b75b authored by Yunsheng Lin's avatar Yunsheng Lin Committed by David S. Miller
Browse files

page_pool: Revert "page_pool: disable dma mapping support..."

This reverts commit d00e60ee.

As reported by Guillaume in [1]:
Enabling LPAE always enables CONFIG_ARCH_DMA_ADDR_T_64BIT
in 32-bit systems, which breaks the bootup proceess when a
ethernet driver is using page pool with PP_FLAG_DMA_MAP flag.
As we were hoping we had no active consumers for such system
when we removed the dma mapping support, and LPAE seems like
a common feature for 32 bits system, so revert it.

1. https://www.spinics.net/lists/netdev/msg779890.html

Fixes: d00e60ee

 ("page_pool: disable dma mapping support for 32-bit arch with 64-bit DMA")
Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reported-by: default avatar"kernelci.org bot" <bot@kernelci.org>
Tested-by: default avatar"kernelci.org bot" <bot@kernelci.org>
Acked-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Acked-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a66998e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment