From a5f23db430ac0ee5be54cf56df576bec5cb0e12c Mon Sep 17 00:00:00 2001 From: Prem Shanker Jha Date: Tue, 10 Oct 2017 00:41:51 -0500 Subject: STOP API: Increased max allowed SCOM restore entries for EQ. Commit increases the max allowed SCOM restore entries from 16 to 31. This is to facilitate IMA function. Change-Id: Iaa77f9cd47dc24fb5ecb31dc38405fe9d48bd7a5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48157 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: JAMES DEZELLE Reviewed-by: Juan R. Medina Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA Reviewed-by: Gregory S. Still --- import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H | 2 +- .../p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H b/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H index 367bb554..5daead8b 100644 --- a/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H +++ b/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H @@ -266,7 +266,7 @@ HCD_CONST(QUAD_SCOM_RESTORE_HOMER_OFFSET, HCD_CONST(MAX_L2_SCOM_ENTRIES, 16) HCD_CONST(MAX_L3_SCOM_ENTRIES, 16) -HCD_CONST(MAX_EQ_SCOM_ENTRIES, 15) +HCD_CONST(MAX_EQ_SCOM_ENTRIES, 31) HCD_CONST(QUAD_SCOM_RESTORE_REGS_PER_QUAD, (MAX_EQ_SCOM_ENTRIES + MAX_L2_SCOM_ENTRIES + MAX_L3_SCOM_ENTRIES + 1)) diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c index 6c756d1a..bcbc7b21 100644 --- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c +++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c @@ -42,7 +42,7 @@ p9_hcd_cache_scomcust(uint32_t quad, uint32_t m_ex, int is_stop8) // doing this instead of multiply since there is no multiply instruction with ppe. for(i = 0; i < quad; i++) { - qoffset += 0x300; + qoffset += 0x400; } // To access memory, need to set MSB of homer address -- cgit v1.2.3