]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Enable sun4v dma ops to use IOMMU v2 APIs
authorAllen Pais <allen.pais@oracle.com>
Fri, 7 Jul 2017 08:22:56 +0000 (13:52 +0530)
committerAllen Pais <allen.pais@oracle.com>
Tue, 11 Jul 2017 07:36:50 +0000 (13:06 +0530)
commit0387f10af9504e31256f16c5164952637f81ecf8
treeafa76d9ffbc4855326f221b6c6930f4492e56167
parent3820f41b6844904aeb9e146d7a080ed808fc3de9
sparc64: Enable sun4v dma ops to use IOMMU v2 APIs

Add Hypervisor IOMMU v2 APIs pci_iotsb_map(), pci_iotsb_demap() and
enable sun4v dma ops to use IOMMU v2 API for all PCIe devices with
64bit DMA mask.

Orabug: 23239179

Reviewed-by: chris hyser <chris.hyser@oracle.com>
Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/include/asm/hypervisor.h
arch/sparc/kernel/pci_sun4v.c
arch/sparc/kernel/pci_sun4v.h
arch/sparc/kernel/pci_sun4v_asm.S