diff options
author | Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> | 2017-09-15 17:51:01 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-09-19 04:16:53 -0500 |
commit | 58913880c529c76f9a269c10f37a3a611e496afd (patch) | |
tree | 152949f3af4ee131d513ac184e334a3003e6916c /hw/slw.c | |
parent | 56a945e8deaba44ce2659aeeb941270b944adc41 (diff) | |
download | skiboot-58913880c529c76f9a269c10f37a3a611e496afd.zip skiboot-58913880c529c76f9a269c10f37a3a611e496afd.tar.gz skiboot-58913880c529c76f9a269c10f37a3a611e496afd.tar.bz2 |
SLW: Removing timebase related flags for stop4
When a core enters stop4, it does not loose decrementer and time base.
Hence removing flags OPAL_PM_DEC_STOP and OPAL_PM_TIMEBASE_STOP.
Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Reviewed-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r-- | hw/slw.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -601,8 +601,8 @@ static struct cpu_idle_states power9_cpu_idle_states[] = { .name = "stop4", .latency_ns = 100000, .residency_ns = 1000000, - .flags = 1*OPAL_PM_DEC_STOP \ - | 1*OPAL_PM_TIMEBASE_STOP \ + .flags = 0*OPAL_PM_DEC_STOP \ + | 0*OPAL_PM_TIMEBASE_STOP \ | 1*OPAL_PM_LOSE_USER_CONTEXT \ | 1*OPAL_PM_LOSE_HYP_CONTEXT \ | 1*OPAL_PM_LOSE_FULL_CONTEXT \ |