From 96508aee7feb3858e1b1c33b2c37bd0bffe53eb2 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 28 Jan 2015 19:50:05 +1100 Subject: Update comment about winkle residency We're currently providing an educated guess, which is 1second. Signed-off-by: Stewart Smith --- hw/slw.c | 9 +++++++-- 1 file 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 \ -- cgit v1.1