diff options
| author | Alexey Kardashevskiy <[email protected]> | 2019-07-18 05:11:37 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-19 03:20:23 +0000 |
| commit | 4f7e0babbc7c46fc0db4f5c14fe96bf6f4d69502 (patch) | |
| tree | 549d02dccf2d289f3cc689b4880a6cbadc94b03c /arch/powerpc/sysdev/dart_iommu.c | |
| parent | powerpc/powernv/ioda: Fix race in TCE level allocation (diff) | |
| download | kernel-4f7e0babbc7c46fc0db4f5c14fe96bf6f4d69502.tar.gz kernel-4f7e0babbc7c46fc0db4f5c14fe96bf6f4d69502.zip | |
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 <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
