]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Bind PCIe devices to use IOMMU v2 service
authorAllen Pais <allen.pais@oracle.com>
Fri, 7 Jul 2017 07:59:20 +0000 (13:29 +0530)
committerAllen Pais <allen.pais@oracle.com>
Tue, 11 Jul 2017 07:36:50 +0000 (13:06 +0530)
commit3820f41b6844904aeb9e146d7a080ed808fc3de9
tree50246379b5d1422c6d75e1f24d6b820f65eb8953
parenta6e478156bfe89b3dd8928ceec27d0fba01c6369
sparc64: Bind PCIe devices to use IOMMU v2 service

In order to use Hypervisor (HV) IOMMU v2 API for map/demap, each PCIe
device has to be bound to IOTSB using HV API pci_iotsb_bind().

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/kernel/pci_sun4v.c
arch/sparc/kernel/pci_sun4v.h
arch/sparc/kernel/pci_sun4v_asm.S