All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Holland <samuel@sholland.org>
To: "Andre Przywara" <andre.przywara@arm.com>,
	"Jernej Škrabec" <jernej.skrabec@gmail.com>
Cc: Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Icenowy Zheng <icenowy@aosc.io>,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 3/6] arm64: dts: allwinner: Add Allwinner H616 .dtsi file
Date: Thu, 7 Jul 2022 01:30:32 -0500	[thread overview]
Message-ID: <39537f95-2ed4-f526-5912-364c1c1ed512@sholland.org> (raw)
In-Reply-To: <20220706141655.15d2dd0e@donnerap.cambridge.arm.com>

Hi Andre, Jernej,

On 7/6/22 8:16 AM, Andre Przywara wrote:
> so after seemingly having finished writing this email, I realised that
> this won't really help, as I think this diverts the discussion. And the
> problem has been around for a while, and won't probably be solved easily
> or quickly. I think we agree to disagree here, or we should admit that
> there are different approaches ("bundled firmware" vs. "UEFI"), so in the
> interest of not blocking the H616 series:
> 
> Shall I just keep the firmware node? This would work both ways, whereas
> dropping the node would impede the "bundled firmware" approach?

Let me try to sum up the relevant portion of my thoughts (and save the rest for
elsewhere):

The only reason to add the reserved-memory node is to support externally-loaded
DTBs. By adding the node, we are committing to support externally-loaded DTBs on
this SoC.

Upgrading the kernel is not allowed to break boot. If we support
externally-loaded DTBs, that rule extends to DTBs shipped with the kernel.

If we remove the reserved-memory node, the combination of old U-Boot + new
externally-loaded DTB will stop booting (the kernel version is irrelevant).
Therefore, if we add the node, we can never remove it, full stop.

I will (begrudgingly) accept that, as long as the node matches what TF-A
actually generates today. That means, please:
 - Drop the label and update the node name
 - Reduce the size to 256 KiB, matching (BL31_LIMIT - BL31_BASE)

Regards,
Samuel

WARNING: multiple messages have this Message-ID (diff)
From: Samuel Holland <samuel@sholland.org>
To: "Andre Przywara" <andre.przywara@arm.com>,
	"Jernej Škrabec" <jernej.skrabec@gmail.com>
Cc: Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Icenowy Zheng <icenowy@aosc.io>,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 3/6] arm64: dts: allwinner: Add Allwinner H616 .dtsi file
Date: Thu, 7 Jul 2022 01:30:32 -0500	[thread overview]
Message-ID: <39537f95-2ed4-f526-5912-364c1c1ed512@sholland.org> (raw)
In-Reply-To: <20220706141655.15d2dd0e@donnerap.cambridge.arm.com>

Hi Andre, Jernej,

On 7/6/22 8:16 AM, Andre Przywara wrote:
> so after seemingly having finished writing this email, I realised that
> this won't really help, as I think this diverts the discussion. And the
> problem has been around for a while, and won't probably be solved easily
> or quickly. I think we agree to disagree here, or we should admit that
> there are different approaches ("bundled firmware" vs. "UEFI"), so in the
> interest of not blocking the H616 series:
> 
> Shall I just keep the firmware node? This would work both ways, whereas
> dropping the node would impede the "bundled firmware" approach?

Let me try to sum up the relevant portion of my thoughts (and save the rest for
elsewhere):

The only reason to add the reserved-memory node is to support externally-loaded
DTBs. By adding the node, we are committing to support externally-loaded DTBs on
this SoC.

Upgrading the kernel is not allowed to break boot. If we support
externally-loaded DTBs, that rule extends to DTBs shipped with the kernel.

If we remove the reserved-memory node, the combination of old U-Boot + new
externally-loaded DTB will stop booting (the kernel version is irrelevant).
Therefore, if we add the node, we can never remove it, full stop.

I will (begrudgingly) accept that, as long as the node matches what TF-A
actually generates today. That means, please:
 - Drop the label and update the node name
 - Reduce the size to 256 KiB, matching (BL31_LIMIT - BL31_BASE)

Regards,
Samuel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-07-07  6:30 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28 23:09 [PATCH v11 0/6] arm64: sunxi: Initial Allwinner H616 SoC support Andre Przywara
2022-04-28 23:09 ` Andre Przywara
2022-04-28 23:09 ` [PATCH v11 1/6] clk: sunxi-ng: h6-r: Add RTC gate clock Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-05-03  2:06   ` Samuel Holland
2022-05-03  2:06     ` Samuel Holland
2022-05-06 16:10     ` Jernej Škrabec
2022-05-06 16:10       ` Jernej Škrabec
2022-04-28 23:09 ` [PATCH v11 2/6] clk: sunxi-ng: h616: Add PLL derived 32KHz clock Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-05-06 16:11   ` Jernej Škrabec
2022-05-06 16:11     ` Jernej Škrabec
2022-04-28 23:09 ` [PATCH v11 3/6] arm64: dts: allwinner: Add Allwinner H616 .dtsi file Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-05-03 19:05   ` Jernej Škrabec
2022-05-03 19:05     ` Jernej Škrabec
2022-05-03 19:41     ` Jernej Škrabec
2022-05-03 19:41       ` Jernej Škrabec
2022-06-30  0:04     ` Andre Przywara
2022-06-30  0:04       ` Andre Przywara
2022-07-02 21:16       ` Jernej Škrabec
2022-07-02 21:16         ` Jernej Škrabec
2022-07-04 13:30         ` Andre Przywara
2022-07-04 13:30           ` Andre Przywara
2022-07-04 18:42           ` Jernej Škrabec
2022-07-04 18:42             ` Jernej Škrabec
2022-07-04 21:58             ` Andre Przywara
2022-07-04 21:58               ` Andre Przywara
2022-07-05 17:32               ` Jernej Škrabec
2022-07-05 17:32                 ` Jernej Škrabec
2022-07-06 13:16                 ` Andre Przywara
2022-07-06 13:16                   ` Andre Przywara
2022-07-07  6:30                   ` Samuel Holland [this message]
2022-07-07  6:30                     ` Samuel Holland
2022-07-07 16:39                     ` Jernej Škrabec
2022-07-07 16:39                       ` Jernej Škrabec
2022-07-08  9:47                     ` Andre Przywara
2022-07-08  9:47                       ` Andre Przywara
2022-07-04 18:44           ` Samuel Holland
2022-07-04 18:44             ` Samuel Holland
2022-07-04 20:52             ` Andre Przywara
2022-07-04 20:52               ` Andre Przywara
2022-04-28 23:09 ` [PATCH v11 4/6] dt-bindings: arm: sunxi: Add two H616 board compatible strings Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-04-28 23:09 ` [PATCH v11 5/6] arm64: dts: allwinner: h616: Add OrangePi Zero 2 board support Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-05-03 19:41   ` Jernej Škrabec
2022-05-03 19:41     ` Jernej Škrabec
2022-06-30  0:08     ` Andre Przywara
2022-06-30  0:08       ` Andre Przywara
2022-04-28 23:09 ` [PATCH v11 6/6] arm64: dts: allwinner: h616: Add X96 Mate TV box support Andre Przywara
2022-04-28 23:09   ` Andre Przywara
2022-05-03 19:44   ` Jernej Škrabec
2022-05-03 19:44     ` Jernej Škrabec

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=39537f95-2ed4-f526-5912-364c1c1ed512@sholland.org \
    --to=samuel@sholland.org \
    --cc=andre.przywara@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=icenowy@aosc.io \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=wens@csie.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.