aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-10-01 20:46:48 +1000
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2021-10-02 10:30:27 +0530
commit0b18d28b6c3d324328136acab13a99ffe2ad3377 (patch)
tree9d4d05a7592313711121c3c93fd42dbca702858b
parentdda72e7ff60c36ed5ed721ad2b7f6277f7a9363f (diff)
downloadskiboot-0b18d28b6c3d324328136acab13a99ffe2ad3377.zip
skiboot-0b18d28b6c3d324328136acab13a99ffe2ad3377.tar.gz
skiboot-0b18d28b6c3d324328136acab13a99ffe2ad3377.tar.bz2
external/mambo: Updates POWER9 SIM_CTRL1 to remove hardware atomic RC
Update SIM_CTRL1 bits to set ARC0/1, which disables atomic RC updates in hardware which matches implementation. Comment some remaining quirks with the P9 configuration. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
-rw-r--r--external/mambo/skiboot.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 8038d2a..68bedbc 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -135,8 +135,11 @@ if { $default_config == "PEGASUS" } {
if { $default_config == "P9" } {
# PVR configured for POWER9 DD2.3 Scale out 24 Core (ie SMT4)
+ # This still is not configured with LPAR-per-thread, which will make
+ # multi-thread KVM not work properly. And possibly even small-core is
+ # not set correctly either.
myconf config processor/initial/PVR 0x4e1203
- myconf config processor/initial/SIM_CTRL1 0x4228301710000000
+ myconf config processor/initial/SIM_CTRL1 0x42283c1710000000
if { $mconf(numa) } {
myconf config memory_region_id_shift 45