Thread (2 messages) flat view 2 messages, 2 authors, 2017-07-13

Re: powerpc/perf: Fix SDAR_MODE value for continous sampling in power9

From: Michael Ellerman <hidden>
Date: 2017-07-13 12:46:43

On Tue, 2017-07-11 at 10:57:49 UTC, Madhavan Srinivasan wrote:
Incase of continous sampling, code currently defaults
MMCRA[SDAR_MODE] to 0b01 for power9 DD1 which is
'Continous sampling mode update SDAR on TLB miss'.
And for the rest it copies the sdar_mode value from
the event code, which mostly turns out to be 0b00
('No Updates').

Instead, fix the sdar_mode to 0b10
('Continous sampling mode update SDAR on dcache miss')
as default for power9 incase of continous sampling.

Fixes: 78b4416aa2493 ('powerpc/perf: Handle sdar_mode for marked event in power9')
Signed-off-by: Madhavan Srinivasan <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/20dd4c624d25156d5ec3345bbb690b

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help