powerpc/powernv/pci: Initialise M64 for IODA1 as a 1-1 window
authorOliver O'Halloran <oohall@gmail.com>
Wed, 22 Jul 2020 06:57:03 +0000 (16:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:22 +0000 (23:34 +1000)
commit369633654fcb9639cd4cd0e1a448ffde3533d776
treeeba86c249269101d132545f80c2507bb4dcec42e
parent01e12629af4e0e4864ed4d83e07783d7cb5b06be
powerpc/powernv/pci: Initialise M64 for IODA1 as a 1-1 window

We pre-configure the m64 window for IODA1 as a 1-1 segment-PE mapping,
similar to PHB3. Currently the actual mapping of segments occurs in
pnv_ioda_pick_m64_pe(), but we can move it into pnv_ioda1_init_m64() and
drop the IODA1 specific code paths in the PE setup / teardown.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722065715.1432738-4-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-ioda.c