]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Bind PCIe devices to use IOMMU v2 service
authorTushar Dave <tushar.n.dave@oracle.com>
Fri, 28 Oct 2016 17:12:43 +0000 (10:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:16:59 +0000 (11:16 -0800)
commit9cbb1e74b9490c17512e1f24c7dd79095272879d
treecaa1c853c629845f71228a52899013b7c474497f
parentbb9f2e51bfd99d2b606369cd09f053fdb4fe1299
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().

Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
Reviewed-by: chris hyser <chris.hyser@oracle.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci_sun4v.c
arch/sparc/kernel/pci_sun4v.h
arch/sparc/kernel/pci_sun4v_asm.S