summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2016-12-13 13:10:46 -0600
committerhostboot <hostboot@us.ibm.com>2018-08-22 17:54:17 -0500
commit5e742844d0d6e6bc01ec7909b7facafbd34b98d9 (patch)
tree61bd8465466512cdd213a99ad0f9b1704ac1c73b /import
parent08e215c16d75d23ef4a2f039f9e91b2e7a68a428 (diff)
downloadtalos-hcode-5e742844d0d6e6bc01ec7909b7facafbd34b98d9.tar.gz
talos-hcode-5e742844d0d6e6bc01ec7909b7facafbd34b98d9.zip
STOP: Cache Scom Restore(without copy to Sram)
Change-Id: Idc3e743279bab2ea0da1b3884199d70dbecbef3c Original-Change-Id: I64eb053c3efb42a918a4e6dea0e043074cf8ec9a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33791 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h
index 564b0243..4f2dbc2e 100644
--- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h
+++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h
@@ -234,6 +234,14 @@ typedef struct
PkSemaphore sem[2];
} SgpeStopRecord;
+/// Scom restore block
+typedef struct
+{
+ uint32_t pad;
+ uint32_t addr;
+ uint64_t data;
+} SgpeScomRestore;
+
/// SGPE STOP Entry and Exit Prototypes
void p9_sgpe_stop_pig_handler(void*, PkIrqId);
@@ -257,7 +265,7 @@ int p9_hcd_cache_initf(uint32_t);
int p9_hcd_cache_startclocks(uint32_t, uint32_t);
int p9_hcd_cache_l2_startclocks(uint32_t, uint32_t, uint32_t);
int p9_hcd_cache_scominit(uint32_t, uint32_t);
-int p9_hcd_cache_scomcust(uint32_t);
+int p9_hcd_cache_scomcust(uint32_t, uint32_t, uint32_t, int);
int p9_hcd_cache_ras_runtime_scom(uint32_t);
int p9_hcd_cache_occ_runtime_scom(uint32_t);
OpenPOWER on IntegriCloud