diff options
| author | 2019-02-13 02:55:50 +0100 | |
|---|---|---|
| committer | 2019-02-13 22:00:16 -0800 | |
| commit | 13f16d9d4ab7fccc918aafb146ea043be9574d49 (patch) | |
| tree | 148c75447c7e21ea390e5cd357304d8c76c86fb0 /lib/objagg.c | |
| parent | net: page_pool: don't use page->private to store dma_addr_t (diff) | |
| download | linux-dev-13f16d9d4ab7fccc918aafb146ea043be9574d49.tar.xz linux-dev-13f16d9d4ab7fccc918aafb146ea043be9574d49.zip | |
page_pool: use DMA_ATTR_SKIP_CPU_SYNC for DMA mappings
As pointed out by Alexander Duyck, the DMA mapping done in page_pool needs
to use the DMA attribute DMA_ATTR_SKIP_CPU_SYNC.
As the principle behind page_pool keeping the pages mapped is that the
driver takes over the DMA-sync steps.
Reported-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/objagg.c')
0 files changed, 0 insertions, 0 deletions
