summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2019-07-18 15:11:37 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-19 13:20:23 +1000
commit4f7e0babbc7c46fc0db4f5c14fe96bf6f4d69502 (patch)
tree549d02dccf2d289f3cc689b4880a6cbadc94b03c /arch/powerpc/platforms/powernv/pci.h
parent56090a3902c80c296e822d11acdb6a101b322c52 (diff)
powerpc/iommu: Allow bypass-only for DMA
POWER8 and newer support a bypass mode which maps all host memory to PCI buses so an IOMMU table is not always required. However if we fail to create such a table, the DMA setup fails and the kernel does not boot. This skips the 32bit DMA setup check if the bypass is selected. 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> Link: https://lore.kernel.org/r/20190718051139.74787-3-aik@ozlabs.ru
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.h')
0 files changed, 0 insertions, 0 deletions