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

Nicholas Piggin npiggin at gmail.com
Fri Oct 1 20:46:48 AEST 2021


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 at gmail.com>
---
 external/mambo/skiboot.tcl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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
-- 
2.23.0



More information about the Skiboot mailing list