diff mbox series

[v2,2/2] external/mambo: Updates POWER9 SIM_CTRL1 to remove hardware atomic RC

Message ID 20211001104648.920820-2-npiggin@gmail.com
State Accepted
Headers show
Series [v2,1/2] external/mambo: Updates for POWER10 configuration for DD2.0 | expand

Commit Message

Nicholas Piggin Oct. 1, 2021, 10:46 a.m. UTC
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>
---
 external/mambo/skiboot.tcl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 8038d2a91..68bedbcfc 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