• Christoph Hellwig's avatar
    sparc64/iommu: allow large DMA masks · 254ecb16
    Christoph Hellwig authored
    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_4u_supported to just
    check if the supplied dma mask is large enough as nothing in the
    iommu.c code (or the core DMA code) actually looks at the DMA mask
    later on.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
    254ecb16
iommu.c 18.9 KB