Skip to content

Commit

Permalink
Set POWER9 RPR SPR
Browse files Browse the repository at this point in the history
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@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
mikey authored and stewartsmith committed Jun 30, 2017
1 parent ed8da32 commit bdf6c2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions asm/head.S
Expand Up @@ -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
Expand Down

0 comments on commit bdf6c2a

Please sign in to comment.