[1/3] cpu: Remove duplicate setting of LPCR

Message ID 20180511064121.18122-1-benh@kernel.crashing.org
State Accepted
Headers show
Series
  • [1/3] cpu: Remove duplicate setting of LPCR
Related show

Commit Message

Benjamin Herrenschmidt May 11, 2018, 6:41 a.m.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 core/cpu.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stewart Smith May 25, 2018, 12:16 a.m. | #1
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
>  core/cpu.c | 1 -
>  1 file changed, 1 deletion(-)

Cheers, series merged to master as of 08992151641a24db5ff52ce3a4bd18714d5be700

Patch

diff --git a/core/cpu.c b/core/cpu.c
index 13c0ff9d..0a1d58f2 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -401,7 +401,6 @@  static void cpu_idle_p9(enum cpu_wake_cause wake_on)
 
 		/* HV DBELL and DEC */
 		lpcr |= SPR_LPCR_P9_PECEL1 | SPR_LPCR_P9_PECEL3;
-		mtspr(SPR_LPCR, lpcr);
 	}
 
 	mtspr(SPR_LPCR, lpcr);