summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/cpu.H
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2018-07-23 10:34:32 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-07-24 09:39:23 -0500
commit331b4bff6cb94d3578243089c2adcf3908058d63 (patch)
tree22d542cc21702eea675e2f8fa278ca35edf164b4 /src/include/kernel/cpu.H
parent923ed59ce8a7703b5d36abee3ada0fd4248a6178 (diff)
downloadblackbird-hostboot-331b4bff6cb94d3578243089c2adcf3908058d63.tar.gz
blackbird-hostboot-331b4bff6cb94d3578243089c2adcf3908058d63.zip
Restore Timebase on Master Core Threads 1-3 after Sleep/Winkle
Change-Id: I329dd64345f2474cb0dad628ccc2244d85be86c2 CQ: SW429364 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63147 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> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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/cpu.H')
-rw-r--r--src/include/kernel/cpu.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/kernel/cpu.H b/src/include/kernel/cpu.H
index f218e3e45..e6dc4a1fa 100644
--- a/src/include/kernel/cpu.H
+++ b/src/include/kernel/cpu.H
@@ -104,6 +104,9 @@ struct cpu_t
/** Sequence ID of CPU initialization. */
uint64_t cpu_start_seqid;
+ /** Timebase Restore Value (used during core wakeup) */
+ uint64_t cpu_restore_tb;
+
/** Stack of WorkItems to be executed during doorbell wakeup */
Util::Lockfree::Stack<KernelWorkItem> doorbell_actions;
};
OpenPOWER on IntegriCloud