]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/vfio: Implement IOMMU driver for VFIO
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 21 May 2013 03:33:10 +0000 (13:33 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:14 +0000 (16:55 +1000)
commitededfeb4edbd794a6900825950e42b9814716d05
treeed5f684cb6a5b683846d6b3d97fa2c0999835c24
parentf9c6ba0ec8fe8ec0db508f8e7a5d5c165b081084
powerpc/vfio: Implement IOMMU driver for VFIO

VFIO implements platform independent stuff such as
a PCI driver, BAR access (via read/write on a file descriptor
or direct mapping when possible) and IRQ signaling.

The platform dependent part includes IOMMU initialization
and handling.  This implements an IOMMU driver for VFIO
which does mapping/unmapping pages for the guest IO and
provides information about DMA window (required by a POWER
guest).

Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Documentation/vfio.txt
drivers/vfio/Kconfig
drivers/vfio/Makefile
drivers/vfio/vfio.c
drivers/vfio/vfio_iommu_spapr_tce.c [new file with mode: 0644]
include/uapi/linux/vfio.h