summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory S. Still <stillgs@us.ibm.com>2018-12-17 09:17:53 -0600
committerhostboot <hostboot@us.ibm.com>2018-12-18 10:39:06 -0600
commitb68dcc1aa28b49a15ab5deda2d0a26a7608bd6cf (patch)
treec49f35bbd9ab30cd11781cfde391c0570f49fb8b
parente085a963007d48e4a6ef69469e1b6a43d58c73be (diff)
downloadtalos-hcode-b68dcc1aa28b49a15ab5deda2d0a26a7608bd6cf.tar.gz
talos-hcode-b68dcc1aa28b49a15ab5deda2d0a26a7608bd6cf.zip
Revert "PM: OCC<>PGPE interface for P9+"
This reverts commit 5967161b503f55c81ae566bd5f8f663de2a06683. Change-Id: Ibb267c025cd8d3cd5c7b05c15933092a5d84d364 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69896 Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Gregory S. Still <stillgs@us.ibm.com>
-rw-r--r--import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h164
1 files changed, 2 insertions, 162 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 8ca74ea1..75cd011a 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
@@ -336,157 +336,6 @@ typedef union requested_active_quads
// End Quad State
// -----------------------------------------------------------------------------
-typedef struct
-{
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t average_pstate : 8;
- uint64_t average_frequency_pstate : 8;
- uint64_t clip_pstate : 8;
- uint64_t reserved : 8;
- uint64_t vratio_inst : 16;
- uint64_t vratio_avg : 16;
- } fields;
- } dw0;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t idd_avg_ma : 16;
- uint64_t ics_avg_ma : 16;
- uint64_t idn_avg_ma : 16;
- uint64_t iio_avg_ma : 16;
-
- } fields;
- } dw1;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t vdd_avg_mv : 16;
- uint64_t vcs_avg_mv : 16;
- uint64_t vdn_avg_mv : 16;
- uint64_t vio_avg_mv : 16;
- } fields;
- } dw2;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t ocs_avg_0p01pct : 16;
- uint64_t reserved : 48;
- } fields;
- } dw3;
-} pgpe_wof_values_t;
-
-typedef struct
-{
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t magic_word : 32; //ELTC
- uint64_t total_log_slots : 8;
- uint64_t reserved : 24;
- } fields;
- } dw0;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t errlog_id : 8;
- uint64_t errlog_src : 8;
- uint64_t errlog_len : 16;
- uint64_t pgpe_critical_log_address : 32;
- } fields;
- } dw1;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t errlog_id : 8;
- uint64_t errlog_src : 8;
- uint64_t errlog_len : 16;
- uint64_t pgpe_info_log_address : 32;
- } fields;
- } dw2;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t errlog_id : 8;
- uint64_t errlog_src : 8;
- uint64_t errlog_len : 16;
- uint64_t sgpe_critical_log_address : 32;
- } fields;
- } dw3;
- union
- {
- uint64_t value;
- struct
- {
- uint32_t high_order;
- uint32_t low_order;
- } words;
- struct
- {
- uint64_t errlog_id : 8;
- uint64_t errlog_src : 8;
- uint64_t errlog_len : 16;
- uint64_t sgpe_info_log_address : 32;
- } fields;
- } dw4;
-} errlog_idx_t;
typedef struct
{
@@ -508,17 +357,8 @@ typedef struct
///Requested Active Quads
requested_active_quads_t req_active_quads;
- //PGPE WOF Values
- pgpe_wof_values_t pgpe_wof_values;
-
- //Reserved
- uint64_t reserved1;
-
- /// Hcode Error Log Index
- errlog_idx_t errlog_idx;
-
- //Reserved
- uint64_t reserved2[24];
+ /// FFDC Address list
+ Hcode_FFDC_list_t ffdc_list;
/// Pstate Table
OCCPstateTable_t pstate_table;
OpenPOWER on IntegriCloud