summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pci_schizo.c
diff options
context:
space:
mode:
authorTushar Dave <tushar.n.dave@oracle.com>2017-07-11 23:34:47 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-12 17:13:04 +0200
commit2ad67141f1e47dc063b202993835361a06239aaa (patch)
tree72e0552f4322006d4474f46637e8ff55cee2b1f3 /arch/sparc/kernel/pci_schizo.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (diff)
downloadlinux-2ad67141f1e47dc063b202993835361a06239aaa.tar.xz
linux-2ad67141f1e47dc063b202993835361a06239aaa.zip
SPARC64: Fix sun4v DMA panic
64bit DMA only supported on sun4v equipped with ATU IOMMU HW. 'Commit b02c2b0bfd7ae ("sparc: remove arch specific dma_supported implementations")' introduced a code that incorrectly allow dma_supported() to succeed for 64bit dma mask even if system doesn't have ATU IOMMU. This results into panic. Fix it. Reported-by: Meelis Roos <mroos@linux.ee> Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pci_schizo.c')
0 files changed, 0 insertions, 0 deletions