Re: [PATCH] powerpc/perf: Update default sdar_mode value for power9

2017-07-25 Thread Anton Blanchard
On Tue, 25 Jul 2017 11:05:51 +0530 Madhavan Srinivasan wrote: > Commit 20dd4c624d251 ('powerpc/perf: Fix SDAR_MODE value for continous > sampling on Power9') set the default sdar_mode value in > MMCRA[SDAR_MODE] to be used as 0b01 (Update on TLB miss). And this > value

[PATCH] powerpc/perf: Update default sdar_mode value for power9

2017-07-24 Thread Madhavan Srinivasan
Commit 20dd4c624d251 ('powerpc/perf: Fix SDAR_MODE value for continous sampling on Power9') set the default sdar_mode value in MMCRA[SDAR_MODE] to be used as 0b01 (Update on TLB miss). And this value is set if sdar_mode from event is zero, or we are in continous sampling mode in power9 dd1. But