From bdf6c2a69eae55536aa2e0cff937387e5e151c00 Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Tue, 27 Jun 2017 12:53:40 -0500 Subject: [PATCH] Set POWER9 RPR SPR 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 Signed-off-by: Stewart Smith --- asm/head.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asm/head.S b/asm/head.S index 01b726ad3a02..badb567c094f 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