Add support for ARM Cortex-A78 PMU
Subsystems (5)
v2 cover Add support for ARM Cortex-A78 PMU
Add support for ARM Cortex-A78 PMU since it will be used in new Mediatek SoC.
Based on v5.11-rc6
Change in v2:
Remove change-id in commit message
Seiya Wang (2):
arm64: perf: add support for Cortex-A78
dt-bindings: arm: add Cortex-A78 binding
Documentation/devicetree/bindings/arm/pmu.yaml | 1 + arch/arm64/kernel/perf_event.c | 7 +++++++ 2 files changed, 8 insertions(+)
--
2.14.1
PATCH v2 1/2 arm64: perf: add support for Cortex-A78
Add support for Cortex-A78 using generic PMUv3 for now.
--- arch/arm64/kernel/perf_event.c | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/kernel/perf_event.c +7 -0
@@ -1190,6 +1190,12 @@ static int armv8_a77_pmu_init(struct arm_pmu *cpu_pmu) armv8_pmuv3_map_event); } +static int armv8_a78_pmu_init (struct arm_pmu *cpu_pmu) +{ +return armv8_pmu_init_nogroups (cpu_pmu,"armv8_cortex_a78" , + armv8_pmuv3_map_event); +} +static int armv8_e1_pmu_init (struct arm_pmu *cpu_pmu) { return armv8_pmu_init_nogroups(cpu_pmu, "armv8_neoverse_e1",
@@ -1227,6 +1233,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = { {.compatible = "arm,cortex-a75-pmu", .data = armv8_a75_pmu_init}, {.compatible = "arm,cortex-a76-pmu", .data = armv8_a76_pmu_init}, {.compatible = "arm,cortex-a77-pmu", .data = armv8_a77_pmu_init}, + {.compatible = "arm,cortex-a78-pmu", .data = armv8_a78_pmu_init}, {.compatible = "arm,neoverse-e1-pmu", .data = armv8_e1_pmu_init}, {.compatible = "arm,neoverse-n1-pmu", .data = armv8_n1_pmu_init}, {.compatible = "cavium,thunder-pmu", .data = armv8_thunder_pmu_init},
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 2/2 dt-bindings: arm: add Cortex-A78 binding
In reply to Seiya WangAdd compatible for Cortex-A78 PMU
--- Documentation/devicetree/bindings/arm/pmu.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/pmu.yaml +1 -0
@@ -43,6 +43,7 @@ properties: - arm,cortex-a75-pmu - arm,cortex-a76-pmu - arm,cortex-a77-pmu + - arm,cortex-a78-pmu - arm,neoverse-e1-pmu - arm,neoverse-n1-pmu - brcm,vulcan-pmu
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 4 lines · Seiya Wang
Add support for ARM Cortex-A78 PMU since it will be used in new Mediatek SoC.
Quoted 8 lines
Based on v5.11-rc6
Change in v2:
Remove change-id in commit messageSeiya Wang (2):
arm64: perf: add support for Cortex-A78
dt-bindings: arm: add Cortex-A78 binding
Both patches look good to me:
Will, I assume you'll pick this up.
Mark
Quoted 8 lines
Documentation/devicetree/bindings/arm/pmu.yaml | 1 + arch/arm64/kernel/perf_event.c | 7 +++++++ 2 files changed, 8 insertions(+)--
2.14.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 9 lines · Seiya Wang
Add support for ARM Cortex-A78 PMU since it will be used in new Mediatek SoC.
Based on v5.11-rc6
Change in v2:
Remove change-id in commit message[...]
Applied to will (for-next/perf), thanks!
[1/2] arm64: perf: add support for Cortex-A78
https://git.kernel.org/will/c/db2bb91f2e8e [2/2] dt-bindings: arm: add Cortex-A78 binding https://git.kernel.org/will/c/750d43b4a79e
Cheers,
Signature · 10 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek