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

Michael Ellerman mpe at ellerman.id.au
Wed Jun 24 09:28:07 AEST 2015


On Mon, 2015-22-06 at 04:32:05 UTC, 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 <benh at kernel.crashing.org>
> ---
>  arch/powerpc/platforms/powernv/pci-ioda.c | 50 +++++++++++--------------------
>  arch/powerpc/platforms/pseries/iommu.c    |  3 +-
>  arch/powerpc/sysdev/dart_iommu.c          | 16 ++--------


This doesn't apply to my next, since the VFIO changes went in:

  Applying patch #487103 to current directory
  Description: [2/3] powerpc/iommu: Cleanup setting of DMA base/offset
  patching file arch/powerpc/platforms/powernv/pci-ioda.c
  Hunk #1 FAILED at 1621.
  Hunk #2 FAILED at 1653.
  Hunk #3 FAILED at 1841.
  Hunk #4 FAILED at 1882.
  Hunk #5 FAILED at 1977.
  5 out of 5 hunks FAILED -- saving rejects to file arch/powerpc/platforms/powernv/pci-ioda.c.rej
  patching file arch/powerpc/platforms/pseries/iommu.c
  Hunk #1 succeeded at 1253 (offset 92 lines).
  patching file arch/powerpc/sysdev/dart_iommu.c
  Hunk #1 succeeded at 313 (offset 7 lines).
  Hunk #2 succeeded at 361 (offset 7 lines).


I could fix the conflicts but then the result wouldn't have been tested.

cheers


More information about the Linuxppc-dev mailing list