aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.ibm.com>2020-05-26 10:22:22 +0530
committerOliver O'Halloran <oohall@gmail.com>2020-06-03 17:15:50 +1000
commitcecc251c45b4d348e8110b2d2367b5ea4a404d51 (patch)
treef56d08ae7854ad5ea8ff092ae9dd1d8901d605e9 /external
parent22817f8d563a069fa9be5202095fd88ddadb21f6 (diff)
downloadskiboot-cecc251c45b4d348e8110b2d2367b5ea4a404d51.zip
skiboot-cecc251c45b4d348e8110b2d2367b5ea4a404d51.tar.gz
skiboot-cecc251c45b4d348e8110b2d2367b5ea4a404d51.tar.bz2
opal-gard: sync up the chip unit data list with upstream hostboot.
opal-gard on POWER9P system fails to identify few chip targets while displaying gard records. This patch fixes that. Before: # opal-gard list ID | Error | Type | Path ------------------------------------------------------------------------------- 00000001 | 90004af4 | Predictive | /Sys0/Node0/Proc0/MC0/MI0/UNKNOWN0/UNKNOWN0 =============================================================================== After this patch: # ./opal-gard list ID | Error | Type | Path --------------------------------------------------------------------------- 00000001 | 90004af4 | Predictive | /Sys0/Node0/Proc0/MC0/MI0/MCC0/OMI0 =========================================================================== Signed-off-by: Mahesh Salgaonkar <mahesh@linux.ibm.com> Reviewed-by: Dan HorĂ¡k <dan@danny.cz> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'external')
-rw-r--r--external/gard/units.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/external/gard/units.c b/external/gard/units.c
index 677d68f..35d46e4 100644
--- a/external/gard/units.c
+++ b/external/gard/units.c
@@ -140,6 +140,14 @@ const struct chip_unit_desc p9_chip_units[] = {
{0x44, "MC"},
{0x45, "TEST_FAIL"},
{0x46, "MFREFCLK"},
- {0x47, "LAST_IN_RANGE"},
+ {0x47, "SMPGROUP"},
+ {0x48, "OMI"},
+ {0x49, "MCC"},
+ {0x4A, "OMIC"},
+ {0x4B, "OCMB_CHIP"},
+ {0x4C, "MEM_PORT"},
+ {0x4D, "I2C_MUX"},
+ {0x4E, "PMIC"},
+ {0x4F, "LAST_IN_RANGE"},
};