summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2019-08-29 09:59:10 -0500
committerChristian R Geddes <crgeddes@us.ibm.com>2019-09-03 13:41:22 -0500
commitb9cb9f77195cac23421069936d31903043d10d13 (patch)
treec453b8536582edba71a27de1e5dd892ed61e7ea3 /src/usr/hdat
parentc3d8cfd066998862656706bb00d15ad986470fe5 (diff)
downloadtalos-hostboot-b9cb9f77195cac23421069936d31903043d10d13.tar.gz
talos-hostboot-b9cb9f77195cac23421069936d31903043d10d13.zip
Update SYS's ATTR_XSCOM_BASE_ADDRESS in SMF Paths
The correct value of ATTR_XSCOM_BASE_ADDRESS was not being propagated to HDAT when SMF is enabled. The problem is that the system target has a copy of said attribute that needs to be updated with the SMF bit (bit 15) to reflect the fact that XSCOM BAR is in SMF memory. The attribute under the system target was not being updated accordingly (only those attributes under proc targets were). This commit adds a fix to update ATTR_XSCOM_BASE_ADDRESS under the system target in SMF mode. Change-Id: Icac5bb7023ac0ecc521a961681420bfc21a46eac Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83057 Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr/hdat')
-rwxr-xr-xsrc/usr/hdat/hdatmsvpd.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/hdat/hdatmsvpd.C b/src/usr/hdat/hdatmsvpd.C
index fb86e10bd..def8a37e8 100755
--- a/src/usr/hdat/hdatmsvpd.C
+++ b/src/usr/hdat/hdatmsvpd.C
@@ -926,6 +926,8 @@ void HdatMsVpd::prt()
iv_mover.hdatMoverAddr.lo);
HDAT_INF(" hdatBSRAddr = 0X %08X %08X ", iv_mover.hdatBSRAddr.hi,
iv_mover.hdatBSRAddr.lo);
+ HDAT_INF(" hdatXSCOMAddr = 0X %08X %08X", iv_mover.hdatXSCOMAddr.hi,
+ iv_mover.hdatXSCOMAddr.lo);
HDAT_INF(" **hdatMsVpdImtAddrRange_t**");
hdatPrintHdrs(NULL, NULL, &iv_IMTaddrRngArrayHdr, NULL);
OpenPOWER on IntegriCloud