[Skiboot] [PATCH 2/2] SLW: Remove stop2_lite
Akshay Adiga
akshay.adiga at linux.vnet.ibm.com
Mon Apr 30 19:12:09 AEST 2018
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 at linux.vnet.ibm.com>
---
hw/slw.c | 14 --------------
1 file changed, 14 deletions(-)
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,
--
2.5.5
More information about the Skiboot
mailing list