Re: [PATCH kernel v3 1/3] powerpc/iommu: Allow bypass-only for DMA

2019-06-02 Thread David Gibson
On Thu, May 30, 2019 at 05:03:53PM +1000, Alexey Kardashevskiy wrote: > 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

[PATCH kernel v3 1/3] powerpc/iommu: Allow bypass-only for DMA

2019-05-30 Thread Alexey Kardashevskiy
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 can be selected. Signed-off-b