aboutsummaryrefslogtreecommitdiff
path: root/external/mambo/skiboot.tcl
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-09-16 15:57:39 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-16 16:31:02 +1000
commit3e86c08abe79ba2497b193f7931d35af8e2a545c (patch)
tree16bc46f4fd6f60a78015e0136f7ad9ea5e52d4f7 /external/mambo/skiboot.tcl
parent925f03c184f42104a1ebd676f4d3c3d50b8a44b8 (diff)
downloadskiboot-3e86c08abe79ba2497b193f7931d35af8e2a545c.zip
skiboot-3e86c08abe79ba2497b193f7931d35af8e2a545c.tar.gz
skiboot-3e86c08abe79ba2497b193f7931d35af8e2a545c.tar.bz2
mambo: Make POWER9 look like DD2
In a recent Linux (next) change we added support for Radix Tree Size (RTS) encodings for different POWER9 revs. Linux commit: commit 694c4951922d114e789f669deb409b2aef440ae9 Author: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Date: Wed Aug 24 15:03:37 2016 +0530 powerpc/mm/radix: Use different RTS encoding for different POWER9 revs In mambo, we support the DD2 encoding of RTS but the PVR we advertise is DD1. Hence Linux uses the wrong RTS encoding and we don't boot. This fixes mambo to use the POWER9 DD2 PVR encoding. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/mambo/skiboot.tcl')
-rw-r--r--external/mambo/skiboot.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index b8e68c9..e9aea02 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -83,7 +83,8 @@ if { $default_config == "PEGASUS" } {
myconf config processor/initial/PVR 0x4b0201
}
if { $default_config == "P9" } {
- # make sure we look like a POWER9
+ # make sure we look like a POWER9 DD2
+ myconf config processor/initial/PVR 0x4e0200
myconf config processor/initial/SIM_CTRL1 0xc228000400000000
}
if { [info exists env(SKIBOOT_SIMCONF)] } {