[Skiboot] [PATCH] core/cpu.c: current_radix_mode should be initialised to true
Nicholas Piggin
npiggin at gmail.com
Wed Sep 25 11:13:31 AEST 2019
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>
---
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
More information about the Skiboot
mailing list