diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-03-24 09:37:21 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 14:26:54 +0300 |
commit | b6e1f6adce8068620f728f717f90f4899b5ac83f (patch) | |
tree | a5c122ca3d57171fcbda063d4174802c8eb355c8 /arch/powerpc/include | |
parent | e49a6a2173346d316c0e65d054a3cda89d57cb53 (diff) | |
download | linux-b6e1f6adce8068620f728f717f90f4899b5ac83f.tar.xz |
powerpc/pseries: Enable VFIO
This enables VFIO on pseries host in order to allow VFIO in nested guest under
PR KVM or DPDK in a HV guest. This adds support of the VFIO_SPAPR_TCE_IOMMU
type.
This adds exchange() callback to allow TCE updates by the SPAPR TCE IOMMU
driver in VFIO.
This initializes DMA32 window parameters in iommu_table_group as as this does
not implement VFIO_SPAPR_TCE_v2_IOMMU and VFIO_SPAPR_TCE_IOMMU just reuses the
existing DMA32 window.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions