powerpc/perf: Fix perf_get_data_addr() for power9 DD1
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Mar 14 22:45:51 AEDT 2017
On Mon, 2017-02-20 at 13:56:30 UTC, Madhavan Srinivasan wrote:
> Power9 DD1 do not support PMU_HAS_SIER flag and sdsync
> in perf_get_data_addr() defaults to MMCRA_SDSYNC which
> is wrong. Since power9 MMCRA does not support SDSYNC bit,
> patch includes PPMU_NO_SIAR flag to the check and set the
> sdsync with MMCRA_SAMPLE_ENABLE;
>
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/f04d108029063a8a67528a88449c41
cheers
More information about the Linuxppc-dev
mailing list