summaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-06-18 15:30:33 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-06-18 16:11:34 +1000
commit451530398b744ebe0401abecfc0315b4b8ce99c2 (patch)
treeb6e8242fbbeea867b140c45f872a6f421ecb79ee /asm
parent092d2a8e58cad4c9cac3dc573f5af6409d2d1ce6 (diff)
downloadtalos-skiboot-451530398b744ebe0401abecfc0315b4b8ce99c2.tar.gz
talos-skiboot-451530398b744ebe0401abecfc0315b4b8ce99c2.zip
Set proper value for RPR register
The value was provided by Dave Larson and is what pHyp uses Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/head.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/head.S b/asm/head.S
index 0b90d222..75a70a07 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -703,6 +703,9 @@ init_shared_sprs:
sync
mtspr SPR_HMEER,%r3
isync
+ /* RPR (per-LPAR but let's treat it as replicated for now) */
+ LOAD_IMM64(%r3,0x00000103070F1F3F)
+ mtspr SPR_RPR,%r3
9: blr
.global init_replicated_sprs
OpenPOWER on IntegriCloud