powerpc/powernv/npu: Add PE to PHB's list
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 12 May 2016 05:47:10 +0000 (15:47 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 12 May 2016 09:56:25 +0000 (19:56 +1000)
commit1d4e89cf0a4e819fbde428e9e5286e7141a02e06
tree7d03482a485a54f22223679eafd0f5c9445c2890
parent92a86756904b127a3450262b33c0b9f8e99f6b36
powerpc/powernv/npu: Add PE to PHB's list

Before commit 3e68dc57 "powerpc/powernv: Remove DMA32 PE list", NPU PEs
were linked to the NPU PHB via phb->ioda.pe_dma_list; after that fix,
the phb->ioda.pe_list is used.

During the pe_dma_list removal, list_add_tail(&phb->ioda.pe_dma_list)
was removed, however no list_add() was added so does this patch.

Fixes: 3e68dc57219a ("powerpc/powernv: Remove DMA32 PE list")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c