Re: [PATCH 2/3] powerpc/iommu: Cleanup setting of DMA base/offset

2015-08-26 Thread Michael Ellerman
On Wed, 2015-08-26 at 18:52 +1000, Alexey Kardashevskiy wrote: > On 06/24/2015 03:25 PM, Benjamin Herrenschmidt wrote: > > Now that the table and the offset can co-exist, we no longer need > > to flip/flop, we can just establish both once at boot time. > > > > Signed-off-by: Benjamin Herrenschmidt

Re: [PATCH 2/3] powerpc/iommu: Cleanup setting of DMA base/offset

2015-08-26 Thread Alexey Kardashevskiy
On 06/24/2015 03:25 PM, Benjamin Herrenschmidt wrote: Now that the table and the offset can co-exist, we no longer need to flip/flop, we can just establish both once at boot time. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/powernv/pci-ioda.c | 3 +-- arch/powerpc/platf

[PATCH 2/3] powerpc/iommu: Cleanup setting of DMA base/offset

2015-06-23 Thread Benjamin Herrenschmidt
Now that the table and the offset can co-exist, we no longer need to flip/flop, we can just establish both once at boot time. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/powernv/pci-ioda.c | 3 +-- arch/powerpc/platforms/pseries/iommu.c| 3 +-- arch/powerpc/sysdev/dart

[PATCH 2/3] powerpc/iommu: Cleanup setting of DMA base/offset

2015-06-21 Thread Benjamin Herrenschmidt
Now that the table and the offset can co-exist, we no longer need to flip/flop, we can just establish both once at boot time. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/powernv/pci-ioda.c | 50 +++ arch/powerpc/platforms/pseries/iommu.c| 3 +