mbox series

[v7,00/10] arm64: dts: Add Arm Morello support

Message ID 20250221180349.1413089-1-vincenzo.frascino@arm.com (mailing list archive)
Headers show
Series arm64: dts: Add Arm Morello support | expand

Message

Vincenzo Frascino Feb. 21, 2025, 6:03 p.m. UTC
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-rc4 is accessible
at [2].

[2] https://codeberg.org/vincenzo/linux/src/branch/morello/dts/v6

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>
Cc: Jessica Clarke <jrtc27@jrtc27.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>

Changes
=======
v7:
  - Rebased on 6.14-rc4.
  - Added review info.
v6:
  - Introduce arm,morello.yml.
  - Split pmu patch.
  - Address review comments.
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 (10):
  arm64: Kconfig: Update description for CONFIG_ARCH_VEXPRESS
  dt-bindings: arm: Add Morello compatibility
  dt-bindings: arm: Add Morello fvp compatibility
  dt-bindings: arm: Add Rainier compatibility
  dt-bindings: arm-pmu: Add support for ARM Rainier PMU
  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

 .../devicetree/bindings/arm/arm,morello.yaml  |  35 ++
 .../devicetree/bindings/arm/cpus.yaml         |   1 +
 .../devicetree/bindings/arm/pmu.yaml          |   1 +
 MAINTAINERS                                   |   7 +
 arch/arm64/Kconfig.platforms                  |   5 +-
 arch/arm64/boot/dts/arm/Makefile              |   1 +
 arch/arm64/boot/dts/arm/morello-fvp.dts       |  77 +++++
 arch/arm64/boot/dts/arm/morello-sdp.dts       | 157 +++++++++
 arch/arm64/boot/dts/arm/morello.dtsi          | 323 ++++++++++++++++++
 drivers/perf/arm_pmuv3.c                      |   2 +
 10 files changed, 606 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/arm,morello.yaml
 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

Comments

Mark Rutland Feb. 21, 2025, 6:54 p.m. UTC | #1
Hi Vincenzo,

On Fri, Feb 21, 2025 at 06:03:39PM +0000, Vincenzo Frascino wrote:
> 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].

None of the CHERI stuff is supported upstream, so from upstream's PoV
this is a low-volume dev-board/SoC with an experimental ARMv8.2-A CPU.

> This series adds dts support for the Arm Morello System Development
> Platform.

Do we actually need the dts for this board?

I have one on my desk; it boots vanilla Debian 12 via UEFI + ACPI just
fine, with the Debian 6.1.0-13-arm64 kernel.

Is there something that we can only do with the DT? i.e. some
functionality that isn't exposed via ACPI?

How do you expect this DT to be used?

Mark.

> 
> [1] https://www.morello-project.org/
> 
> To simplify the testing a linux tree rebased on 6.14-rc4 is accessible
> at [2].
> 
> [2] https://codeberg.org/vincenzo/linux/src/branch/morello/dts/v6
> 
> 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>
> Cc: Jessica Clarke <jrtc27@jrtc27.com>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> 
> Changes
> =======
> v7:
>   - Rebased on 6.14-rc4.
>   - Added review info.
> v6:
>   - Introduce arm,morello.yml.
>   - Split pmu patch.
>   - Address review comments.
> 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 (10):
>   arm64: Kconfig: Update description for CONFIG_ARCH_VEXPRESS
>   dt-bindings: arm: Add Morello compatibility
>   dt-bindings: arm: Add Morello fvp compatibility
>   dt-bindings: arm: Add Rainier compatibility
>   dt-bindings: arm-pmu: Add support for ARM Rainier PMU
>   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
> 
>  .../devicetree/bindings/arm/arm,morello.yaml  |  35 ++
>  .../devicetree/bindings/arm/cpus.yaml         |   1 +
>  .../devicetree/bindings/arm/pmu.yaml          |   1 +
>  MAINTAINERS                                   |   7 +
>  arch/arm64/Kconfig.platforms                  |   5 +-
>  arch/arm64/boot/dts/arm/Makefile              |   1 +
>  arch/arm64/boot/dts/arm/morello-fvp.dts       |  77 +++++
>  arch/arm64/boot/dts/arm/morello-sdp.dts       | 157 +++++++++
>  arch/arm64/boot/dts/arm/morello.dtsi          | 323 ++++++++++++++++++
>  drivers/perf/arm_pmuv3.c                      |   2 +
>  10 files changed, 606 insertions(+), 3 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/arm/arm,morello.yaml
>  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
>