linux/drivers/mtd
Linus Torvalds cc07b0a3af MTD core:
- Bad blocks increment is skipped if the block is already known
   bad (improves user statistics relevance).
 - Expose the OOB layout via debugfs.
 
 * Raw NAND:
 - Add support for Loongson-2K1000 and Loongson-2K0500 NAND controllers,
   including extra features, such as chip select and 6-byte NAND ID
   reading support.
 - Drop the s3c2410 driver.
 
 * SPI NAND:
 - Important SPI NAND continuous read improvements and fixes.
 - Add support for FudanMicro FM25S01A.
 - Add support for continuous reads in Gigadevice vendor driver.
 
 * ECC:
 - Add support for the Realtek ECC engine.
 
 * SPI NOR:
 
 - Some flashes can't perform reads or writes with start or end being an
   odd number in Octal DTR mode. File systems like UBIFS can request such
   reads or writes, causing the transaction to error out. Pad the read or
   write transactions with extra bytes to avoid this problem.
 
 This PR comes with the usual amount of various miscellaneous fixes.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE9HuaYnbmDhq/XIDIJWrqGEe9VoQFAmjf6ywACgkQJWrqGEe9
 VoTsjgf/ZJDpcteO8hk+YUZfVycEKCDB0QjEFfX3gP3ABjvBJ1jwliDselpYPxfI
 La2BIw0X0oljfpY69a2KV440NXSW+hcWBUOw9IyhlaLA3tz8vFZbDnybPYAYQyq4
 Chvj0F18kwvxv9DZrp9rYLfnXcqzVaKr/g3/q8OwfoYzhmnKecRKStbRk+NQ94zp
 hL32a5bi2rgAuJl1raNTL2pHyYaYvo46rDDDApSipKt58GdYG1CA6eSrMLdWwgbL
 k9cJ+WQsXF+rfyfqDLZziXMjWixtNBkxOhewnZOWG21wdEPXdTVzaXF/a67fUhxO
 V0Erqomnx4dwi880Uv/4KGui0Rfgtg==
 =D6Lb
 -----END PGP SIGNATURE-----

Merge tag 'mtd/for-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux

Pull MTD updates from Miquel Raynal:
 "MTD core:
   - Bad blocks increment is skipped if the block is already known bad
     (improves user statistics relevance)
   - Expose the OOB layout via debugfs

  Raw NAND:
   - Add support for Loongson-2K1000 and Loongson-2K0500 NAND
     controllers, including extra features, such as chip select
     and 6-byte NAND ID reading support
   - Drop the s3c2410 driver

  SPI NAND:
   - Important SPI NAND continuous read improvements and fixes
   - Add support for FudanMicro FM25S01A
   - Add support for continuous reads in Gigadevice vendor driver

  ECC:
   - Add support for the Realtek ECC engine

  SPI NOR:

   - Some flashes can't perform reads or writes with start or end being
     an odd number in Octal DTR mode. File systems like UBIFS can
     request such reads or writes, causing the transaction to error out.

     Pad the read or write transactions with extra bytes to avoid this
     problem.

  And the usual amount of various miscellaneous fixes"

* tag 'mtd/for-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (46 commits)
  mtd: rawnand: sunxi: drop unused module alias
  mtd: rawnand: stm32_fmc2: drop unused module alias
  mtd: rawnand: rockchip: drop unused module alias
  mtd: rawnand: pl353: drop unused module alias
  mtd: rawnand: omap2: drop unused module alias
  mtd: rawnand: atmel: drop unused module alias
  mtd: onenand: omap2: drop unused module alias
  mtd: hyperbus: hbmc-am654: drop unused module alias
  mtd: jedec_probe: use struct_size() helper for cfiq allocation
  mtd: cfi: use struct_size() helper for cfiq allocation
  mtd: nand: raw: gpmi: fix clocks when CONFIG_PM=N
  mtd: rawnand: omap2: fix device leak on probe failure
  mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands
  mtd: nand: realtek-ecc: Add Realtek external ECC engine support
  dt-bindings: mtd: Add realtek,rtl9301-ecc
  mtd: spinand: repeat reading in regular mode if continuous reading fails
  mtd: spinand: try a regular dirmap if creating a dirmap for continuous reading fails
  mtd: spinand: fix direct mapping creation sizes
  mtd: rawnand: fsmc: Default to autodetect buswidth
  mtd: nand: move nand_check_erased_ecc_chunk() to nand/core
  ...
2025-10-04 15:50:37 -07:00
..
chips mtd: jedec_probe: use struct_size() helper for cfiq allocation 2025-09-29 18:01:43 +02:00
devices mtd: MTD_INTEL_DG should depend on DRM_I915 or DRM_XE 2025-08-28 14:22:48 +02:00
hyperbus mtd: hyperbus: hbmc-am654: drop unused module alias 2025-09-29 18:02:30 +02:00
lpddr mtd: lpddr: Remove space before newline 2025-09-11 17:34:15 +02:00
maps mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
nand MTD core: 2025-10-04 15:50:37 -07:00
parsers mtd: parsers: bcm47xxpart: make read-only array possible_nvram_sizes static const 2024-08-23 19:25:49 +02:00
spi-nor mtd: spi-nor: core: avoid odd length/address writes in 8D-8D-8D mode 2025-09-01 16:11:55 +02:00
tests mtd: tests: Include <linux/prandom.h> instead of <linux/random.h> 2024-10-03 18:19:52 +02:00
ubi block: switch ->getgeo() to struct gendisk 2025-08-13 02:59:29 -04:00
Kconfig
Makefile
ftl.c mtd: use vmalloc_array and vcalloc to simplify code 2025-09-11 17:34:15 +02:00
inftlcore.c mtd: inftlcore: Add error check for inftl_read_oob() 2025-04-07 09:02:31 +02:00
inftlmount.c
mtd_blkdevs.c block: switch ->getgeo() to struct gendisk 2025-08-13 02:59:29 -04:00
mtdblock.c
mtdblock_ro.c
mtdchar.c Revert "mtd: core: always create master device" 2025-06-18 11:18:23 +02:00
mtdconcat.c mtd: concat: Use kmemdup_array instead of kmemdup for multiple allocation 2024-08-23 19:25:51 +02:00
mtdcore.c mtd: core: skip badblocks increment for blocks already known bad 2025-09-11 17:34:15 +02:00
mtdcore.h Revert "mtd: core: always create master device" 2025-06-18 11:18:23 +02:00
mtdoops.c mtd: use vmalloc_array and vcalloc to simplify code 2025-09-11 17:34:15 +02:00
mtdpart.c Revert "mtd: core: always create master device" 2025-06-18 11:18:23 +02:00
mtdpstore.c mtd: Add check for devm_kcalloc() 2025-03-04 12:07:08 +01:00
mtdsuper.c
mtdswap.c mtd: use vmalloc_array and vcalloc to simplify code 2025-09-11 17:34:15 +02:00
nftlcore.c mtd: nftl: reduce stack usage in NFTL_movebuf() 2025-06-18 11:16:35 +02:00
nftlmount.c
rfd_ftl.c mtd: use vmalloc_array and vcalloc to simplify code 2025-09-11 17:34:15 +02:00
sm_ftl.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sm_ftl.h
ssfdc.c mtd: ssfdc: Improve a size determination in ssfdcr_add_mtd() 2024-02-05 14:22:39 +01:00