Skip to content

arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability

James Clark linux-arm-kernel linux-perf-users lkml 2 versions – Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesApplied
  2. v14 patches 15 repliesSuperseded

Changes in v2 from the cover letter

* Removed "legacy" description of PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE events
* Shift down remaining capability bits instead of inserting

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capabilitydrivers/perf/arm_pmu.c+6 -11 reply
2/4perf/x86: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capabilityarch/x86/events/core.c+0 -10 replies
3/4arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capabilitydrivers/perf/arm_pmu.c+2 -51 reply
4/4perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capabilityinclude/linux/perf_event.h+3 -41 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan RogersAnshuman KhandualMark Rutland
SeriesA-b
1/4A-b R-b
2/4A-b
3/4A-b R-b
4/4A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability

Changes since v1:

* Removed "legacy" description of PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE events
* Shift down remaining capability bits instead of inserting

    /* Unused */ in the gap (last commit)

Applies to v6.5-rc3

---------------------

This came out of the discussion here [1]. It seems like we can get some extra big.LITTLE stuff working pretty easily. The test issues mentioned in the linked thread are actually fairly unrelated and I've fixed them in a different set on the list.

After adding it in the first commit, the remaining ones tidy up a related capability that doesn't do anything any more.

I've added a fixes tag for the commit where PERF_PMU_CAP_EXTENDED_HW_TYPE was originally added because it probably should have been added to the Arm PMU at the same time. It doesn't apply cleanly that far back because another capability was added between then, but the resolution is trivial.

Thanks
James

[1]: https://lore.kernel.org/linux-perf-users/CAP-5=fVkRc9=ySJ=fG-SQ8oAKmE_1mhHHzSASmGHUsda5Qy92A@mail.gmail.com/T/#t

James Clark (4):
arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability perf/x86: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability

 arch/x86/events/core.c     |  1 -
 drivers/perf/arm_pmu.c     | 10 ++++++----
 include/linux/perf_event.h |  7 +++----
 3 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1