Re: [PATCH] powerpc/powernv: Fix boot on Power8 bare metal due to opal_configure_cores()

2017-07-18 Thread Michael Ellerman
Balbir Singh writes: > On Mon, 2017-07-17 at 21:31 +1000, Michael Ellerman wrote: >> In commit 1c0eaf0f56d6 ("powerpc/powernv: Tell OPAL about our MMU mode >> on POWER9"), we added additional flags to the OPAL call to configure >> CPUs at boot. >> >> These flags only work on Power9 firmwares, an

Re: powerpc/powernv: Fix boot on Power8 bare metal due to opal_configure_cores()

2017-07-18 Thread Michael Ellerman
On Mon, 2017-07-17 at 11:31:00 UTC, Michael Ellerman wrote: > In commit 1c0eaf0f56d6 ("powerpc/powernv: Tell OPAL about our MMU mode > on POWER9"), we added additional flags to the OPAL call to configure > CPUs at boot. > > These flags only work on Power9 firmwares, and worse can cause boot > fail

Re: [PATCH] powerpc/powernv: Fix boot on Power8 bare metal due to opal_configure_cores()

2017-07-17 Thread Balbir Singh
On Mon, 2017-07-17 at 21:31 +1000, Michael Ellerman wrote: > In commit 1c0eaf0f56d6 ("powerpc/powernv: Tell OPAL about our MMU mode > on POWER9"), we added additional flags to the OPAL call to configure > CPUs at boot. > > These flags only work on Power9 firmwares, and worse can cause boot > failu

[PATCH] powerpc/powernv: Fix boot on Power8 bare metal due to opal_configure_cores()

2017-07-17 Thread Michael Ellerman
In commit 1c0eaf0f56d6 ("powerpc/powernv: Tell OPAL about our MMU mode on POWER9"), we added additional flags to the OPAL call to configure CPUs at boot. These flags only work on Power9 firmwares, and worse can cause boot failures on Power8 machines, so we check for CPU_FTR_ARCH_300 (aka POWER9) b