aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2020-07-08 16:49:39 +0000
committerChristoph Hellwig <[email protected]>2020-07-14 13:46:32 +0000
commitd9765e41d8e9ea2251bf73735a2895c8bad546fc (patch)
treefad971ec351934779672b6a068a42c5581a575c4 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentdma-pool: make sure atomic pool suits device (diff)
downloadkernel-d9765e41d8e9ea2251bf73735a2895c8bad546fc.tar.gz
kernel-d9765e41d8e9ea2251bf73735a2895c8bad546fc.zip
dma-pool: do not allocate pool memory from CMA
There is no guarantee to CMA's placement, so allocating a zone specific atomic pool from CMA might return memory from a completely different memory zone. So stop using it. Fixes: c84dc6e68a1d ("dma-pool: add additional coherent pools to map to gfp mask") Reported-by: Jeremy Linton <[email protected]> Signed-off-by: Nicolas Saenz Julienne <[email protected]> Tested-by: Jeremy Linton <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions