diff options
author | Christoph Hellwig <[email protected]> | 2020-06-24 18:57:24 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-06-26 22:51:53 -0400 |
commit | 311950f8b8d80ba41aa09a26bcaf0c2231f8d264 (patch) | |
tree | 5543f1dda59ea8592fe5acdf490066823e0461ef /scripts/gdb/linux/config.py | |
parent | 823a65409c8990f64c5693af98ce0e7819975cba (diff) |
scsi: mptfusion: Don't use GFP_ATOMIC for larger DMA allocations
The mpt fusion driver still uses the legacy PCI DMA API which hardcodes
atomic allocations. This caused the driver to fail to load on some powerpc
VMs with incoherent DMA and small memory sizes. Switch to use the modern
DMA API and sleeping allocations for large allocations instead. This is
not a full cleanup of the PCI DMA API usage yet, but just enough to fix the
regression caused by reducing the default atomic pool size.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 3ee06a6d532f ("dma-pool: fix too large DMA pools on medium memory size systems")
Reported-by: Guenter Roeck <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions