[Skiboot] [PATCH 4/8] asm/head: Fix P10 HILE for little endian build
Nicholas Piggin
npiggin at gmail.com
Sun Oct 3 12:22:06 AEDT 2021
Fixes: 891ed8df67 ("Initial POWER10 enablement")
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
asm/head.S | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/asm/head.S b/asm/head.S
index fa8933b14..b2755344d 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -829,8 +829,13 @@ init_shared_sprs:
/* HID0:
* Boot with PPC_BIT(5) set (dis_recovery).
* Leave bit 5 set to disable recovery (due to HW570622)
+ * Set/clear bit 4 (HILE) depending on skiboot endian
*/
+#if HAVE_BIG_ENDIAN
LOAD_IMM64(%r3, PPC_BIT(5))
+#else
+ LOAD_IMM64(%r3, PPC_BIT(5) | PPC_BIT(4))
+#endif
sync
mtspr SPR_HID0,%r3
isync
--
2.23.0
More information about the Skiboot
mailing list