From 0b18d28b6c3d324328136acab13a99ffe2ad3377 Mon Sep 17 00:00:00 2001 From: Nicholas Piggin Date: Fri, 1 Oct 2021 20:46:48 +1000 Subject: 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 Signed-off-by: Vasant Hegde --- 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 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 -- cgit v1.1