From 3b536cd068796d4e7c8ea0ca8780090aee28e209 Mon Sep 17 00:00:00 2001 From: Deepa Karthikeyan Date: Fri, 29 Mar 2024 02:34:57 -0500 Subject: [PATCH] Fix the device path mapping for Everest putscom on odyssey -p89 called out the wrong location code, as the device path mapping for ocmb_chip-30 and ocmb_chip-31 were interchanged. This happens only on Everest system. Fixed it both for kernel and sbefifo path. Tested and working as expected. root@p10bmc:/tmp# getscom odyssey 08010870 -p89 odyssey k0:n0:s0:p89 0xFE18000000000000 /usr/bin/edbg getscom odyssey 08010870 -p89 root@p10bmc:/tmp# guard -l ID | ERROR | Type | Path 0x00000001 | 0x890018d3 | predictive | physical:sys-0/node-0/ocmb_chip-30 root@p10bmc:/tmp# peltool -a -l | grep -e '"Signature":' -e '"Location Code":' -e '"Event Severity":' -e '"Platform Log Id":' "Platform Log Id": "0x890018D3", "Event Severity": "Predictive Error", "Location Code": "U780C.ND0.WZS01XK-P0-C52", "Signature": "MMIO_FIR[7]: Parity error detected in informational register", "Platform Log Id": "0x89001950", "Event Severity": "Predictive Error", "Location Code": "U780C.ND0.WZS01XK-P0-C52", "Signature": "MMIO_FIR[4]: Parity error in MMIO/CFG logic FSM", "Platform Log Id": "0x89001952", "Event Severity": "Predictive Error", "Location Code": "U780C.ND0.WZS01XK-P0-C52", --- bmc-kernel-everest.dts.m4 | 4 ++-- bmc-sbefifo-everest.dts.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bmc-kernel-everest.dts.m4 b/bmc-kernel-everest.dts.m4 index e07a98d9c..401d928c3 100644 --- a/bmc-kernel-everest.dts.m4 +++ b/bmc-kernel-everest.dts.m4 @@ -240,8 +240,8 @@ define(`HMFSI_ODY', HMFSI_ODY(6, 4, 5, 14) HMFSI_ODY(7, 4, 5, 15) - HMFSI_ODY(0, 5, 6, 02) - HMFSI_ODY(1, 5, 6, 03) + HMFSI_ODY(0, 5, 6, 03) + HMFSI_ODY(1, 5, 6, 02) HMFSI_ODY(2, 5, 6, 10) HMFSI_ODY(3, 5, 6, 11) HMFSI_ODY(4, 5, 6, 14) diff --git a/bmc-sbefifo-everest.dts.m4 b/bmc-sbefifo-everest.dts.m4 index 1541cdfa4..1f9d7e5dd 100644 --- a/bmc-sbefifo-everest.dts.m4 +++ b/bmc-sbefifo-everest.dts.m4 @@ -232,8 +232,8 @@ define(`BMC_I2CBUS', HMFSI_ODY(6, 4, 5, 14) HMFSI_ODY(7, 4, 5, 15) - HMFSI_ODY(0, 5, 6, 02) - HMFSI_ODY(1, 5, 6, 03) + HMFSI_ODY(0, 5, 6, 03) + HMFSI_ODY(1, 5, 6, 02) HMFSI_ODY(2, 5, 6, 10) HMFSI_ODY(3, 5, 6, 11) HMFSI_ODY(4, 5, 6, 14)