]> git.itanic.dy.fi Git - linux-stable/commit
page_pool: disable dma mapping support for 32-bit arch with 64-bit DMA
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 13 Oct 2021 09:19:20 +0000 (17:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 09:54:20 +0000 (10:54 +0100)
commitd00e60ee54b12de945b8493cf18c1ada9e422514
tree6e26909b5980bd7e3231977d4ad2637d2d4896f2
parent40088915f547b52635f022c1e1e18df65ae3153a
page_pool: disable dma mapping support for 32-bit arch with 64-bit DMA

As the 32-bit arch with 64-bit DMA seems to rare those days,
and page pool might carry a lot of code and complexity for
systems that possibly.

So disable dma mapping support for such systems, if drivers
really want to work on such systems, they have to implement
their own DMA-mapping fallback tracking outside page_pool.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mm_types.h
include/net/page_pool.h
net/core/page_pool.c