[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aH3WR4HL/nzXfDCU@localhost.localdomain>
Date: Sun, 20 Jul 2025 22:55:19 -0700
From: Tao Ren <rentao.bupt@...il.com>
To: Andrew Jeffery <andrew@...econstruct.com.au>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Joel Stanley <joel@....id.au>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>, Tao Ren <taoren@...a.com>
Subject: Re: [PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0
partition to 64MB
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@...il.com wrote:
> > From: Tao Ren <rentao.bupt@...il.com>
> >
> > Extend wedge400 BMC flash's data0 partition to 64MB for larger
> > persistent storage.
> >
> > Signed-off-by: Tao Ren <rentao.bupt@...il.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
Powered by blists - more mailing lists