aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-01-28 19:50:05 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-01-28 19:50:05 +1100
commit96508aee7feb3858e1b1c33b2c37bd0bffe53eb2 (patch)
treea44fc27b9a9fa1ab47f93483ffb9f89676105673 /hw
parent0d7b1161a5ac221372a6b3d515af0017f3ea51fc (diff)
downloadskiboot-96508aee7feb3858e1b1c33b2c37bd0bffe53eb2.zip
skiboot-96508aee7feb3858e1b1c33b2c37bd0bffe53eb2.tar.gz
skiboot-96508aee7feb3858e1b1c33b2c37bd0bffe53eb2.tar.bz2
Update comment about winkle residency
We're currently providing an educated guess, which is 1second. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/slw.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/slw.c b/hw/slw.c
index cd746af..38c781f 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -474,8 +474,13 @@ static struct cpu_idle_states power8_cpu_idle_states[] = {
{ /* Winkle */
.name = "winkle",
.latency_ns = 10000000,
- .residency_ns = 1000000000, /* Placeholder only.Winkle is not used by
- the cpuidle subsystem today */
+ .residency_ns = 1000000000, /* Educated guess (not measured).
+ * Winkle is not currently used by
+ * linux cpuidle subsystem so we
+ * don't have real world user.
+ * However, this should be roughly
+ * accurate for when linux does
+ * use it. */
.flags = 1*IDLE_DEC_STOP \
| 1*IDLE_TB_STOP \
| 1*IDLE_LOSE_USER_CONTEXT \