summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-10-23 12:43:03 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-12-21 14:04:22 -0500
commit779a1c3444a348e7eccbf587ded6041cc3bbd13d (patch)
tree5b0db854286915626363b73ce82123227286ffe5 /src/include
parent51d3eeea8b3a43ee443a4a92dd4d134056f7557f (diff)
downloadtalos-hostboot-779a1c3444a348e7eccbf587ded6041cc3bbd13d.tar.gz
talos-hostboot-779a1c3444a348e7eccbf587ded6041cc3bbd13d.zip
Read the hb/hyp comm area to see if hyp moved hrmor
During MPIPL it is possible that the hrmor was moved while the hypervisor was running. Before this commit if the hrmor was moved then hostboot would fail when we tried to collect dump information. With this commit hostboot will read the hyp/hb comm area to see if the hypervisor has moved the hrmor and told HB, if the hyp has then hostboot will set the ATTR_PAYLOAD_BASE attribute on the system target during the target service initialization Change-Id: I89b76913ffa106656f188364a2a077f982474084 RTC: 180959 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48699 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/runtime/runtime.H2
-rw-r--r--src/include/usr/targeting/attrrp.H9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 25177e465..d8d22a8d5 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -130,7 +130,7 @@ errlHndl_t populate_TpmInfoByNode();
#define MDT_MAINSTORE_ADDR_SECTION 0
#define MDT_RESERVED_HB_MEM_SECTION 5
-// Defines offset into mainstore address section wher HB writes the address
+// Defines offset into mainstore address section where HB writes the address
// of the HYP/HB comm area
// (See HDAT spec 11.1.2.1 Mainstore Address Configuration)
#define MDT_MAINSTORE_ADDR_SECTION_HYP_HB_COMM_ADDR_OFFSET 0x1C
diff --git a/src/include/usr/targeting/attrrp.H b/src/include/usr/targeting/attrrp.H
index 1453d0273..02772cb6d 100644
--- a/src/include/usr/targeting/attrrp.H
+++ b/src/include/usr/targeting/attrrp.H
@@ -76,6 +76,15 @@ class AttrRP
public:
/**
+ * @brief Returns physical address of HB data reserved mem TOC
+ * note: does not unmap address
+ *
+ * @return phys addr of table of contents of hb data reserved memory
+ *
+ */
+ static uint64_t getHbDataTocAddr();
+
+ /**
* @brief Returns base address of the RO section containing the
* targets
*
OpenPOWER on IntegriCloud