powerpc/powernv: Initialize M64 PE in time
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 12 Nov 2014 02:36:07 +0000 (13:36 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 14 Nov 2014 06:24:23 +0000 (17:24 +1100)
commit4b82ab18033a7e8434e568a6485e6e5c2e5adb02
tree50d03730dd8511f034140e2ea7600488e6c84f1a
parent5ef73567813cddabe5fd1105e915be0851820f4f
powerpc/powernv: Initialize M64 PE in time

The patch initializes PE instance when reserving PE number to
keep consistent things as we did before. Also, it replaces the
iteration on bridge's windows with the prefered way.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c