summaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2015-06-15 09:49:59 +0200
committerMichael Ellerman2015-06-17 23:16:02 +0200
commitb5926430dfa07d17e5d768c16b0d81c13a793f7c (patch)
treed7c708805c99ec3aa116d0932934b62989ffeadd /Documentation/powerpc
parentpowerpc/include: Add opal-prd to installed uapi headers (diff)
downloadkernel-qcow2-linux-b5926430dfa07d17e5d768c16b0d81c13a793f7c.tar.gz
kernel-qcow2-linux-b5926430dfa07d17e5d768c16b0d81c13a793f7c.tar.xz
kernel-qcow2-linux-b5926430dfa07d17e5d768c16b0d81c13a793f7c.zip
powerpc/iommu/ioda2: Enable compile with IOV=on and IOMMU_API=off
The pnv_pci_ioda2_unset_window() function is used to do the final cleanup of a DMA window being released: - via VFIO ioctl by the guest request; - via unplugging a virtual PCI function. However the function was under #ifdef CONFIG_IOMMU_API and was missing. This moves the helper outside of IOMMU_API block and enables it for either or both IOMMU_API and PCI_IOV. 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 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions