]> 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)
commitd80f2c6e496609348b04b488e28c3c263ce732c6
tree6e26909b5980bd7e3231977d4ad2637d2d4896f2
parentb020f9116ecb196c5512976ffe29edabb8dc2ca8
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