]> git.baikalelectronics.ru Git - kernel.git/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)
commit804efe94201e2adc7bd424018ac419f6809bbfa3
tree6e26909b5980bd7e3231977d4ad2637d2d4896f2
parentd327e64dced85dfa67570eb85d27e6c8161b69ea
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