Re: [PATCH v2 0/4] mtd: rawnand: qcom: unwind failed child initialization
From: Miquel Raynal
Date: Fri Dec 04 2026 - 16:33:38 EST
On Sun, 08 Nov 2026 15:42:07 -0700, James Hilliard wrote:
> Keep the shared BAM transaction usable when resizing it fails, validate
> the boot-partition layout before publishing a chip, and propagate child
> probe failures after unregistering any previously published chips.
>
> The first three patches fix layout validation, allocation failure and
> controller-wide probe unwind. The fourth scans every chip before
> publishing any MTD devices, so initialization cannot race with I/O
> on an earlier chip using the shared controller state.
>
> [...]
Applied to nand/next, thanks!
[1/4] mtd: rawnand: qcom: parse boot partitions before registering MTD
commit: 484f2e4311d61012c9daab1cbe2f2eeff00078ce
[2/4] mtd: rawnand: qcom: retain the BAM transaction if replacement fails
commit: 2b20d0bcd1905cd02490e0dc18b58e975f5c2ed5
[3/4] mtd: rawnand: qcom: unwind registered chips on child probe failure
commit: 3baa03774a8e8a0d353646f1906646ca25f2a7f5
[4/4] mtd: rawnand: qcom: scan all chips before registering MTD devices
commit: fca4c786a78430ee4af189e71f173925e2997f65
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl