Skip to content

Add Andes PMU extension support

Yu Chien Peter Lin opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sbi: sbi_pmu: Add hw_counter_filter_mode() to pmu deviceinclude/sbi/sbi_pmu.h lib/sbi/sbi_pmu.c+10 -10 replies
2/6platform: include: andes45: Add PMU related CSR definesplatform/generic/include/andes/andes45.h+26 -00 replies
3/6platform: andes: Add Andes custom PMU supportplatform/generic/andes/Kconfig platform/generic/andes/andes_pmu.c platform/generic/andes/objects.mk +1 more+102 -02 replies
3/6platform: andes: Add Andes custom PMU support+0 -00 replies
3/6platform: andes: Add Andes custom PMU support+0 -00 replies
4/6platform: andes: Enable Andes PMU for AE350platform/generic/Kconfig platform/generic/andes/ae350.c+3 -00 replies
5/6platform: rzfive: Enable Andes PMU for RZ/Fiveplatform/generic/Kconfig platform/generic/renesas/rzfive/rzfive.c+3 -00 replies
6/6docs: pmu: Add Andes PMU node exampledocs/pmu_support.md+87 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchLeo Yu-Chi LiangLocus Wei-Han Chen
1/6R-b
2/6R-b
3/6R-b
3/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Add Andes PMU extension support

This patch series enables perf tool to utilize Andes PMU extension via PMU SBI calls, provides PMU device callbacks for event sampling and mode filtering.

We also provide a PMU node example of AX45MP in the last patch.

The OpenSBI and Linux patches can be found on Andes Technology GitHub
- https://github.com/andestech/opensbi/commits/andes-pmu-support
- https://github.com/andestech/linux/commits/andes-pmu-support

Yu Chien Peter Lin (6):
sbi: sbi_pmu: Add hw_counter_filter_mode() to pmu device
platform: include: andes45: Add PMU related CSR defines
platform: andes: Add Andes custom PMU support
platform: andes: Enable Andes PMU for AE350
platform: rzfive: Enable Andes PMU for RZ/Five
docs: pmu: Add Andes PMU node example

 docs/pmu_support.md                        | 87 ++++++++++++++++++++++
 include/sbi/sbi_pmu.h                      |  6 ++
 lib/sbi/sbi_pmu.c                          |  5 +-
 platform/generic/Kconfig                   |  2 +
 platform/generic/andes/Kconfig             |  4 +
 platform/generic/andes/ae350.c             |  2 +
 platform/generic/andes/andes_pmu.c         | 85 +++++++++++++++++++++
 platform/generic/andes/objects.mk          |  1 +
 platform/generic/include/andes/andes45.h   | 26 +++++++
 platform/generic/include/andes/andes_pmu.h | 12 +++
 platform/generic/renesas/rzfive/rzfive.c   |  2 +
 11 files changed, 231 insertions(+), 1 deletion(-)
 create mode 100644 platform/generic/andes/andes_pmu.c
 create mode 100644 platform/generic/include/andes/andes_pmu.h
Signature · 1 line
2.34.1