diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-15 09:30:28 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-20 07:29:10 -0700 |
commit | 24132a419c68f1d69eb8ecc91b3c80d730ecbb59 (patch) | |
tree | e9bf0b2d4290cedc1884cfed177ed0587bd843a8 /arch/sh | |
parent | 254ecb1601ebbdf0eeda4156f4c55254cb9addaf (diff) | |
download | linux-24132a419c68f1d69eb8ecc91b3c80d730ecbb59.tar.bz2 |
sparc64/pci_sun4v: allow large DMA masks
We've been moving to a model where the device just sets the DMA mask
supported by it, instead of having to fallback to something it thinks
the platform might support. Sparc64 is the remaining holdout forcing
drivers to supply a matching mask. Change dma_4v_supported to just
check if the supplied dma mask is large enough. and adjust the mapping
code to check ATU presence in addition to the DMA mask to decide on
the mapping method.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions