[2/2] SLW: Remove stop2_lite

Message ID 1525079529-2284-2-git-send-email-akshay.adiga@linux.vnet.ibm.com
State Superseded
Headers show
Series
  • [1/2] SLW: Remove stop1_lite and stop0 stop states
Related show

Commit Message

Akshay Adiga April 30, 2018, 9:12 a.m.
There is no difference in power savings for stop2 and stop2_lite if entire
core enters stop. But when the only few threads of the core  enter
stop2_lite running sibling threads do not get benifit of smt folding.

Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
---
 hw/slw.c | 14 --------------
 1 file changed, 14 deletions(-)

Patch

diff --git a/hw/slw.c b/hw/slw.c
index edfc783..be71059 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -537,20 +537,6 @@  static struct cpu_idle_states power9_cpu_idle_states[] = {
 				 | OPAL_PM_PSSCR_EC,
 		.pm_ctrl_reg_mask = OPAL_PM_PSSCR_MASK },
 	{
-		.name = "stop2_lite", /* Enter stop2 with no state loss */
-		.latency_ns = 9900,
-		.residency_ns = 99000,
-		.flags = 0*OPAL_PM_DEC_STOP \
-		       | 0*OPAL_PM_TIMEBASE_STOP  \
-		       | 0*OPAL_PM_LOSE_USER_CONTEXT \
-		       | 0*OPAL_PM_LOSE_HYP_CONTEXT \
-		       | 0*OPAL_PM_LOSE_FULL_CONTEXT \
-		       | 1*OPAL_PM_STOP_INST_FAST,
-		.pm_ctrl_reg_val = OPAL_PM_PSSCR_RL(2) \
-				 | OPAL_PM_PSSCR_MTL(3) \
-				 | OPAL_PM_PSSCR_TR(3),
-		.pm_ctrl_reg_mask = OPAL_PM_PSSCR_MASK },
-	{
 		.name = "stop2",
 		.latency_ns = 10000,
 		.residency_ns = 100000,