All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Liviu Dudau <liviu.dudau@arm.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	Will Deacon <will@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Jessica Clarke <jrtc27@jrtc27.com>
Subject: Re: [PATCH v7 07/10] arm64: dts: morello: Add support for common functionalities
Date: Thu, 27 Feb 2025 11:08:30 +0000	[thread overview]
Message-ID: <Z8BHrrL0kXeBmRpx@bogus> (raw)
In-Reply-To: <20250221180349.1413089-8-vincenzo.frascino@arm.com>

On Fri, Feb 21, 2025 at 06:03:46PM +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.
> 
> 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
> +
> +		gic: interrupt-controller@2c010000 {
> +			compatible = "arm,gic-v3";
> +			reg = <0x0 0x30000000 0x0 0x10000>,	/* GICD */
> +			      <0x0 0x300c0000 0x0 0x80000>;	/* GICR */

[...]

> +
> +
> +		sram: sram@45200000 {
> +			compatible = "mmio-sram";
> +			reg = <0x0 0x06000000 0x0 0x8000>;
> +			ranges = <0 0x0 0x06000000 0x8000>;
> +

[...]

Not sure if you are not seeing these warnings from DTC. Looks pretty clear
to me. May be you missed or using some old DTC. I don't know why though.
If you agree, I can patch it up with below patch and no need to repost:

morello.dtsi:227.38-272.5: Warning (simple_bus_reg): /soc/interrupt-controller@2c010000: simple-bus unit address format error, expected "30000000"
morello.dtsi:296.23-313.5: Warning (simple_bus_reg): /soc/sram@45200000: simple-bus unit address format error, expected "6000000"
morello.dtsi:227.38-272.5: Warning (simple_bus_reg): /soc/interrupt-controller@2c010000: simple-bus unit address format error, expected "30000000"
morello.dtsi:296.23-313.5: Warning (simple_bus_reg): /soc/sram@45200000: simple-bus unit address format error, expected "6000000"

Regards,
Sudeep

-->8

diff --git i/arch/arm64/boot/dts/arm/morello.dtsi w/arch/arm64/boot/dts/arm/morello.dtsi
index e35e5e482720..0bab0b3ea969 100644
--- i/arch/arm64/boot/dts/arm/morello.dtsi
+++ w/arch/arm64/boot/dts/arm/morello.dtsi
@@ -224,7 +224,7 @@ uart0: serial@2a400000 {
                        status = "disabled";
                };

-               gic: interrupt-controller@2c010000 {
+               gic: interrupt-controller@30000000 {
                        compatible = "arm,gic-v3";
                        reg = <0x0 0x30000000 0x0 0x10000>,     /* GICD */
                              <0x0 0x300c0000 0x0 0x80000>;     /* GICR */
@@ -293,7 +293,7 @@ mailbox: mhu@45000000 {
                        clock-names = "apb_pclk";
                };

-               sram: sram@45200000 {
+               sram: sram@6000000 {
                        compatible = "mmio-sram";
                        reg = <0x0 0x06000000 0x0 0x8000>;
                        ranges = <0 0x0 0x06000000 0x8000>;



  parent reply	other threads:[~2025-02-27 11:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-21 18:03 [PATCH v7 00/10] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-02-21 18:03 ` [PATCH v7 01/10] arm64: Kconfig: Update description for CONFIG_ARCH_VEXPRESS Vincenzo Frascino
2025-02-27 15:27   ` Liviu Dudau
2025-02-21 18:03 ` [PATCH v7 02/10] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2025-02-25 15:33   ` Linus Walleij
2025-02-25 15:33   ` Linus Walleij
2025-02-21 18:03 ` [PATCH v7 03/10] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
2025-02-24 17:29   ` Rob Herring (Arm)
2025-02-25 15:32   ` Linus Walleij
2025-02-21 18:03 ` [PATCH v7 04/10] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
2025-02-21 18:55   ` Mark Rutland
2025-02-24 10:42     ` Vincenzo Frascino
2025-02-21 18:03 ` [PATCH v7 05/10] dt-bindings: arm-pmu: Add support for ARM Rainier PMU Vincenzo Frascino
2025-02-25 15:28   ` Linus Walleij
2025-02-21 18:03 ` [PATCH v7 06/10] perf: arm_pmuv3: " Vincenzo Frascino
2025-02-27 10:10   ` Sudeep Holla
2025-02-27 17:14     ` Will Deacon
2025-02-27 17:19       ` Sudeep Holla
2025-02-21 18:03 ` [PATCH v7 07/10] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
2025-02-25 16:03   ` Linus Walleij
2025-02-27 11:08   ` Sudeep Holla [this message]
2025-02-21 18:03 ` [PATCH v7 08/10] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
2025-02-25 16:03   ` Linus Walleij
2025-02-21 18:03 ` [PATCH v7 09/10] arm64: dts: morello: Add support for fvp dts Vincenzo Frascino
2025-02-25 16:04   ` Linus Walleij
2025-02-21 18:03 ` [PATCH v7 10/10] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
2025-02-25 16:04   ` Linus Walleij
2025-02-21 18:54 ` [PATCH v7 00/10] arm64: dts: Add Arm Morello support Mark Rutland
2025-02-24 10:08   ` Vincenzo Frascino
2025-02-25 12:07     ` Sudeep Holla
2025-02-25 12:14       ` Mark Rutland
2025-02-25 19:18         ` Sudeep Holla
2025-02-27 11:31 ` (subset) " Sudeep Holla
2025-03-01  7:05 ` Will Deacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z8BHrrL0kXeBmRpx@bogus \
    --to=sudeep.holla@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jrtc27@jrtc27.com \
    --cc=krzk+dt@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=liviu.dudau@arm.com \
    --cc=lpieralisi@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh@kernel.org \
    --cc=vincenzo.frascino@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.