diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-24 18:57:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-06-26 22:51:53 -0400 |
commit | 311950f8b8d80ba41aa09a26bcaf0c2231f8d264 (patch) | |
tree | 5543f1dda59ea8592fe5acdf490066823e0461ef /drivers/gpu/drm/zte/zx_drm_drv.c | |
parent | 823a65409c8990f64c5693af98ce0e7819975cba (diff) | |
download | linux-311950f8b8d80ba41aa09a26bcaf0c2231f8d264.tar.bz2 |
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/20200624165724.1818496-1-hch@lst.de
Fixes: 3ee06a6d532f ("dma-pool: fix too large DMA pools on medium memory size systems")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/zte/zx_drm_drv.c')
0 files changed, 0 insertions, 0 deletions