summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-09-05 17:19:06 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-10 11:18:16 -0500
commitbbcb8da395800c41bb912932fb915ce9bd165acf (patch)
treeb18d88222d214624d533bacfb6e527cca2a0423e /src
parentc68c2c0d4c35f74ac1f48dedf7d558436e497e8b (diff)
downloadtalos-hostboot-bbcb8da395800c41bb912932fb915ce9bd165acf.tar.gz
talos-hostboot-bbcb8da395800c41bb912932fb915ce9bd165acf.zip
Move scratch7 write earlier in IPL (SW222933)
Change-Id: I873a2b0d9d54ce60c1345a741aa238e5088b240a CQ: SW222933 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6058 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/kernel/misc.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/misc.C b/src/kernel/misc.C
index 07fb06e70..738c3fe56 100644
--- a/src/kernel/misc.C
+++ b/src/kernel/misc.C
@@ -226,6 +226,13 @@ namespace KernelMisc
updateScratchReg(MMIO_SCRATCH_MEMORY_STATE,
kernel_hbDescriptor.kernelMemoryState);
+ // @TODO: Remove this workaround with RTC 84029.
+ // Set scratch register to indicate Hostboot is [still] active.
+ const char * hostboot_string = "hostboot";
+ updateScratchReg(MMIO_SCRATCH_HOSTBOOT_ACTIVE,
+ *reinterpret_cast<const uint64_t*>(hostboot_string));
+ // -- end workaround.
+
// Restore caller of cpu_master_winkle().
iv_caller->state = TASK_STATE_RUNNING;
TaskManager::setCurrentTask(iv_caller);
OpenPOWER on IntegriCloud