mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH master 1/4] of: only replace a device tree that is actually tentative
Date: Mon, 24 Aug 2026 14:58:52 +0200	[thread overview]
Message-ID: <178757633267.2895045.1254430196517569226.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260824120022.3299742-1-a.fatoum@pengutronix.de>


On Mon, 24 Aug 2026 13:59:55 +0200, Ahmad Fatoum wrote:
> barebox_register_of() is called a second time when the EFI payload
> registers a device tree read from the EFI system partition on top of the
> tentative empty device tree registered earlier at core_initcall.
> 
> The check that is meant to allow this looks at the children of the newly
> passed device tree instead of those of the already registered one, so it
> rejects exactly the case it was added for: registering a populated
> device tree over the empty placeholder returns -EBUSY, while an empty
> device tree may silently replace a fully populated one.
> 
> [...]

Applied, thanks!

[1/4] of: only replace a device tree that is actually tentative
      https://git.pengutronix.de/cgit/barebox/commit/?id=1408da582445 (link may not be stable)
[2/4] tlsf: unpoison whole block in malloc_usable_size()
      https://git.pengutronix.de/cgit/barebox/commit/?id=89489cc0f45d (link may not be stable)
[3/4] partitions: dos: bound extended partition chain
      https://git.pengutronix.de/cgit/barebox/commit/?id=ddbe5e709988 (link may not be stable)
[4/4] of: fdt: bound node nesting depth in __of_unflatten_dtb
      https://git.pengutronix.de/cgit/barebox/commit/?id=05b6373a0fda (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2026-08-24 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 11:59 Ahmad Fatoum
2026-08-24 11:59 ` [PATCH master 2/4] tlsf: unpoison whole block in malloc_usable_size() Ahmad Fatoum
2026-08-24 11:59 ` [PATCH master 3/4] partitions: dos: bound extended partition chain Ahmad Fatoum
2026-08-24 11:59 ` [PATCH master 4/4] of: fdt: bound node nesting depth in __of_unflatten_dtb Ahmad Fatoum
2026-08-24 12:58 ` Sascha Hauer [this message]

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=178757633267.2895045.1254430196517569226.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox