diff options
| author | Christoph Hellwig <[email protected]> | 2019-07-16 20:00:54 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-07-17 06:25:45 +0000 |
| commit | a5008b59cd9d8de12ab623cb5052bb4735330e5c (patch) | |
| tree | 50f36841635531cb81255bc1ffad56b3e229512e /drivers/pci/controller/pci-host-common.c | |
| parent | dma-mapping: add a dma_addressing_limited helper (diff) | |
| download | kernel-a5008b59cd9d8de12ab623cb5052bb4735330e5c.tar.gz kernel-a5008b59cd9d8de12ab623cb5052bb4735330e5c.zip | |
dma-direct: only limit the mapping size if swiotlb could be used
Don't just check for a swiotlb buffer, but also if buffering might
be required for this particular device.
Fixes: 133d624b1cee ("dma: Introduce dma_max_mapping_size()")
Reported-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
