From 5e742844d0d6e6bc01ec7909b7facafbd34b98d9 Mon Sep 17 00:00:00 2001 From: Yue Du Date: Tue, 13 Dec 2016 13:10:46 -0600 Subject: 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 Reviewed-by: Dean Sanner Reviewed-by: ADAM S. HALE Dev-Ready: ADAM S. HALE Reviewed-by: AMIT KUMAR Reviewed-by: Jennifer A. Stofer --- .../p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3