Support Andes PMU extension
Status from this message: The following commit has been merged into the irq/msi branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest10 patches 9 repliesApplied 10/10
- v810 patches 4 repliesSuperseded
- v716 patches 19 repliesSuperseded
Earlier versions · 13
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 16 patches | 2 replies | Superseded | |
| v4 posting 3/3 | 0 of 15 patches | 0 replies | Superseded | |
| v5 | 16 patches | 13 replies | Superseded | |
| v4 posting 2/3 | 15 patches | 0 replies | Superseded | |
| v3 posting 4/4 | 0 of 15 patches | 0 replies | Superseded | |
| v4 posting 1/3 | 13 patches | 35 replies | Superseded | |
| v3 posting 3/4 | 15 patches | 0 replies | Superseded | |
| v2 posting 3/3 | 0 of 11 patches | 0 replies | Superseded | |
| v3 posting 2/4 | 13 patches | 12 replies | Superseded | |
| v3 posting 1/4 | 5 of 13 patches | 2 replies | Superseded | |
| v2 posting 2/3 | 10 patches | 22 replies | Superseded | |
| v2 posting 1/3 | 11 patches | 0 replies | Superseded | |
| v1 | 0 of 6 patches | 0 replies | Superseded |
Patches in v9 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | riscv: errata: Rename defines for Andesarch/ arch/ arch/ +1 more | +9 | 0 replies | Applied |
| 2/10 | irqchip/riscv-intc: Allow large non-standard interrupt numberdrivers/ | +19 | 1 reply | Applied |
| 3/10 | irqchip/riscv-intc: Introduce Andes hart-level interrupt controllerdrivers/ include/ | +69 | 6 replies | Applied |
| 4/10 | dt-bindings: riscv: Add Andes interrupt controller compatible stringDocumentation/ | +5 | 0 replies | Applied |
| 5/10 | riscv: dts: renesas: r9a07g043f: Update compatible string to use Andes INTCarch/ | +1 | 1 reply | Applied |
| 6/10 | perf: RISC-V: Eliminate redundant interrupt enable/disable operationsdrivers/ | +0 | 0 replies | Applied |
| 7/10 | perf: RISC-V: Introduce Andes PMU to support perf event samplingarch/ arch/ arch/ +2 more | +48 | 0 replies | Applied |
| 8/10 | dt-bindings: riscv: Add Andes PMU extension descriptionDocumentation/ | +7 | 0 replies | Applied |
| 9/10 | riscv: dts: renesas: Add Andes PMU extension for r9a07g043farch/ | +1 | 1 reply | Applied |
| 10/10 | riscv: andes: Support specifying symbolic firmware and hardware raw eventstools/ tools/ tools/ +2 more | +330 | 0 replies | Applied |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Charles Ci-Jyun Wu | Leo Yu-Chi Liang | Conor Dooley | Lad Prabhakar | Randolph | Anup Patel | Atish Patra | Geert Uytterhoeven | Yu Chien Peter Lin | Ian Rogers | Thomas Gleixner |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/10 | R-b | R-b | A-b | R-b | |||||||
| 2/10 | R-b | R-b | R-b | R-b | |||||||
| 3/10 | R-b | R-b | R-b | ||||||||
| 4/10 | A-b | R-b | |||||||||
| 5/10 | R-b T-b | R-b A-b | |||||||||
| 6/10 | R-b | ||||||||||
| 7/10 | R-b | R-b | R-b T-b | ||||||||
| 8/10 | A-b | R-b | |||||||||
| 9/10 | A-b | R-b T-b | R-b A-b | ||||||||
| 10/10 | R-b | R-b | T-b | A-b | R-b | A-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 11 reviewers.
Cover letter [PATCH v9 00/10] Support Andes PMU extension
Hi All,
This patch series introduces the Andes PMU extension, which serves the same purpose as Sscofpmf and Smcntrpmf. Its non-standard local interrupt is assigned to bit 18 in the custom S-mode local interrupt enable and pending registers (slie/slip), while the interrupt cause is (256 + 18).
The series can be found on Andes Technology GitHub:
- https://github.com/andestech/linux/commits/andes-pmu-support-v9
The PMU device tree node used on AX45MP:
- https://github.com/riscv-software-src/opensbi/blob/master/docs/pmu_support.md#example-3
Locus Wei-Han Chen (1):
riscv: andes: Support specifying symbolic firmware and hardware raw
events
Yu Chien Peter Lin (9):
riscv: errata: Rename defines for Andes irqchip/riscv-intc: Allow large non-standard interrupt number irqchip/riscv-intc: Introduce Andes hart-level interrupt controller
dt-bindings: riscv: Add Andes interrupt controller compatible string
riscv: dts: renesas: r9a07g043f: Update compatible string to use Andes
INTC
perf: RISC-V: Eliminate redundant interrupt enable/disable operations
perf: RISC-V: Introduce Andes PMU to support perf event sampling
dt-bindings: riscv: Add Andes PMU extension description
riscv: dts: renesas: Add Andes PMU extension for r9a07g043f
.../devicetree/bindings/riscv/cpus.yaml | 6 +- .../devicetree/bindings/riscv/extensions.yaml | 7 + arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 4 +- arch/riscv/errata/andes/errata.c | 10 +- arch/riscv/include/asm/errata_list.h | 13 +- arch/riscv/include/asm/hwcap.h | 1 + arch/riscv/include/asm/vendorid_list.h | 2 +- arch/riscv/kernel/alternative.c | 2 +- arch/riscv/kernel/cpufeature.c | 1 + drivers/irqchip/irq-riscv-intc.c | 82 +++++++++-- drivers/perf/Kconfig | 14 ++ drivers/perf/riscv_pmu_sbi.c | 37 ++++- include/linux/soc/andes/irq.h | 18 +++ .../arch/riscv/andes/ax45/firmware.json | 68 ++++++++++ .../arch/riscv/andes/ax45/instructions.json | 127 ++++++++++++++++++ .../arch/riscv/andes/ax45/memory.json | 57 ++++++++ .../arch/riscv/andes/ax45/microarch.json | 77 +++++++++++ tools/perf/pmu-events/arch/riscv/mapfile.csv | 1 + 18 files changed, 488 insertions(+), 39 deletions(-) create mode 100644 include/linux/soc/andes/irq.h create mode 100644 tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json create mode 100644 tools/perf/pmu-events/arch/riscv/andes/ax45/instructions.json create mode 100644 tools/perf/pmu-events/arch/riscv/andes/ax45/memory.json create mode 100644 tools/perf/pmu-events/arch/riscv/andes/ax45/microarch.json
Signature · 1 line
2.34.1