[Skiboot] [PATCH 1/9] cpu: Do not access xscom registers for guarded CPUs

Nicholas Piggin npiggin at gmail.com
Mon Mar 31 23:46:27 AEDT 2025


Guarded CPUs are powered down so access to their PC xscom registers
fails. This prevents the failed attempt and accompanying warnings.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 core/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/init.c b/core/init.c
index 8e49bb966..fae6ec62f 100644
--- a/core/init.c
+++ b/core/init.c
@@ -1017,7 +1017,7 @@ static void mask_pc_system_xstop(void)
          * HID[5] and mask the checkstop that it can cause. CME does
          * the recovery handling for us.
          */
-        for_each_cpu(cpu) {
+	for_each_ungarded_primary(cpu) {
                 chip_id = cpu->chip_id;
                 core_id = pir_to_core_id(cpu->pir);
 
-- 
2.47.1



More information about the Skiboot mailing list