summaryrefslogtreecommitdiffstats
path: root/hw/slw.c
diff options
context:
space:
mode:
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>2017-09-15 17:51:01 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-19 04:16:53 -0500
commit58913880c529c76f9a269c10f37a3a611e496afd (patch)
tree152949f3af4ee131d513ac184e334a3003e6916c /hw/slw.c
parent56a945e8deaba44ce2659aeeb941270b944adc41 (diff)
downloadtalos-skiboot-58913880c529c76f9a269c10f37a3a611e496afd.tar.gz
talos-skiboot-58913880c529c76f9a269c10f37a3a611e496afd.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 1ce7608f..561cbf76 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -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 \
OpenPOWER on IntegriCloud