Re: [PATCH v2 1/2] powerpc/44x: Don't support 440 when CONFIG_PPC_47x is set

2020-12-10 Thread Michael Ellerman
On Sun, 18 Oct 2020 17:25:17 + (UTC), Christophe Leroy wrote: > As stated in platform/44x/Kconfig, CONFIG_PPC_47x is not > compatible with 440 and 460 variants. > > This is confirmed in asm/cache.h as L1_CACHE_SHIFT is different > for 47x, meaning a kernel built for 47x will not run correctly

[PATCH v2 1/2] powerpc/44x: Don't support 440 when CONFIG_PPC_47x is set

2020-10-18 Thread Christophe Leroy
As stated in platform/44x/Kconfig, CONFIG_PPC_47x is not compatible with 440 and 460 variants. This is confirmed in asm/cache.h as L1_CACHE_SHIFT is different for 47x, meaning a kernel built for 47x will not run correctly on a 440. In cputable, opt out all 440 and 460 variants when CONFIG_PPC_47x