[GIT PULL] UBI and UBIFS updates for v6.9-rc1
Richard Weinberger
richard at nod.at
Thu Mar 21 13:13:24 PDT 2024
Linus,
The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:
Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/ubifs-for-linus-6.9-rc1
for you to fetch changes up to b8a77b9a5f9c2ba313f2beef8440b6f9f69768e7:
mtd: ubi: fix NVMEM over UBI volumes on 32-bit systems (2024-03-10 22:14:28 +0100)
----------------------------------------------------------------
This pull request contains updates for UBI and UBIFS:
UBI:
- Add Zhihao Cheng as reviewer
- Attach via device tree
- Add NVMEM layer
- Various fastmap related fixes
UBIFS:
- Add Zhihao Cheng as reviewer
- Convert to folios
- Various fixes (memory leaks in error paths, function prototypes)
----------------------------------------------------------------
Arnd Bergmann (2):
ubifs: fix sort function prototype
ubifs: fix function pointer cast warnings
Daniel Golle (8):
dt-bindings: mtd: add basic bindings for UBI
dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEM
mtd: ubi: block: use notifier to create ubiblock from parameter
mtd: ubi: attach from device tree
mtd: ubi: introduce pre-removal notification for UBI volumes
mtd: ubi: populate ubi volume fwnode
mtd: ubi: provide NVMEM layer over UBI volumes
mtd: ubi: fix NVMEM over UBI volumes on 32-bit systems
Guo Xuenan (1):
ubi: fix slab-out-of-bounds in ubi_eba_get_ldesc+0xfb/0x130
Kunwu Chan (1):
ubifs: Remove unreachable code in dbg_check_ltab_lnum
Matthew Wilcox (Oracle) (15):
ubifs: Set page uptodate in the correct place
ubifs: Convert from writepage to writepages
ubifs: Convert ubifs_writepage to use a folio
ubifs: Use a folio in do_truncation()
ubifs: Convert do_writepage() to take a folio
ubifs: Convert ubifs_vm_page_mkwrite() to use a folio
ubifs: Convert write_begin_slow() to use a folio
ubifs: Convert ubifs_write_begin() to use a folio
ubifs: Convert ubifs_write_end() to use a folio
ubifs: Convert do_readpage() to take a folio
ubifs: Convert allocate_budget() to work on a folio
ubifs: Convert cancel_budget() to take a folio
ubifs: Pass a folio into ubifs_bulk_read() and ubifs_do_bulk_read()
ubifs: Use a folio in ubifs_do_bulk_read()
ubifs: Convert populate_page() to take a folio
Richard Weinberger (2):
MAINTAINERS: Add Zhihao Cheng as UBI/UBIFS reviewer
ubi: Check for too small LEB size in VTBL code
Zhang Yi (1):
ubi: correct the calculation of fastmap size
ZhaoLong Wang (1):
ubi: Correct the number of PEBs after a volume resize failure
Zhihao Cheng (3):
ubifs: dbg_check_idx_size: Fix kmemleak if loading znode failed
ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
ubifs: Queue up space reservation tasks if retrying many times
.../bindings/mtd/partitions/linux,ubi.yaml | 75 ++++
.../bindings/mtd/partitions/ubi-volume.yaml | 40 ++
Documentation/mm/page_cache.rst | 10 +
MAINTAINERS | 2 +
drivers/mtd/ubi/Kconfig | 13 +
drivers/mtd/ubi/Makefile | 1 +
drivers/mtd/ubi/block.c | 136 +++----
drivers/mtd/ubi/build.c | 154 +++++--
drivers/mtd/ubi/eba.c | 7 +
drivers/mtd/ubi/fastmap.c | 7 +-
drivers/mtd/ubi/kapi.c | 56 ++-
drivers/mtd/ubi/nvmem.c | 191 +++++++++
drivers/mtd/ubi/ubi.h | 3 +
drivers/mtd/ubi/vmt.c | 75 +++-
drivers/mtd/ubi/vtbl.c | 6 +
fs/ubifs/debug.c | 9 +-
fs/ubifs/dir.c | 2 +
fs/ubifs/file.c | 443 ++++++++++-----------
fs/ubifs/find.c | 32 +-
fs/ubifs/journal.c | 171 +++++++-
fs/ubifs/lprops.c | 6 +-
fs/ubifs/lpt_commit.c | 1 -
fs/ubifs/super.c | 2 +
fs/ubifs/tnc.c | 9 +-
fs/ubifs/tnc_misc.c | 22 +
fs/ubifs/ubifs.h | 5 +
include/linux/mtd/ubi.h | 2 +
27 files changed, 1060 insertions(+), 420 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml
create mode 100644 drivers/mtd/ubi/nvmem.c
More information about the linux-mtd
mailing list