summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2017-10-10 00:41:51 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 19:34:35 -0500
commita5f23db430ac0ee5be54cf56df576bec5cb0e12c (patch)
tree1cbde3d622b0333c8869df18fa3238c0d1fb3314
parente6b7c548e73108f76a8065f7ac7f7b0a050baf95 (diff)
downloadtalos-hcode-a5f23db430ac0ee5be54cf56df576bec5cb0e12c.tar.gz
talos-hcode-a5f23db430ac0ee5be54cf56df576bec5cb0e12c.zip
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 <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
-rw-r--r--import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H2
-rw-r--r--import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scomcust.c2
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
OpenPOWER on IntegriCloud