summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2017-04-06 16:11:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-11 10:21:23 -0400
commitdbfa69fb24cc90c9fa074b73e88c0971eae24e3a (patch)
tree3e8b91427c8cd1cb71fc4fe1cdaabd1135567934 /src
parent79985aa182860c48864eb08d101c21f42b9c96f1 (diff)
downloadtalos-hostboot-dbfa69fb24cc90c9fa074b73e88c0971eae24e3a.tar.gz
talos-hostboot-dbfa69fb24cc90c9fa074b73e88c0971eae24e3a.zip
Fix missing CHI DMI scom addresses.
Change-Id: Ib72532b6e5e63e6371da01700e4380b87af7a687 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38949 Dev-Ready: Benjamin Gass <bgass@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: CHRISTINA L. GRAVES <clgraves@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38953 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+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_scominfo.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/import/chips/p9/common/scominfo/p9_scominfo.C b/src/import/chips/p9/common/scominfo/p9_scominfo.C
index 28a44e8e3..b449d5baa 100644
--- a/src/import/chips/p9/common/scominfo/p9_scominfo.C
+++ b/src/import/chips/p9/common/scominfo/p9_scominfo.C
@@ -202,7 +202,9 @@ extern "C"
if (l_ring == P9C_MC_CHAN_RING_ID)
{
l_scom.set_chiplet_id(MC01_CHIPLET_ID + (i_chipUnitNum / 4));
- l_scom.set_sat_id(i_chipUnitNum % 4);
+ uint8_t l_msat = l_scom.get_sat_id();
+ l_msat = l_msat & 0xC;
+ l_scom.set_sat_id(l_msat + i_chipUnitNum % 4);
}
//SCOM4
@@ -771,7 +773,7 @@ extern "C"
o_chipUnitRelated = true;
o_chipUnitPairing.push_back(p9_chipUnitPairing_t(PU_DMI_CHIPUNIT,
((l_chiplet_id == MC01_CHIPLET_ID ? (0) : (4))) +
- l_sat_id));
+ (0x3 & l_sat_id)));
}
OpenPOWER on IntegriCloud