[PATCH v4 0/5] mtd: rawnand: brcmnand: driver and doc updates

From: William Zhang
Date: Thu Jul 06 2023 - 14:29:34 EST


This patch series include the accumulative updates and fixes for the
brcmnand driver. The bcmbca SoC related updates are removed from v2 and
will send separate patch series for that. v3 series adds a new patch for
mtd oobsize fix.

Changes in v4:
- Move ACC_CONTROL_ECC*_SHIFT definitions out of the enum definition
- Add cc stable tag
- Update comment in the polling status and oob write function
- Update commit message

Changes in v3:
- Fix kernel test robot sparse warning:
drivers/mtd/nand/raw/brcmnand/brcmnand.c:1500:54: sparse: expected unsigned int [usertype] data
drivers/mtd/nand/raw/brcmnand/brcmnand.c:1500:54: sparse: got restricted __be32 [usertype]

Changes in v2:
- Use driver static data for ECC level shift
- Handle the remaining unaligned oob data after the oob data write loop

William Zhang (5):
mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2
controller
mtd: rawnand: brcmnand: Fix potential false time out warning
mtd: rawnand: brcmnand: Fix crash during the panic_write
mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob
write
mtd: rawnand: brcmnand: Fix mtd oobsize

drivers/mtd/nand/raw/brcmnand/brcmnand.c | 119 +++++++++++++++--------
1 file changed, 81 insertions(+), 38 deletions(-)

--
2.37.3

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature