diff options
| author | Madhavan Srinivasan <[email protected]> | 2017-02-20 13:56:30 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-03-09 02:34:53 +0000 |
| commit | f04d108029063a8a67528a88449c412aecf4d3d8 (patch) | |
| tree | ded6eb071c262b612ce6b699170fd428756c11ef /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | powerpc/boot: Fix zImage TOC alignment (diff) | |
| download | kernel-f04d108029063a8a67528a88449c412aecf4d3d8.tar.gz kernel-f04d108029063a8a67528a88449c412aecf4d3d8.zip | |
powerpc/perf: Fix perf_get_data_addr() for power9 DD1
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;
Fixes: 27593d72c4ad ("powerpc/perf: Use MSR to report privilege level on P9 DD1")
Signed-off-by: Madhavan Srinivasan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
