From: Tao Ren <rentao.bupt@gmail.com>
To: Andrew Jeffery <andrew@codeconstruct.com.au>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Andrew Lunn <andrew@lunn.ch>, Tao Ren <taoren@meta.com>
Subject: Re: [PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0 partition to 64MB
Date: Sun, 20 Jul 2025 22:55:19 -0700 [thread overview]
Message-ID: <aH3WR4HL/nzXfDCU@localhost.localdomain> (raw)
In-Reply-To: <0b9b6c712bff18a25da218c507d18b9a8f18c7e8.camel@codeconstruct.com.au>
Hi Andrew,
On Mon, Jul 21, 2025 at 10:42:03AM +0930, Andrew Jeffery wrote:
> On Sat, 2025-07-05 at 21:23 -0700, rentao.bupt@gmail.com wrote:
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > Extend wedge400 BMC flash's data0 partition to 64MB for larger
> > persistent storage.
> >
> > Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> > ---
> > Changes in v2:
> > - None (the patch is introduced in v2).
> >
> > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > index 3e4d30f0884d..cf6c768cbad5 100644
> > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > @@ -92,7 +92,7 @@ tpm@0 {
> > * Both firmware flashes are 128MB on Wedge400 BMC.
> > */
> > &fmc_flash0 {
> > -#include "facebook-bmc-flash-layout-128.dtsi"
> > +#include "facebook-bmc-flash-layout-128-data64.dtsi"
>
> My preference here is that we maintain two separate DTS for Wedge400:
>
> - aspeed-bmc-facebook-wedge400.dts
> - aspeed-bmc-facebook-wedge400-data64.dts
>
> We do so such that we implement aspeed-bmc-facebook-wedge400.dts like:
>
> > cat aspeed-bmc-facebook-wedge400.dts
> #include "aspeed-bmc-facebook-wedge400-data64.dts"
>
> &fmc_flash0 {
> /delete-node/partitions;
> #include "facebook-bmc-flash-layout-128.dtsi"
> };
>
> aspeed-bmc-facebook-wedge400-data64.dts includes facebook-bmc-flash-
> layout-128-data64.dtsi as usual.
>
> From there we can consider aspeed-bmc-facebook-wedge400.dts to be
> deprecated and can remove it in a future release. At least with this
> arrangement any revert of the (future) patch removing aspeed-bmc-
> facebook-wedge400.dts has no other impact. Further, both layouts will
> be supported in at least one release, making it possible to update the
> kernel without requiring a simultaneous update to the flash layout.
>
> Andrew
Thank you for the detailed explanation. Let me send out v3 after testing
the changes.
Cheers,
Tao
next prev parent reply other threads:[~2025-07-21 5:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-06 4:23 [PATCH v2 0/9] ARM: dts: aspeed: Add Meta Darwin dts rentao.bupt
2025-07-06 4:23 ` [PATCH v2 1/9] ARM: dts: aspeed: wedge400: Fix DTB warnings rentao.bupt
2025-07-06 4:23 ` [PATCH v2 2/9] ARM: dts: aspeed: fuji: " rentao.bupt
2025-07-06 4:23 ` [PATCH v2 3/9] ARM: dts: aspeed: Fix DTB warnings in ast2600-facebook-netbmc-common.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 4/9] ARM: dts: aspeed: Add facebook-bmc-flash-layout-128-data64.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0 partition to 64MB rentao.bupt
2025-07-21 1:12 ` Andrew Jeffery
2025-07-21 5:55 ` Tao Ren [this message]
2025-07-06 4:23 ` [PATCH v2 6/9] ARM: dts: aspeed: Move flash layout out of Facebook netbmc-common.dtsi rentao.bupt
2025-07-21 1:13 ` Andrew Jeffery
2025-07-06 4:23 ` [PATCH v2 7/9] ARM: dts: aspeed: Move eMMC out of ast2600-facebook-netbmc-common.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 8/9] dt-bindings: arm: aspeed: add Facebook Darwin board rentao.bupt
2025-07-06 7:24 ` Krzysztof Kozlowski
2025-07-06 4:23 ` [PATCH v2 9/9] ARM: dts: aspeed: Add Facebook Darwin (AST2600) BMC rentao.bupt
2025-07-06 4:37 ` [PATCH v2 0/9] ARM: dts: aspeed: Add Meta Darwin dts Tao Ren
2025-07-07 17:55 ` Rob Herring (Arm)
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=aH3WR4HL/nzXfDCU@localhost.localdomain \
--to=rentao.bupt@gmail.com \
--cc=andrew@codeconstruct.com.au \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=taoren@meta.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).