Re: [PATCH v10 00/26] mtd: rawnand: sunxi: fix transfers and support randomized OOB
From: Miquel Raynal
Date: Thu Nov 19 2026 - 07:37:26 EST
On Thu, 05 Nov 2026 11:55:16 -0700, James Hilliard wrote:
> Patches 1-24 address the existing driver independently of the Allwinner
> randomized-OOB format in patches 25-26. Please review and apply that prefix
> regardless of whether the format extension is accepted. Supported geometries
> keep their existing on-flash ECC layout, bad-block-marker representation
> and raw callbacks.
>
> Patches 1-3 prepare the shared paths: centralize OOB handling, share the
> NORMAL-command chunk-size calculation, and remove duplicate chip setup
> immediately before core page commands. The DMA writer retains its early
> setup because it accesses controller registers before program-begin.
>
> [...]
Applied to nand/next, thanks!
[01/26] mtd: rawnand: sunxi: centralize OOB handling
(no commit info)
[02/26] mtd: rawnand: sunxi: share the buffer transfer chunk size
commit: 53013c67871f3f31b0181ffed8a14ba6b9466427
[03/26] mtd: rawnand: sunxi: avoid duplicate chip setup before page commands
commit: 2bd4acab1e0e16c06ac64f60aa01a72d0e651616
[04/26] mtd: rawnand: sunxi: reject pages exceeding the ECC step limit
commit: 5eb28d68d67a22f5b2f9d98d9567b01f432bb88d
[05/26] mtd: rawnand: sunxi: use the logical step's OOB length in PIO
(no commit info)
[06/26] mtd: rawnand: sunxi: propagate page-setup and erased-check errors
(no commit info)
[07/26] mtd: rawnand: sunxi: drain interrupts before reusing the completion
(no commit info)
[08/26] mtd: rawnand: sunxi: stop failed program operations and disable ECC
(no commit info)
[09/26] mtd: rawnand: sunxi: select the pattern ID for the current ECC step
(no commit info)
[10/26] mtd: rawnand: sunxi: preserve synthesized zero-pattern data and OOB
(no commit info)
[11/26] mtd: rawnand: sunxi: propagate buffer and column transfer errors
(no commit info)
[12/26] mtd: rawnand: sunxi: avoid a second program confirm for OOB writes
(no commit info)
[13/26] mtd: rawnand: sunxi: use page reads to reposition small-page NAND
(no commit info)
[14/26] mtd: rawnand: sunxi: bound DMA batches by the user-data register bank
(no commit info)
[15/26] mtd: rawnand: sunxi: send all address cycles in split operations
(no commit info)
[16/26] mtd: rawnand: sunxi: propagate chip clock setup errors
(no commit info)
[17/26] mtd: rawnand: sunxi: limit buffer transfers to the command byte count
(no commit info)
[18/26] mtd: rawnand: sunxi: skip unavailable NAND child nodes
(no commit info)
[19/26] mtd: rawnand: sunxi: scan all chips before registering MTD devices
(no commit info)
[20/26] dt-bindings: mtd: sunxi: require the H616 AHB reset
(no commit info)
[21/26] mtd: rawnand: sunxi: reset the H616 data path after DMA aborts
(no commit info)
[22/26] mtd: rawnand: sunxi: reuse ECC status within each transfer
(no commit info)
[23/26] mtd: rawnand: sunxi: avoid redundant column changes for extra OOB
(no commit info)
[24/26] mtd: rawnand: sunxi: reduce user-data length register accesses
(no commit info)
[25/26] dt-bindings: mtd: sunxi: Add randomized OOB flag
(no commit info)
[26/26] mtd: rawnand: sunxi: support the Allwinner randomized OOB format
(no commit info)
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