From 727443a3a2f353b1273d4cca00ec690ae74f9a61 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Thu, 20 Sep 2018 15:14:48 -0500 Subject: 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 Reviewed-by: Ilya Smirnov Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/kernel/memstate.H | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/kernel') 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 -- cgit v1.2.1