diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2018-09-20 15:14:48 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-12 16:13:39 -0500 |
commit | 727443a3a2f353b1273d4cca00ec690ae74f9a61 (patch) | |
tree | 964e8a3e7c2bff0e39abfee4a7374a2151ac972c /src/include/kernel | |
parent | 03ec024db41d0e0f844ee08eaebae2a24f51faa9 (diff) | |
download | talos-hostboot-727443a3a2f353b1273d4cca00ec690ae74f9a61.tar.gz talos-hostboot-727443a3a2f353b1273d4cca00ec690ae74f9a61.zip |
Close windows where Hostboot HRMOR is not available to FSP
There are certain small time windows where the core scratch register, which
holds the Hostboot load address for FSP to read in order to dump Hostboot, is
cleared during winkle. This change caches the Hostboot load address in a
processor attribute that FSP can read/use in the event it happens to request a
dump in the window where the core scratch register is not valid.
Change-Id: I776df5e64f4d8ad382392662d08ee349661ba78a
CQ: SW444212
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66664
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Ilya Smirnov <ismirno@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r-- | src/include/kernel/memstate.H | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/kernel/memstate.H b/src/include/kernel/memstate.H index e595cd8c2..3bf755020 100644 --- a/src/include/kernel/memstate.H +++ b/src/include/kernel/memstate.H @@ -33,6 +33,15 @@ namespace KernelMemState { + /** + * @brief Reserved enumerated values for the ATTR_HB_LOAD_ADDRESS_BYTES + * attribute + */ + enum HbLoadAddrRsvd : uint64_t + { + NOT_APPLICABLE = 0xFFFFFFFFFFFFFFFFULL, ///< Ignore / not applicable + }; + /* see mmio.h for scratch reg definitions */ enum MemLocation |