summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2016-09-08 17:30:03 +0200
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-16 16:39:32 -0400
commit0d32db57e9282578659b66d8bee0815887b70890 (patch)
tree89106c7257ee4be0b475a3f9ec401e7d6c23480f /src
parent9d76a925e39863ea52af7f7e87eb4f8c425167f3 (diff)
downloadtalos-hostboot-0d32db57e9282578659b66d8bee0815887b70890.tar.gz
talos-hostboot-0d32db57e9282578659b66d8bee0815887b70890.zip
p9_scominfo: Add DBG macro regs to pu.perv targets
Every chiplet has a debug macro on the PERV SCOM ring, at satellite ID 0xF. Make that valid for pu.perv targets so DBG accesses can be made chiplet agnostic. Change-Id: I1c5811082bba141e042b342d12005d6e4a960d78 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29380 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29415 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/common/scominfo/p9_scom_addr.H6
-rw-r--r--src/import/chips/p9/common/scominfo/p9_scominfo.C4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/import/chips/p9/common/scominfo/p9_scom_addr.H b/src/import/chips/p9/common/scominfo/p9_scom_addr.H
index 29a9c7dbd..01d6b6b0f 100644
--- a/src/import/chips/p9/common/scominfo/p9_scom_addr.H
+++ b/src/import/chips/p9/common/scominfo/p9_scom_addr.H
@@ -338,6 +338,12 @@ extern "C"
PPE_GPE3_RING_ID = 0x18,
} p9_tp_ring_id_t;
+ /// Satellite ID for PERV
+ typedef enum
+ {
+ PERV_DBG_SAT_ID = 0xF,
+ } p9_perv_sat_id_t;
+
/// Satellite ID for SBE
typedef enum
{
diff --git a/src/import/chips/p9/common/scominfo/p9_scominfo.C b/src/import/chips/p9/common/scominfo/p9_scominfo.C
index cd7745fff..51e125723 100644
--- a/src/import/chips/p9/common/scominfo/p9_scominfo.C
+++ b/src/import/chips/p9/common/scominfo/p9_scominfo.C
@@ -360,7 +360,9 @@ extern "C"
if (((l_port == GPREG_PORT_ID) ||
((l_port >= CME_PORT_ID) && (l_port <= CPM_PORT_ID)) ||
(l_port == PCBSLV_PORT_ID) ||
- (l_port == UNIT_PORT_ID && l_ring == EC_PSCM_RING_ID))) //Catches all PSCOM regs
+ (l_port == UNIT_PORT_ID && l_ring == EC_PSCM_RING_ID) || //Catches all PSCOM regs
+ (l_port == UNIT_PORT_ID && l_ring == EC_PERV_RING_ID
+ && l_sat_id == PERV_DBG_SAT_ID))) // Each chiplet also has a DBG macro
{
o_chipUnitRelated = true;
// PU_PERV_CHIPUNIT
OpenPOWER on IntegriCloud