summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2018-09-25 17:51:43 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-10-08 17:00:14 -0500
commit9d6361875127020c6fec12d58d69431bdf68208d (patch)
tree5145a227a91cbea3c3f99c0310ca3f49c66db1fe /src/import/chips/p9
parent988eda165254887e231a61d7031e5baf636c8c85 (diff)
downloadtalos-hostboot-9d6361875127020c6fec12d58d69431bdf68208d.tar.gz
talos-hostboot-9d6361875127020c6fec12d58d69431bdf68208d.zip
Create new FAPI attribute HB_HRMOR_BYTES
Creates a new FAPI attribute HB_HRMOR_BYTES which will be used by p9_query_host_meminfo to determine the Hostboot load address in the event that the core scratch register's value for the same is 0. Change-Id: Ie13846f94a7bea8f45ae269de86bdc9f494a3149 CQ: SW446794 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66663 Reviewed-by: MURULIDHAR NATARAJU <murulidhar@in.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66736 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/memory_host_mem_attributes.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/memory_host_mem_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/memory_host_mem_attributes.xml
new file mode 100644
index 000000000..d9e39668d
--- /dev/null
+++ b/src/import/chips/p9/procedures/xml/attribute_info/memory_host_mem_attributes.xml
@@ -0,0 +1,42 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: src/import/chips/p9/procedures/xml/attribute_info/memory_host_mem_attributes.xml $ -->
+<!-- -->
+<!-- OpenPOWER HostBoot Project -->
+<!-- -->
+<!-- Contributors Listed Below - COPYRIGHT 2016,2018 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
+<!-- you may not use this file except in compliance with the License. -->
+<!-- You may obtain a copy of the License at -->
+<!-- -->
+<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
+<!-- -->
+<!-- Unless required by applicable law or agreed to in writing, software -->
+<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
+<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
+<!-- implied. See the License for the specific language governing -->
+<!-- permissions and limitations under the License. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<attributes>
+ <attribute>
+ <id>ATTR_HB_HRMOR_BYTES</id>
+ <targetType>TARGET_TYPE_PROC_CHIP</targetType>
+ <description>
+ Hostboot load address, in bytes, for a given node, replicated
+ for each processor within a node. A value of 0xFFFFFFFFFFFFFFFF
+ implies the Hostboot load address is invalid and should be ignored.
+ Hostboot is responsible for updating the load address to a valid
+ value on every boot, and invalidating it just prior to shutdown.
+ Used by p9_query_host_meminfo as a backup in case Hostboot's core
+ scratch register is unavailable.
+ </description>
+ <valueType>uint64</valueType>
+ <platInit/>
+ <default>0xFFFFFFFFFFFFFFFF</default>
+ </attribute>
+</attributes>
OpenPOWER on IntegriCloud