aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2020-07-14 12:39:28 +0000
committerChristoph Hellwig <[email protected]>2020-07-14 13:42:33 +0000
commit81e9d894e03f9a279102c7aac62ea7cbf9949f4b (patch)
tree818b39991fbd21fc5655138031296d43d2c682f0 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentdma-pool: introduce dma_guess_pool() (diff)
downloadkernel-81e9d894e03f9a279102c7aac62ea7cbf9949f4b.tar.gz
kernel-81e9d894e03f9a279102c7aac62ea7cbf9949f4b.zip
dma-pool: make sure atomic pool suits device
When allocating DMA memory from a pool, the core can only guess which atomic pool will fit a device's constraints. If it doesn't, get a safer atomic pool and try again. Fixes: c84dc6e68a1d ("dma-pool: add additional coherent pools to map to gfp mask") Reported-by: Jeremy Linton <[email protected]> Suggested-by: Robin Murphy <[email protected]> Signed-off-by: Nicolas Saenz Julienne <[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