Re: POWER9 PMU stops after idle workaround

2017-09-13 Thread Michael Ellerman
Yeah I messed up the subject when comitting, from memory, so I had to rebase and force push. I think this is it: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=09539f9b123652e969894d6299ae0df2fe12cb5d cheers On 14 September 2017 2:11:16 am AEST, "Michal Suchánek

Re: POWER9 PMU stops after idle workaround

2017-09-13 Thread Michal Suchánek
On Thu, 3 Aug 2017 20:19:38 +1000 (AEST) Michael Ellerman wrote: > On Thu, 2017-07-20 at 01:53:22 UTC, Nicholas Piggin wrote: > > POWER9 DD2 PMU can stop after a state-loss idle in some conditions. > > > > A solution is to set then clear MMCRA[60] after wake from state-loss > > idle. > > > > S

Re: POWER9 PMU stops after idle workaround

2017-08-03 Thread Michael Ellerman
On Thu, 2017-07-20 at 01:53:22 UTC, Nicholas Piggin wrote: > POWER9 DD2 PMU can stop after a state-loss idle in some conditions. > > A solution is to set then clear MMCRA[60] after wake from state-loss > idle. > > Signed-off-by: Nicholas Piggin > Acked-by: Madhavan Srinivasan > Reviewed-by: Vai

Re: [PATCH] POWER9 PMU stops after idle workaround

2017-08-01 Thread Anton Blanchard
Hi Nick, > POWER9 DD2 PMU can stop after a state-loss idle in some conditions. > > A solution is to set then clear MMCRA[60] after wake from state-loss > idle. Looks good. Acked-by: Anton Blanchard Anton > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/kernel/idle_book3s.S | 8 +++

Re: [PATCH] POWER9 PMU stops after idle workaround

2017-07-19 Thread Vaidyanathan Srinivasan
* Nicholas Piggin [2017-07-20 11:53:22]: > POWER9 DD2 PMU can stop after a state-loss idle in some conditions. > > A solution is to set then clear MMCRA[60] after wake from state-loss > idle. > > Signed-off-by: Nicholas Piggin Reviewed-by: Vaidyanathan Srinivasan > --- > arch/powerpc/kern

Re: [PATCH] POWER9 PMU stops after idle workaround

2017-07-19 Thread Madhavan Srinivasan
On Thursday 20 July 2017 07:23 AM, Nicholas Piggin wrote: POWER9 DD2 PMU can stop after a state-loss idle in some conditions. A solution is to set then clear MMCRA[60] after wake from state-loss idle. Acked-by: Madhavan Srinivasan Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/

[PATCH] POWER9 PMU stops after idle workaround

2017-07-19 Thread Nicholas Piggin
POWER9 DD2 PMU can stop after a state-loss idle in some conditions. A solution is to set then clear MMCRA[60] after wake from state-loss idle. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/idle_book3s.S | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/pow