diff options
author | Nicholas Piggin | 2017-07-20 11:53:22 +1000 |
---|---|---|
committer | Michael Ellerman | 2017-08-04 12:52:26 +1000 |
commit | 09539f9b123652e969894d6299ae0df2fe12cb5d (patch) | |
tree | d48126ca0b6ab5d0a8e692deeaa52fb960bc59a4 /lib/atomic64.c | |
parent | f29bb7861a5107cc1afbf5a565c3109aa88d5984 (diff) |
powerpc/perf: POWER9 PMU stops after idle workaround
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. MMCRA[60] is a non-architected bit, see the user manual for
details.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Reviewed-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions