aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
diff options
context:
space:
mode:
authorIlkka Koskinen <[email protected]>2024-09-06 19:15:39 +0000
committerWill Deacon <[email protected]>2024-09-09 14:28:02 +0000
commit5967a19f1c2ffb530f5d4589ddc4b4afbb6c7bd4 (patch)
treede72cb3e9e4afd3256290b28d0101174ec97b1a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
parentMAINTAINERS: List Arm interconnect PMUs as supported (diff)
downloadkernel-5967a19f1c2ffb530f5d4589ddc4b4afbb6c7bd4.tar.gz
kernel-5967a19f1c2ffb530f5d4589ddc4b4afbb6c7bd4.zip
perf: arm_pmuv3: Use BR_RETIRED for HW branch event if enabled
The PMU driver attempts to use PC_WRITE_RETIRED for the HW branch event, if enabled. However, PC_WRITE_RETIRED counts only taken branches, whereas BR_RETIRED counts also non-taken ones. Furthermore, perf uses HW branch event to calculate branch misses ratio, implying BR_RETIRED is the correct event to count. We keep PC_WRITE_RETIRED still as an option in case BR_RETIRED isn't implemented. Signed-off-by: Ilkka Koskinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions