Re: [PATCH v2] powerpc/6xx: set High BAT Enable flag on G2_LE cores

2024-02-15 Thread Michael Ellerman
On Wed, 24 Jan 2024 11:38:38 +0100, Matthias Schiffer wrote: > MMU_FTR_USE_HIGH_BATS is set for G2_LE cores and derivatives like e300cX, > but the high BATs need to be enabled in HID2 to work. Add register > definitions and add the needed setup to __setup_cpu_603. > > This fixes boot on CPUs like

Re: [PATCH v2] powerpc/6xx: set High BAT Enable flag on G2_LE cores

2024-01-25 Thread Christophe Leroy
Le 24/01/2024 à 11:38, Matthias Schiffer a écrit : > [Vous ne recevez pas souvent de courriers de > matthias.schif...@ew.tq-group.com. Découvrez pourquoi ceci est important à > https://aka.ms/LearnAboutSenderIdentification ] > > MMU_FTR_USE_HIGH_BATS is set for G2_LE cores and derivatives like

[PATCH v2] powerpc/6xx: set High BAT Enable flag on G2_LE cores

2024-01-24 Thread Matthias Schiffer
MMU_FTR_USE_HIGH_BATS is set for G2_LE cores and derivatives like e300cX, but the high BATs need to be enabled in HID2 to work. Add register definitions and add the needed setup to __setup_cpu_603. This fixes boot on CPUs like the MPC5200B with STRICT_KERNEL_RWX enabled on systems where the flag h