[Skiboot] [PATCH] Set POWER9 RPR SPR

Michael Neuling mikey at neuling.org
Wed Jun 28 03:53:40 AEST 2017


Set POWER9 RPR SPR to 0x00000103070F1F3F.  Same value as P8.

Without this, thread priorities inside a core don't work.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 asm/head.S | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/asm/head.S b/asm/head.S
index 01b726ad3a..badb567c09 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -734,6 +734,9 @@ init_shared_sprs:
 	sync
 	mtspr	SPR_HMEER,%r3
 	isync
+
+	LOAD_IMM64(%r3,0x00000103070F1F3F)
+	mtspr	SPR_RPR,%r3
 9:	blr
 
 .global init_replicated_sprs
-- 
2.11.0



More information about the Skiboot mailing list