Re: [PATCH 06/38] powerpc: Move 64-bit feature fixup earlier

2016-06-28 Thread Benjamin Herrenschmidt
On Tue, 2016-06-28 at 17:19 +0530, Aneesh Kumar K.V wrote: > If we can do feature fixup early. Then this patch series become > simpler. > > https://lkml.kernel.org/r/1465887288-12952-1-git-send-email-aneesh.ku > m...@linux.vnet.ibm.com > > ie, we can now start using

Re: [PATCH 06/38] powerpc: Move 64-bit feature fixup earlier

2016-06-28 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Tue, 2016-06-28 at 16:35 +0530, Aneesh Kumar K.V wrote: >> Why not move it immediately after we finish all the device tress >> scan. > > Do you need it in early_init_mmu ? The important thing is to have it > done before we *turn on*

Re: [PATCH 06/38] powerpc: Move 64-bit feature fixup earlier

2016-06-28 Thread Benjamin Herrenschmidt
On Tue, 2016-06-28 at 16:35 +0530, Aneesh Kumar K.V wrote: > Why not move it immediately after we finish all the device tress > scan. Do you need it in early_init_mmu ? The important thing is to have it done before we *turn on* the MMU but yeah, there's no big deal moving it even further up I

Re: [PATCH 06/38] powerpc: Move 64-bit feature fixup earlier

2016-06-28 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > Make it part of early_setup() as we really want the feature fixups > to be applied before we turn on the MMU since they can have an impact > on the various assembly path related to MMU management and interrupts. > > This makes 64-bit

[PATCH 06/38] powerpc: Move 64-bit feature fixup earlier

2016-06-27 Thread Benjamin Herrenschmidt
Make it part of early_setup() as we really want the feature fixups to be applied before we turn on the MMU since they can have an impact on the various assembly path related to MMU management and interrupts. This makes 64-bit match what 32-bit does. Signed-off-by: Benjamin Herrenschmidt