[Skiboot] [PATCH] mambo: Make POWER9 look like DD2
Michael Neuling
mikey at neuling.org
Fri Sep 16 15:57:39 AEST 2016
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 at 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 at neuling.org>
---
external/mambo/skiboot.tcl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index b8e68c9433..e9aea028ed 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)] } {
--
2.7.4
More information about the Skiboot
mailing list