[PATCH master 1/4] of: only replace a device tree that is actually tentative
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 24 05:58:52 PDT 2026
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 at pengutronix.de>
More information about the barebox
mailing list