summaryrefslogtreecommitdiffstats
path: root/import/chips
diff options
context:
space:
mode:
authorAmit Tendolkar <amit.tendolkar@in.ibm.com>2019-07-18 04:56:03 -0500
committerhostboot <hostboot@us.ibm.com>2019-07-24 09:08:40 -0500
commit7b72e51e2cfd5bd5907bcec7b31ea93e1792d3b3 (patch)
tree418193c242f5a5cf8d2f9746487900273a455682 /import/chips
parentfaebbb8350306e0e6489b0d1fcd5582c1d731609 (diff)
downloadtalos-hcode-7b72e51e2cfd5bd5907bcec7b31ea93e1792d3b3.tar.gz
talos-hcode-7b72e51e2cfd5bd5907bcec7b31ea93e1792d3b3.zip
HCode Error Logs - Final structure change for PGPE-OCC API
Changes to clean unwanted symbols Changes to support only unrecoverable error (1) in HCode error logs Changes to remove reserved member, such that errlog_idx match the spec. Change-Id: I2b56905e5ea2f7d3b4c879be9b4563d9ccbb983b RTC: 207368 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80598 Reviewed-by: Christopher J Cain <cjcain@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips')
-rw-r--r--import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h b/import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h
index f7a2692f..0df2ea1e 100644
--- a/import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h
+++ b/import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h
@@ -410,17 +410,9 @@ typedef struct
// -----------------------------------------------------------------------------
// Start Error Log Table
-/// Maximum number of error log entries available
-#define MAX_HCODE_ELOG_ENTRIES 4
-
-/// Index into the array of error log entries
-enum elog_entry_index
-{
- ELOG_PGPE_CRITICAL = 0,
- ELOG_PGPE_INFO = 1,
- ELOG_SGPE_CRITICAL = 2,
- ELOG_SGPE_INFO = 3,
-};
+/// Maximum number of error log entries available, 1 UE per SPGE & PGPE
+#define MAX_HCODE_ELOG_ENTRIES 2
+#define HCODE_ELOG_TABLE_MAGIC_WORD 0x454C5443 // "ELTC"
/// Structure of an individual error log entry
typedef struct
@@ -462,7 +454,7 @@ typedef struct hcode_error_table
} fields;
} dw0;
- /// Array of error log entries (index with enum elog_entry_index)
+ /// Array of error log entries
hcode_elog_entry_t elog[MAX_HCODE_ELOG_ENTRIES];
} hcode_error_table_t;
@@ -492,9 +484,6 @@ typedef struct
//PGPE WOF Values
pgpe_wof_values_t pgpe_wof_values;
- //Reserved
- uint64_t reserved1;
-
/// Hcode Error Log Index
hcode_error_table_t errlog_idx;
OpenPOWER on IntegriCloud