[Skiboot] [PATCH] core/cpu.c: current_radix_mode should be initialised to true

Oliver O'Halloran oohall at gmail.com
Thu Oct 3 13:21:19 AEST 2019


On Wed, Sep 25, 2019 at 11:14 AM Nicholas Piggin <npiggin at gmail.com> wrote:
>
> POWER9 boots in radix mode. This does not change much but would allow
> a big endian radix OS to avoid a HID change when it boots. However it
> is confusing and fragile to have this set the wrong way initially.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>


Merged as of a2c9babbda58.


> ---
>  core/cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/core/cpu.c b/core/cpu.c
> index 232664b41..d0e4cdc1c 100644
> --- a/core/cpu.c
> +++ b/core/cpu.c
> @@ -43,7 +43,7 @@ static bool sreset_enabled;
>  static bool ipi_enabled;
>  static bool pm_enabled;
>  static bool current_hile_mode;
> -static bool current_radix_mode;
> +static bool current_radix_mode = true;
>  static bool tm_suspend_enabled;
>
>  unsigned long cpu_secondary_start __force_data = 0;
> --
> 2.23.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list