powerpc/perf: Handle sdar_mode for marked event in power9
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Mon, 20 Feb 2017 13:59:03 +0000 (19:29 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Mar 2017 02:34:54 +0000 (13:34 +1100)
commit78b4416aa249365dd3c1b64da4d3a232014320b0
tree982fe5ce494df4cb17a70b624934c0cb87ed66d6
parentf04d108029063a8a67528a88449c412aecf4d3d8
powerpc/perf: Handle sdar_mode for marked event in power9

MMCRA[SDAR_MODE] specifices how the SDAR should be updated in
continous sampling mode. On P9 it must be set to 0b00 when
MMCRA[63] is set.

Fixes: c7c3f568beff2 ('powerpc/perf: macros for power9 format encoding')
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/isa207-common.c
arch/powerpc/perf/isa207-common.h