* [PATCH v5 0/8] arm64: dts: Add Arm Morello support
@ 2025-02-13 18:03 Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
` (7 more replies)
0 siblings, 8 replies; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
The Morello architecture is an experimental extension to Armv8.2-A,
which extends the AArch64 state with the principles proposed in
version 7 of the Capability Hardware Enhanced RISC Instructions
(CHERI) ISA [1].
This series adds dts support for the Arm Morello System Development
Platform.
[1] https://www.morello-project.org/
To simplify the testing a linux tree rebased on 6.14-rc1 is accessible
at [2].
[2] https://codeberg.org/vincenzo/linux/src/branch/morello/dts/v5
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Changes
=======
v5:
- Add support for fvp.
- Add support for pmu.
- Address review comments.
- Rebase on 6.14-rc1.
v4:
- Add cache information.
- Address review comments.
v3:
- Address review comments.
- Rebase on 6.13-rc5.
v2:
- Addressed review comments.
- Rebased on 6.13-rc4.
- Renamed arm,morello to arm,morello-sdp for clarity.
Vincenzo Frascino (8):
dt-bindings: arm: Add Morello compatibility
dt-bindings: arm: Add Morello fvp compatibility
dt-bindings: arm: Add Rainier compatibility
perf: arm_pmuv3: Add support for ARM Rainier PMU
arm64: dts: morello: Add support for common functionalities
arm64: dts: morello: Add support for soc dts
arm64: dts: morello: Add support for fvp dts
MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer
.../bindings/arm/arm,vexpress-juno.yaml | 8 +
.../devicetree/bindings/arm/cpus.yaml | 1 +
.../devicetree/bindings/arm/pmu.yaml | 1 +
MAINTAINERS | 6 +
arch/arm64/boot/dts/arm/Makefile | 1 +
arch/arm64/boot/dts/arm/morello-fvp.dts | 78 +++++
arch/arm64/boot/dts/arm/morello-sdp.dts | 157 +++++++++
arch/arm64/boot/dts/arm/morello.dtsi | 323 ++++++++++++++++++
drivers/perf/arm_pmuv3.c | 2 +
9 files changed, 577 insertions(+)
create mode 100644 arch/arm64/boot/dts/arm/morello-fvp.dts
create mode 100644 arch/arm64/boot/dts/arm/morello-sdp.dts
create mode 100644 arch/arm64/boot/dts/arm/morello.dtsi
--
2.43.0
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-14 10:38 ` Linus Walleij
2025-02-13 18:03 ` [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
` (6 subsequent siblings)
7 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland,
Krzysztof Kozlowski
Add compatibility to Arm Morello System Development Platform.
Note: Morello is at the same time the name of an Architecture [1], an SoC
[2] and a Board [2].
To distinguish in between Architecture/SoC and Board we refer to the first
as arm,morello and to the second as arm,morello-sdp.
[1] https://developer.arm.com/Architectures/Morello
[2] https://www.morello-project.org/
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
index 8dd6b6446394..40e7910756c8 100644
--- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
@@ -118,6 +118,10 @@ properties:
items:
- const: arm,foundation-aarch64
- const: arm,vexpress
+ - description: Arm Morello System Development Platform
+ items:
+ - const: arm,morello-sdp
+ - const: arm,morello
arm,vexpress,position:
description: When daughterboards are stacked on one site, their position
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
` (5 subsequent siblings)
7 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
Add compatibility to Arm Morello Fixed Virtual Platform.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
index 40e7910756c8..e71e3e33c4be 100644
--- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
@@ -122,6 +122,10 @@ properties:
items:
- const: arm,morello-sdp
- const: arm,morello
+ - description: Arm Morello Fixed Virtual Platform
+ items:
+ - const: arm,morello-fvp
+ - const: arm,morello
arm,vexpress,position:
description: When daughterboards are stacked on one site, their position
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU Vincenzo Frascino
` (4 subsequent siblings)
7 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
The Arm Morello System Development Platform uses Rainier CPUs.
Add compatibility to Rainier.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 73dd73d2d4fa..2e666b2a4dcd 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -177,6 +177,7 @@ properties:
- arm,neoverse-v2
- arm,neoverse-v3
- arm,neoverse-v3ae
+ - arm,rainier
- brcm,brahma-b15
- brcm,brahma-b53
- brcm,vulcan
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
` (2 preceding siblings ...)
2025-02-13 18:03 ` [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-14 8:13 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 5/8] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
` (3 subsequent siblings)
7 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
Add support for the ARM Rainier CPU core PMU.
Note: Coherently, add dt bindings for the same PMU.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
drivers/perf/arm_pmuv3.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml
index a148ff54f2b8..295963a3cae7 100644
--- a/Documentation/devicetree/bindings/arm/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/pmu.yaml
@@ -67,6 +67,7 @@ properties:
- arm,neoverse-v2-pmu
- arm,neoverse-v3-pmu
- arm,neoverse-v3ae-pmu
+ - arm,rainier-pmu
- brcm,vulcan-pmu
- cavium,thunder-pmu
- nvidia,denver-pmu
diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c
index 0e360feb3432..3785522a08e7 100644
--- a/drivers/perf/arm_pmuv3.c
+++ b/drivers/perf/arm_pmuv3.c
@@ -1369,6 +1369,7 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v1)
PMUV3_INIT_SIMPLE(armv8_neoverse_v2)
PMUV3_INIT_SIMPLE(armv8_neoverse_v3)
PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae)
+PMUV3_INIT_SIMPLE(armv8_rainier)
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
@@ -1416,6 +1417,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
{.compatible = "arm,neoverse-v2-pmu", .data = armv8_neoverse_v2_pmu_init},
{.compatible = "arm,neoverse-v3-pmu", .data = armv8_neoverse_v3_pmu_init},
{.compatible = "arm,neoverse-v3ae-pmu", .data = armv8_neoverse_v3ae_pmu_init},
+ {.compatible = "arm,rainier-pmu", .data = armv8_rainier_pmu_init},
{.compatible = "cavium,thunder-pmu", .data = armv8_cavium_thunder_pmu_init},
{.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init},
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 5/8] arm64: dts: morello: Add support for common functionalities
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
` (3 preceding siblings ...)
2025-02-13 18:03 ` [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 6/8] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
` (2 subsequent siblings)
7 siblings, 0 replies; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
The Morello architecture is an experimental extension to Armv8.2-A,
which extends the AArch64 state with the principles proposed in
version 7 of the Capability Hardware Enhanced RISC Instructions
(CHERI) ISA.
The Morello Platform (soc) and the Fixed Virtual Platfom (fvp) share
some functionalities that have conveniently been included in
morello.dtsi to avoid duplication.
Introduce morello.dtsi.
Note: Morello fvp will be introduced with a future patch series.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
arch/arm64/boot/dts/arm/morello.dtsi | 323 +++++++++++++++++++++++++++
1 file changed, 323 insertions(+)
create mode 100644 arch/arm64/boot/dts/arm/morello.dtsi
diff --git a/arch/arm64/boot/dts/arm/morello.dtsi b/arch/arm64/boot/dts/arm/morello.dtsi
new file mode 100644
index 000000000000..e35e5e482720
--- /dev/null
+++ b/arch/arm64/boot/dts/arm/morello.dtsi
@@ -0,0 +1,323 @@
+// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+/*
+ * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
+ */
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+
+/ {
+ interrupt-parent = <&gic>;
+
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ soc_refclk50mhz: clock-50000000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <50000000>;
+ clock-output-names = "apb_pclk";
+ };
+
+ soc_refclk85mhz: clock-85000000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <85000000>;
+ clock-output-names = "iofpga:aclk";
+ };
+
+ cpus {
+ #address-cells = <2>;
+ #size-cells = <0>;
+
+ cpu0: cpu@0 {
+ compatible = "arm,rainier";
+ reg = <0x0 0x0>;
+ device_type = "cpu";
+ enable-method = "psci";
+ /* 4 ways set associative */
+ i-cache-size = <0x10000>;
+ i-cache-line-size = <64>;
+ i-cache-sets = <512>;
+ d-cache-size = <0x10000>;
+ d-cache-line-size = <64>;
+ d-cache-sets = <512>;
+ next-level-cache = <&l2_0>;
+ clocks = <&scmi_dvfs 0>;
+
+ l2_0: l2-cache-0 {
+ compatible = "cache";
+ cache-level = <2>;
+ /* 8 ways set associative */
+ cache-size = <0x100000>;
+ cache-line-size = <64>;
+ cache-sets = <2048>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+
+ l3_0: l3-cache {
+ compatible = "cache";
+ cache-level = <3>;
+ cache-size = <0x100000>;
+ cache-unified;
+ };
+ };
+ };
+
+ cpu1: cpu@100 {
+ compatible = "arm,rainier";
+ reg = <0x0 0x100>;
+ device_type = "cpu";
+ enable-method = "psci";
+ /* 4 ways set associative */
+ i-cache-size = <0x10000>;
+ i-cache-line-size = <64>;
+ i-cache-sets = <512>;
+ d-cache-size = <0x10000>;
+ d-cache-line-size = <64>;
+ d-cache-sets = <512>;
+ next-level-cache = <&l2_1>;
+ clocks = <&scmi_dvfs 0>;
+
+ l2_1: l2-cache-1 {
+ compatible = "cache";
+ cache-level = <2>;
+ /* 8 ways set associative */
+ cache-size = <0x100000>;
+ cache-line-size = <64>;
+ cache-sets = <2048>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+
+ cpu2: cpu@10000 {
+ compatible = "arm,rainier";
+ reg = <0x0 0x10000>;
+ device_type = "cpu";
+ enable-method = "psci";
+ /* 4 ways set associative */
+ i-cache-size = <0x10000>;
+ i-cache-line-size = <64>;
+ i-cache-sets = <512>;
+ d-cache-size = <0x10000>;
+ d-cache-line-size = <64>;
+ d-cache-sets = <512>;
+ next-level-cache = <&l2_2>;
+ clocks = <&scmi_dvfs 1>;
+
+ l2_2: l2-cache-2 {
+ compatible = "cache";
+ cache-level = <2>;
+ /* 8 ways set associative */
+ cache-size = <0x100000>;
+ cache-line-size = <64>;
+ cache-sets = <2048>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+
+ cpu3: cpu@10100 {
+ compatible = "arm,rainier";
+ reg = <0x0 0x10100>;
+ device_type = "cpu";
+ enable-method = "psci";
+ /* 4 ways set associative */
+ i-cache-size = <0x10000>;
+ i-cache-line-size = <64>;
+ i-cache-sets = <512>;
+ d-cache-size = <0x10000>;
+ d-cache-line-size = <64>;
+ d-cache-sets = <512>;
+ next-level-cache = <&l2_3>;
+ clocks = <&scmi_dvfs 1>;
+
+ l2_3: l2-cache-3 {
+ compatible = "cache";
+ cache-level = <2>;
+ /* 8 ways set associative */
+ cache-size = <0x100000>;
+ cache-line-size = <64>;
+ cache-sets = <2048>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+ };
+
+ firmware {
+ interrupt-parent = <&gic>;
+
+ scmi {
+ compatible = "arm,scmi";
+ mbox-names = "tx", "rx";
+ mboxes = <&mailbox 1 0>, <&mailbox 1 1>;
+ shmem = <&cpu_scp_hpri0>, <&cpu_scp_hpri1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ scmi_dvfs: protocol@13 {
+ reg = <0x13>;
+ #clock-cells = <1>;
+ };
+
+ scmi_clk: protocol@14 {
+ reg = <0x14>;
+ #clock-cells = <1>;
+ };
+ };
+ };
+
+ /* The first bank of memory, memory map is actually provided by UEFI. */
+ memory@80000000 {
+ device_type = "memory";
+ /* [0x80000000-0xffffffff] */
+ reg = <0x00000000 0x80000000 0x0 0x7f000000>;
+ };
+
+ memory@8080000000 {
+ device_type = "memory";
+ /* [0x8080000000-0x83f7ffffff] */
+ reg = <0x00000080 0x80000000 0x3 0x78000000>;
+ };
+
+ pmu {
+ compatible = "arm,rainier-pmu";
+ interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ psci {
+ compatible = "arm,psci-0.2";
+ method = "smc";
+ };
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ secure-firmware@ff000000 {
+ reg = <0x0 0xff000000 0x0 0x01000000>;
+ no-map;
+ };
+ };
+
+ spe-pmu {
+ compatible = "arm,statistical-profiling-extension-v1";
+ interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ soc: soc {
+ compatible = "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ interrupt-parent = <&gic>;
+ ranges;
+
+ uart0: serial@2a400000 {
+ compatible = "arm,pl011", "arm,primecell";
+ reg = <0x0 0x2a400000 0x0 0x1000>;
+ interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&soc_refclk50mhz>, <&soc_refclk50mhz>;
+ clock-names = "uartclk", "apb_pclk";
+
+ status = "disabled";
+ };
+
+ gic: interrupt-controller@2c010000 {
+ compatible = "arm,gic-v3";
+ reg = <0x0 0x30000000 0x0 0x10000>, /* GICD */
+ <0x0 0x300c0000 0x0 0x80000>; /* GICR */
+
+ interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+
+ #interrupt-cells = <3>;
+ interrupt-controller;
+
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ its1: msi-controller@30040000 {
+ compatible = "arm,gic-v3-its";
+ reg = <0x0 0x30040000 0x0 0x20000>;
+
+ msi-controller;
+ #msi-cells = <1>;
+ };
+
+ its2: msi-controller@30060000 {
+ compatible = "arm,gic-v3-its";
+ reg = <0x0 0x30060000 0x0 0x20000>;
+
+ msi-controller;
+ #msi-cells = <1>;
+ };
+
+ its_ccix: msi-controller@30080000 {
+ compatible = "arm,gic-v3-its";
+ reg = <0x0 0x30080000 0x0 0x20000>;
+
+ msi-controller;
+ #msi-cells = <1>;
+ };
+
+ its_pcie: msi-controller@300a0000 {
+ compatible = "arm,gic-v3-its";
+ reg = <0x0 0x300a0000 0x0 0x20000>;
+
+ msi-controller;
+ #msi-cells = <1>;
+ };
+ };
+
+ smmu_dp: iommu@2ce00000 {
+ compatible = "arm,smmu-v3";
+ reg = <0x0 0x2ce00000 0x0 0x40000>;
+
+ interrupts = <GIC_SPI 76 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "eventq", "gerror", "cmdq-sync";
+ #iommu-cells = <1>;
+ };
+
+ mailbox: mhu@45000000 {
+ compatible = "arm,mhu-doorbell", "arm,primecell";
+ reg = <0x0 0x45000000 0x0 0x1000>;
+
+ interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>;
+ #mbox-cells = <2>;
+ clocks = <&soc_refclk50mhz>;
+ clock-names = "apb_pclk";
+ };
+
+ sram: sram@45200000 {
+ compatible = "mmio-sram";
+ reg = <0x0 0x06000000 0x0 0x8000>;
+ ranges = <0 0x0 0x06000000 0x8000>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cpu_scp_hpri0: scp-sram@0 {
+ compatible = "arm,scmi-shmem";
+ reg = <0x0 0x80>;
+ };
+
+ cpu_scp_hpri1: scp-sram@80 {
+ compatible = "arm,scmi-shmem";
+ reg = <0x80 0x80>;
+ };
+ };
+ };
+
+ timer {
+ compatible = "arm,armv8-timer";
+ interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 6/8] arm64: dts: morello: Add support for soc dts
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
` (4 preceding siblings ...)
2025-02-13 18:03 ` [PATCH v5 5/8] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 7/8] arm64: dts: morello: Add support for fvp dts Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
7 siblings, 0 replies; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
The Morello architecture is an experimental extension to Armv8.2-A,
which extends the AArch64 state with the principles proposed in
version 7 of the Capability Hardware Enhanced RISC Instructions
(CHERI) ISA.
Introduce Morello SoC dts.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
arch/arm64/boot/dts/arm/Makefile | 1 +
arch/arm64/boot/dts/arm/morello-sdp.dts | 157 ++++++++++++++++++++++++
2 files changed, 158 insertions(+)
create mode 100644 arch/arm64/boot/dts/arm/morello-sdp.dts
diff --git a/arch/arm64/boot/dts/arm/Makefile b/arch/arm64/boot/dts/arm/Makefile
index d908e96d7ddc..869667bef7c0 100644
--- a/arch/arm64/boot/dts/arm/Makefile
+++ b/arch/arm64/boot/dts/arm/Makefile
@@ -7,3 +7,4 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb
+dtb-$(CONFIG_ARCH_VEXPRESS) += morello-sdp.dtb
diff --git a/arch/arm64/boot/dts/arm/morello-sdp.dts b/arch/arm64/boot/dts/arm/morello-sdp.dts
new file mode 100644
index 000000000000..cee49dee7571
--- /dev/null
+++ b/arch/arm64/boot/dts/arm/morello-sdp.dts
@@ -0,0 +1,157 @@
+// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+/*
+ * Copyright (c) 2021-2024, Arm Limited. All rights reserved.
+ */
+
+/dts-v1/;
+#include "morello.dtsi"
+
+/ {
+ model = "Arm Morello System Development Platform";
+ compatible = "arm,morello-sdp", "arm,morello";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ dpu_aclk: clock-350000000 {
+ /* 77.1 MHz derived from 24 MHz reference clock */
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <350000000>;
+ clock-output-names = "aclk";
+ };
+
+ dpu_pixel_clk: clock-148500000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ clock-output-names = "pxclk";
+ };
+
+ i2c0: i2c@1c0f0000 {
+ compatible = "cdns,i2c-r1p14";
+ reg = <0x0 0x1c0f0000 0x0 0x1000>;
+ interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&dpu_aclk>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ clock-frequency = <100000>;
+
+ hdmi_tx: hdmi-transmitter@70 {
+ compatible = "nxp,tda998x";
+ reg = <0x70>;
+ video-ports = <0x234501>;
+ port {
+ tda998x_0_input: endpoint {
+ remote-endpoint = <&dp_pl0_out0>;
+ };
+ };
+ };
+ };
+
+ dp0: display@2cc00000 {
+ compatible = "arm,mali-d32", "arm,mali-d71";
+ reg = <0x0 0x2cc00000 0x0 0x20000>;
+ interrupts = <0 69 4>;
+ clocks = <&dpu_aclk>;
+ clock-names = "aclk";
+ iommus = <&smmu_dp 0>, <&smmu_dp 1>, <&smmu_dp 2>, <&smmu_dp 3>,
+ <&smmu_dp 8>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pl0: pipeline@0 {
+ reg = <0>;
+ clocks = <&dpu_pixel_clk>;
+ clock-names = "pxclk";
+ port {
+ dp_pl0_out0: endpoint {
+ remote-endpoint = <&tda998x_0_input>;
+ };
+ };
+ };
+ };
+
+ smmu_ccix: iommu@4f000000 {
+ compatible = "arm,smmu-v3";
+ reg = <0x0 0x4f000000 0x0 0x40000>;
+
+ interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
+ msi-parent = <&its1 0>;
+ #iommu-cells = <1>;
+ dma-coherent;
+ };
+
+ smmu_pcie: iommu@4f400000 {
+ compatible = "arm,smmu-v3";
+ reg = <0x0 0x4f400000 0x0 0x40000>;
+
+ interrupts = <GIC_SPI 235 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 237 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
+ msi-parent = <&its2 0>;
+ #iommu-cells = <1>;
+ dma-coherent;
+ };
+
+ pcie_ctlr: pcie@28c0000000 {
+ device_type = "pci";
+ compatible = "pci-host-ecam-generic";
+ reg = <0x28 0xC0000000 0 0x10000000>;
+ ranges = <0x01000000 0x00 0x00000000 0x00 0x6f000000 0x00 0x00800000>,
+ <0x02000000 0x00 0x60000000 0x00 0x60000000 0x00 0x0f000000>,
+ <0x42000000 0x09 0x00000000 0x09 0x00000000 0x1f 0xc0000000>;
+ bus-range = <0 255>;
+ linux,pci-domain = <0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ dma-coherent;
+ #interrupt-cells = <1>;
+ interrupt-map-mask = <0 0 0 7>;
+ interrupt-map = <0 0 0 1 &gic 0 0 0 169 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 2 &gic 0 0 0 170 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 3 &gic 0 0 0 171 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 4 &gic 0 0 0 172 IRQ_TYPE_LEVEL_HIGH>;
+ msi-map = <0 &its_pcie 0 0x10000>;
+ iommu-map = <0 &smmu_pcie 0 0x10000>;
+ };
+
+ ccix_pcie_ctlr: pcie@4fc0000000 {
+ device_type = "pci";
+ compatible = "pci-host-ecam-generic";
+ reg = <0x4f 0xC0000000 0 0x10000000>;
+ ranges = <0x01000000 0x00 0x00000000 0x00 0x7f000000 0x00 0x00800000>,
+ <0x02000000 0x00 0x70000000 0x00 0x70000000 0x00 0x0f000000>,
+ <0x42000000 0x30 0x00000000 0x30 0x00000000 0x1f 0xc0000000>;
+ linux,pci-domain = <1>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ dma-coherent;
+ #interrupt-cells = <1>;
+ interrupt-map-mask = <0 0 0 7>;
+ interrupt-map = <0 0 0 1 &gic 0 0 0 201 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 2 &gic 0 0 0 202 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 3 &gic 0 0 0 203 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 4 &gic 0 0 0 204 IRQ_TYPE_LEVEL_HIGH>;
+ msi-map = <0 &its_ccix 0 0x10000>;
+ iommu-map = <0 &smmu_ccix 0 0x10000>;
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 7/8] arm64: dts: morello: Add support for fvp dts
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
` (5 preceding siblings ...)
2025-02-13 18:03 ` [PATCH v5 6/8] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
7 siblings, 0 replies; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland
The Morello architecture is an experimental extension to Armv8.2-A,
which extends the AArch64 state with the principles proposed in
version 7 of the Capability Hardware Enhanced RISC Instructions
(CHERI) ISA.
Introduce Morello fvp dts.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
arch/arm64/boot/dts/arm/Makefile | 2 +-
arch/arm64/boot/dts/arm/morello-fvp.dts | 78 +++++++++++++++++++++++++
2 files changed, 79 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/arm/morello-fvp.dts
diff --git a/arch/arm64/boot/dts/arm/Makefile b/arch/arm64/boot/dts/arm/Makefile
index 869667bef7c0..f30ee045dc95 100644
--- a/arch/arm64/boot/dts/arm/Makefile
+++ b/arch/arm64/boot/dts/arm/Makefile
@@ -7,4 +7,4 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb
-dtb-$(CONFIG_ARCH_VEXPRESS) += morello-sdp.dtb
+dtb-$(CONFIG_ARCH_VEXPRESS) += morello-sdp.dtb morello-fvp.dtb
diff --git a/arch/arm64/boot/dts/arm/morello-fvp.dts b/arch/arm64/boot/dts/arm/morello-fvp.dts
new file mode 100644
index 000000000000..c8d38bebd1ec
--- /dev/null
+++ b/arch/arm64/boot/dts/arm/morello-fvp.dts
@@ -0,0 +1,78 @@
+
+// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+/*
+ * Copyright (c) 2021-2024, Arm Limited. All rights reserved.
+ */
+
+/dts-v1/;
+#include "morello.dtsi"
+
+/ {
+ model = "Arm Morello Fixed Virtual Platform";
+ compatible = "arm,morello-fvp", "arm,morello";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ bp_refclock24mhz: clock-24000000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <24000000>;
+ clock-output-names = "bp:clock24mhz";
+ };
+
+ block_0: virtio_block@1c170000 {
+ compatible = "virtio,mmio";
+ reg = <0x0 0x1c170000 0x0 0x200>;
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ net_0: virtio_net@1c180000 {
+ compatible = "virtio,mmio";
+ reg = <0x0 0x1c180000 0x0 0x200>;
+ interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ rng_0: virtio_rng@1c190000 {
+ compatible = "virtio,mmio";
+ reg = <0x0 0x1c190000 0x0 0x200>;
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ p9_0: virtio_p9@1c1a0000 {
+ compatible = "virtio,mmio";
+ reg = <0x0 0x1c1a0000 0x0 0x200>;
+ interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ kmi_0: kmi@1c150000 {
+ compatible = "arm,pl050", "arm,primecell";
+ reg = <0x0 0x1c150000 0x0 0x1000>;
+ interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&bp_refclock24mhz>, <&bp_refclock24mhz>;
+ clock-names = "KMIREFCLK", "apb_pclk";
+ };
+
+ kmi_1: kmi@1c160000 {
+ compatible = "arm,pl050", "arm,primecell";
+ reg = <0x0 0x1c160000 0x0 0x1000>;
+ interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&bp_refclock24mhz>, <&bp_refclock24mhz>;
+ clock-names = "KMIREFCLK", "apb_pclk";
+ };
+
+ eth_0: ethernet@1d100000 {
+ compatible = "smsc,lan91c111";
+ reg = <0x0 0x1d100000 0x0 0x10000>;
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
` (6 preceding siblings ...)
2025-02-13 18:03 ` [PATCH v5 7/8] arm64: dts: morello: Add support for fvp dts Vincenzo Frascino
@ 2025-02-13 18:03 ` Vincenzo Frascino
7 siblings, 0 replies; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-13 18:03 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel
Cc: Vincenzo Frascino, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland,
Krzysztof Kozlowski
Add Vincenzo Frascino <vincenzo.frascino@arm.com> as Arm Morello Software
Development Platform Maintainer.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
MAINTAINERS | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 873aa2cce4d7..9161de8e7447 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2751,6 +2751,12 @@ F: arch/arm/boot/dts/socionext/milbeaut*
F: arch/arm/mach-milbeaut/
N: milbeaut
+ARM/MORELLO PLATFORM
+M: Vincenzo Frascino <vincenzo.frascino@arm.com>
+L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+S: Maintained
+F: arch/arm64/boot/dts/arm/morello*
+
ARM/MOXA ART SOC
M: Krzysztof Kozlowski <krzk@kernel.org>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
--
2.43.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-13 18:03 ` [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
@ 2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-18 18:07 ` Vincenzo Frascino
0 siblings, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-14 8:12 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On Thu, Feb 13, 2025 at 06:03:03PM +0000, Vincenzo Frascino wrote:
> Add compatibility to Arm Morello Fixed Virtual Platform.
>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> ---
> Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
> index 40e7910756c8..e71e3e33c4be 100644
> --- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
> @@ -122,6 +122,10 @@ properties:
> items:
> - const: arm,morello-sdp
That's just part of the enum here.
> - const: arm,morello
> + - description: Arm Morello Fixed Virtual Platform
> + items:
> + - const: arm,morello-fvp
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility
2025-02-13 18:03 ` [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
@ 2025-02-14 8:12 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-14 8:12 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On Thu, Feb 13, 2025 at 06:03:04PM +0000, Vincenzo Frascino wrote:
> The Arm Morello System Development Platform uses Rainier CPUs.
>
> Add compatibility to Rainier.
>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> ---
> Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU
2025-02-13 18:03 ` [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU Vincenzo Frascino
@ 2025-02-14 8:13 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-14 8:13 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On Thu, Feb 13, 2025 at 06:03:05PM +0000, Vincenzo Frascino wrote:
> Add support for the ARM Rainier CPU core PMU.
>
> Note: Coherently, add dt bindings for the same PMU.
>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> ---
> Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
Bindings are separate patches.
Please run scripts/checkpatch.pl and fix reported warnings. After that,
run also 'scripts/checkpatch.pl --strict' and (probably) fix more
warnings. Some warnings can be ignored, especially from --strict run,
but the code here looks like it needs a fix. Feel free to get in touch
if the warning is not clear.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
@ 2025-02-14 10:38 ` Linus Walleij
2025-02-18 15:11 ` Sudeep Holla
0 siblings, 1 reply; 18+ messages in thread
From: Linus Walleij @ 2025-02-14 10:38 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Liviu Dudau, Sudeep Holla,
Lorenzo Pieralisi, Russell King, Will Deacon, Mark Rutland,
Krzysztof Kozlowski
Hi Vincenzo,
thanks for your patch!
On Thu, Feb 13, 2025 at 7:03 PM Vincenzo Frascino
<vincenzo.frascino@arm.com> wrote:
> Add compatibility to Arm Morello System Development Platform.
>
> Note: Morello is at the same time the name of an Architecture [1], an SoC
> [2] and a Board [2].
> To distinguish in between Architecture/SoC and Board we refer to the first
> as arm,morello and to the second as arm,morello-sdp.
>
> [1] https://developer.arm.com/Architectures/Morello
> [2] https://www.morello-project.org/
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> ---
> Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
I was thinking, that since the .dtsi and .dts files are not reusing
any of the Juno .dtsi (correct me if I'm wrong!) this should not
be in vexpress-juno.yaml, instead perhaps you should create a new
morello.yaml file?
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility
2025-02-14 10:38 ` Linus Walleij
@ 2025-02-18 15:11 ` Sudeep Holla
0 siblings, 0 replies; 18+ messages in thread
From: Sudeep Holla @ 2025-02-18 15:11 UTC (permalink / raw)
To: Linus Walleij
Cc: Vincenzo Frascino, devicetree, linux-kernel, Sudeep Holla,
linux-arm-kernel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Liviu Dudau, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland, Krzysztof Kozlowski
On Fri, Feb 14, 2025 at 11:38:54AM +0100, Linus Walleij wrote:
> Hi Vincenzo,
>
> thanks for your patch!
>
> On Thu, Feb 13, 2025 at 7:03 PM Vincenzo Frascino
> <vincenzo.frascino@arm.com> wrote:
>
> > Add compatibility to Arm Morello System Development Platform.
> >
> > Note: Morello is at the same time the name of an Architecture [1], an SoC
> > [2] and a Board [2].
> > To distinguish in between Architecture/SoC and Board we refer to the first
> > as arm,morello and to the second as arm,morello-sdp.
> >
> > [1] https://developer.arm.com/Architectures/Morello
> > [2] https://www.morello-project.org/
> >
> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> > ---
> > Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
>
> I was thinking, that since the .dtsi and .dts files are not reusing
> any of the Juno .dtsi (correct me if I'm wrong!) this should not
> be in vexpress-juno.yaml, instead perhaps you should create a new
> morello.yaml file?
>
It is me who suggested to put it along with other vexpress stuff as I
wasn't sure how much of vexpress bindings will be reused here when
Vincenzo started this. I agree it can be a separate binding on its own
as I don't see much commonality now with the vexpress bindings.
Just a note, though the file is named arm,vexpress-juno.yaml, it also
carries bindings for all Vexpress based Arm Ltd boards(both 32-bit and
64-bit ones), but they all use common vexpress bindings in general.
I just thought of highlighting that so that the expectation to reuse
this file is not to check commonality in juno dtsi files but to check
the vexpress binding reuse. Hope we are aligned with that.
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-14 8:12 ` Krzysztof Kozlowski
@ 2025-02-18 18:07 ` Vincenzo Frascino
2025-02-19 7:13 ` Krzysztof Kozlowski
0 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-18 18:07 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On 14/02/2025 08:12, Krzysztof Kozlowski wrote:
> On Thu, Feb 13, 2025 at 06:03:03PM +0000, Vincenzo Frascino wrote:
>> Add compatibility to Arm Morello Fixed Virtual Platform.
>>
>> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
>> ---
>> Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>> index 40e7910756c8..e71e3e33c4be 100644
>> --- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>> +++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>> @@ -122,6 +122,10 @@ properties:
>> items:
>> - const: arm,morello-sdp
>
> That's just part of the enum here.
>
I am not sure on what you want me to do :)
--->8---
diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
index 40e7910756c8..8de508b977b0 100644
--- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
@@ -118,9 +118,11 @@ description: |+
items:
- const: arm,foundation-aarch64
- const: arm,vexpress
- - description: Arm Morello System Development Platform
+ - description: Arm Morello System Development/Fixed Virtual Platform
items:
- - const: arm,morello-sdp
+ - enum:
+ - arm,morello-sdp
+ - arm,morello-fvp
- const: arm,morello
arm,vexpress,position:
--
2.34.1
--->8---
Something like this?
>> - const: arm,morello
>> + - description: Arm Morello Fixed Virtual Platform
>> + items:
>> + - const: arm,morello-fvp
>
> Best regards,
> Krzysztof
>
--
Regards,
Vincenzo
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-18 18:07 ` Vincenzo Frascino
@ 2025-02-19 7:13 ` Krzysztof Kozlowski
2025-02-19 11:30 ` Vincenzo Frascino
0 siblings, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-19 7:13 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On 18/02/2025 19:07, Vincenzo Frascino wrote:
>
>
> On 14/02/2025 08:12, Krzysztof Kozlowski wrote:
>> On Thu, Feb 13, 2025 at 06:03:03PM +0000, Vincenzo Frascino wrote:
>>> Add compatibility to Arm Morello Fixed Virtual Platform.
>>>
>>> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
>>> ---
>>> Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 4 ++++
>>> 1 file changed, 4 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>>> index 40e7910756c8..e71e3e33c4be 100644
>>> --- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>>> +++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
>>> @@ -122,6 +122,10 @@ properties:
>>> items:
>>> - const: arm,morello-sdp
>>
>> That's just part of the enum here.
>>
>
> I am not sure on what you want me to do :)
Don't duplicate, combine pieces which look like enumeration into one
enum entry.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-19 7:13 ` Krzysztof Kozlowski
@ 2025-02-19 11:30 ` Vincenzo Frascino
2025-02-19 19:53 ` Krzysztof Kozlowski
0 siblings, 1 reply; 18+ messages in thread
From: Vincenzo Frascino @ 2025-02-19 11:30 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On 19/02/2025 07:13, Krzysztof Kozlowski wrote:
> Don't duplicate, combine pieces which look like enumeration into one
> enum entry.
Is this what you mean exactly?
--->8---
diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
index 40e7910756c8..8de508b977b0 100644
--- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
@@ -118,9 +118,11 @@ description: |+
items:
- const: arm,foundation-aarch64
- const: arm,vexpress
- - description: Arm Morello System Development Platform
+ - description: Arm Morello System Development/Fixed Virtual Platform
items:
- - const: arm,morello-sdp
+ - enum:
+ - arm,morello-sdp
+ - arm,morello-fvp
- const: arm,morello
arm,vexpress,position:
--
2.34.1
--->8---
--
Regards,
Vincenzo
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility
2025-02-19 11:30 ` Vincenzo Frascino
@ 2025-02-19 19:53 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-19 19:53 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: devicetree, linux-kernel, linux-arm-kernel, Linus Walleij,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liviu Dudau,
Sudeep Holla, Lorenzo Pieralisi, Russell King, Will Deacon,
Mark Rutland
On 19/02/2025 12:30, Vincenzo Frascino wrote:
>
>
> On 19/02/2025 07:13, Krzysztof Kozlowski wrote:
>> Don't duplicate, combine pieces which look like enumeration into one
>> enum entry.
>
> Is this what you mean exactly?
Yes.
description could be more generic "Arm Morello System platforms", but
it's fine in your diff as well.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2025-02-19 19:53 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2025-02-14 10:38 ` Linus Walleij
2025-02-18 15:11 ` Sudeep Holla
2025-02-13 18:03 ` [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-18 18:07 ` Vincenzo Frascino
2025-02-19 7:13 ` Krzysztof Kozlowski
2025-02-19 11:30 ` Vincenzo Frascino
2025-02-19 19:53 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU Vincenzo Frascino
2025-02-14 8:13 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 5/8] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 6/8] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 7/8] arm64: dts: morello: Add support for fvp dts Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.