aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi
AgeCommit message (Expand)AuthorFilesLines
2024-03-21Merge tag 'ubifs-for-linus-6.9-rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds11-146/+503
2024-03-10mtd: ubi: fix NVMEM over UBI volumes on 32-bit systemsDaniel Golle1-1/+4
2024-02-25mtd: ubi: provide NVMEM layer over UBI volumesDaniel Golle3-0/+202
2024-02-25mtd: ubi: populate ubi volume fwnodeDaniel Golle1-0/+27
2024-02-25mtd: ubi: introduce pre-removal notification for UBI volumesDaniel Golle4-8/+32
2024-02-25mtd: ubi: attach from device treeDaniel Golle1-39/+96
2024-02-25mtd: ubi: block: use notifier to create ubiblock from parameterDaniel Golle3-85/+106
2024-02-25ubi: Correct the number of PEBs after a volume resize failureZhaoLong Wang1-5/+4
2024-02-25ubi: fix slab-out-of-bounds in ubi_eba_get_ldesc+0xfb/0x130Guo Xuenan2-7/+24
2024-02-25ubi: correct the calculation of fastmap sizeZhang Yi1-3/+4
2024-02-25ubi: Check for too small LEB size in VTBL codeRichard Weinberger1-0/+6
2024-02-19ubiblock: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-2/+4
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2024-01-06ubi: block: fix memleak in ubiblock_create()Li Nan1-1/+1
2024-01-06ubi: Reserve sufficient buffer length for the input maskZhaoLong Wang1-2/+2
2024-01-06ubi: Add six fault injection type for testingZhaoLong Wang4-21/+287
2024-01-06ubi: Split io_failures into write_failure and erase_failureZhaoLong Wang2-10/+17
2024-01-06ubi: Use the fault injection framework to enhance the fault injection capabilityZhaoLong Wang5-42/+203
2023-10-28ubi: block: Fix use-after-free in ubiblock_cleanupZhaoLong Wang1-1/+3
2023-10-28ubi: fastmap: Add control in 'UBI_IOCATT' ioctl to reserve PEBs for filling p...Zhihao Cheng1-1/+1
2023-10-28ubi: fastmap: Add module parameter to control reserving filling pool PEBsZhihao Cheng3-6/+25
2023-10-28ubi: fastmap: Fix lapsed wear leveling for first 64 PEBsZhihao Cheng4-3/+8
2023-10-28ubi: fastmap: Get wl PEB even ec beyonds the 'max' if free PEBs are run outZhihao Cheng2-16/+44
2023-10-28ubi: fastmap: may_reserve_for_fm: Don't reserve PEB if fm_anchor existsZhihao Cheng2-4/+7
2023-10-28ubi: fastmap: Remove unneeded break condition while filling poolsZhihao Cheng1-3/+2
2023-10-28ubi: fastmap: Wait until there are enough free PEBs before filling poolsZhihao Cheng5-16/+65
2023-10-28ubi: fastmap: Use free pebs reserved for bad block handlingZhihao Cheng1-11/+5
2023-10-28ubi: Replace erase_block() with sync_erase()Zhihao Cheng3-51/+7
2023-10-28ubi: fastmap: Allocate memory with GFP_NOFS in ubi_update_fastmapZhihao Cheng1-5/+5
2023-10-28ubi: fastmap: erase_block: Get erase counter from wl_entry rather than flashZhihao Cheng1-18/+9
2023-10-28ubi: fastmap: Fix missed ec updating after erasing old fastmap data blockZhihao Cheng1-10/+15
2023-09-07ubi: Refuse attaching if mtd's erasesize is 0Zhihao Cheng1-0/+7
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-3/+2
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-2/+2
2023-05-03Merge tag 'ubifs-for-linus-6.4-rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-6/+15
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+1
2023-04-21ubi: Fix return value overwrite issue in try_write_vid_and_data()Wang YanQing1-5/+14
2023-04-21ubi: Simplify bool conversionYang Li1-1/+1
2023-04-15Merge tag 'ubifs-for-linus-6.3-rc7' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-8/+17
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+4
2023-03-29ubi: Fix failure attaching when vid_hdr offset equals to (sub)page sizeZhihao Cheng1-6/+15
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-1/+1
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-03-11ubi: block: Fix missing blk_mq_end_requestRichard Weinberger1-1/+4
2023-03-04ubi: Fix deadlock caused by recursively holding work_semZhaoLong Wang1-2/+2
2023-02-14ubi: block: Fix a possible use-after-free bug in ubiblock_create()Harshit Mogalapalli1-0/+1
2023-02-13mtd: ubi: block: wire-up device parentDaniel Golle2-1/+2
2023-02-13mtd: ubi: wire-up parent MTD deviceDaniel Golle1-0/+1
2023-02-05ubi: use correct names in function kernel-doc commentsRandy Dunlap3-3/+3
2023-02-05ubi: block: set BLK_MQ_F_BLOCKINGChristoph Hellwig1-69/+28
2023-02-02UBI: Fastmap: Fix kernel-docJiapeng Chong1-1/+1
2023-02-02ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failedZhihao Cheng1-2/+14
2023-02-02ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()Zhihao Cheng1-1/+8
2023-02-02ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmapZhihao Cheng1-5/+7
2023-02-02ubi: Fix permission display of the debugfs filesZhaoLong Wang1-9/+10
2023-02-02ubi: Fix possible null-ptr-deref in ubi_free_volume()Yang Yingliang2-6/+7
2023-02-02ubi: fastmap: Add fastmap control support for module parameterZhaoLong Wang1-4/+20
2023-02-02ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()Li Zetao1-1/+1
2023-02-02ubi: Fix use-after-free when volume resizing failedLi Zetao1-1/+3
2023-02-02ubi: block: Reduce warning print to info for static volumesMårten Lindahl1-3/+6
2023-02-02ubi: ensure that VID header offset + VID header size <= alloc, sizeGeorge Kennedy1-0/+6
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld2-4/+4
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-4/+4
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld2-4/+4
2022-09-21ubi: fastmap: Add fastmap control support for 'UBI_IOCATT' ioctlZhihao Cheng3-6/+13
2022-09-21ubi: fastmap: Use the bitmap API to allocate bitmapsChristophe JAILLET1-6/+4
2022-09-21mtd: ubi: drop unexpected word 'a' in commentsJiang Jian1-2/+2
2022-09-21ubi: block: Fix typos in commentsJulia Lawall1-1/+1
2022-09-21ubi: fastmap: Fix typo in commentsZhang Jiaming1-1/+1
2022-09-21ubi: Fix repeated words in commentsJilin Yuan5-9/+9
2022-09-21ubi: ubi-media.h: Fix comment typoJason Wang1-1/+1
2022-09-21ubi: block: Remove in vain semicolonLi zeming1-1/+1
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-2/+2
2022-05-27ubi: ubi_create_volume: Fix use-after-free when volume creation failedZhihao Cheng1-1/+0
2022-05-27ubi: fastmap: Check wl_pool for free peb before wear levelingZhihao Cheng3-2/+66
2022-05-27ubi: fastmap: Fix high cpu usage of ubi_bgt by making sure wl_pool not emptyZhihao Cheng4-46/+57
2022-03-31Merge tag 'for-linus-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-24/+21
2022-01-12Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+6
2022-01-10ubi: fastmap: Return error code if memory allocation fails in add_aeb()Zhihao Cheng1-9/+19
2022-01-09ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctlBaokun Li2-15/+2
2021-12-23ubi: Fix a mistake in commentKai Song1-1/+1
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-0/+1
2021-11-29block: remove rq_flush_dcache_pagesChristoph Hellwig1-1/+5
2021-11-04mtd/ubi/block: add error handling support for add_disk()Luis Chamberlain1-1/+7
2021-07-09Merge tag 'for-linus-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2021-06-18ubifs: fix snprintf() checkingDan Carpenter1-1/+1
2021-06-11ubi: use blk_mq_alloc_disk and blk_cleanup_diskChristoph Hellwig1-39/+29
2021-04-15ubi: Remove unnecessary struct declarationWan Jiabing1-2/+0
2021-04-15ubi: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-02-12ubi: eba: Delete useless kfree codeZheng Yongjun1-1/+0
2021-02-12ubi: remove dead code in validate_vid_hdr()Jubin Zhong1-6/+1
2020-12-17Merge tag 'for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-6/+9
2020-12-13ubi: Do not zero out EC and VID on ECC-ed NOR flashesPratyush Yadav2-4/+9
2020-12-13ubi: Remove useless code in bytes_str_to_intk005240211-2/+0
2020-11-20mtd: ubi: gluebi: Fix misnamed function parameter documentationLee Jones1-1/+1
2020-11-20mtd: ubi: wl: Fix a couple of kernel-doc issuesLee Jones1-2/+1
2020-11-20mtd: ubi: eba: Fix a couple of misdocumentation issuesLee Jones1-1/+2
2020-11-20mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameterLee Jones1-1/+1
2020-11-20mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_paramLee Jones1-0/+1
2020-09-17ubi: check kthread_should_stop() after the setting of task stateZhihao Cheng1-0/+13
2020-08-10Merge tag 'for-linus-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-1/+7
2020-08-02ubi: fastmap: Free fastmap next anchor peb during detachZhihao Cheng1-0/+5
2020-08-02ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabledZhihao Cheng1-1/+2
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-06-10Merge tag 'for-linus-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds4-25/+57
2020-06-10Merge tag 'mtd/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/...Linus Torvalds1-1/+4
2020-06-09mm: introduce include/linux/pgtable.hMike Rapoport1-1/+1
2020-06-02ubi: Select fastmap anchor PEBs considering wear level rulesArne Edholm4-25/+57
2020-06-02mm: remove the pgprot argument to __vmallocChristoph Hellwig1-2/+2
2020-06-01Merge tag 'nand/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd...Richard Weinberger1-1/+4
2020-05-17ubi: Fix seq_file usage in detailed_erase_block_info debugfs fileRichard Weinberger1-10/+2
2020-05-11ubi: Relax the 'no MLC' rule and allow MLCs operating in SLC modeBoris Brezillon1-1/+4
2020-04-07Merge tag 'for-linus-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-4/+16
2020-03-30ubi: ubi-media.h: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-03-30ubi: fastmap: Only produce the initial anchor PEB when fastmap is usedHou Tao1-1/+2
2020-03-30ubi: fastmap: Free unused fastmap anchor peb during detachHou Tao1-2/+13
2020-03-30mtd: Convert fallthrough comments into statementsMiquel Raynal2-3/+3
2020-02-04treewide: remove redundant IS_ERR() before error code checkMasahiro Yamada1-1/+1
2020-01-19ubi: Fix an error pointer dereference in error handling codeDan Carpenter1-9/+12
2020-01-16ubi: Free the normal volumes in error paths of ubi_attach_mtd_dev()Hou Tao4-14/+30
2020-01-16ubi: Check the presence of volume before call ubi_fastmap_destroy_checkmap()Hou Tao1-0/+2
2020-01-16ubi: wl: Remove set but not used variable 'prev_e'YueHaibing1-2/+1
2020-01-16ubi: fastmap: Fix inverted logic in seen selfcheckSascha Hauer1-1/+1
2019-12-02Merge tag 'upstream-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds6-44/+43
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-33/+3
2019-11-17ubi: Fix producing anchor PEBsSascha Hauer5-43/+41
2019-11-17ubi: Fix warning static is not at beginning of declarationRishi Gupta1-1/+1
2019-11-17ubi: Print skip_check in ubi_dump_vol_info()Stefan Roese1-0/+1
2019-11-14mtd: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-88/+43
2019-10-23compat_ioctl: move drivers to compat_ptr_ioctlArnd Bergmann1-33/+3
2019-09-15ubi: block: Warn if volume size is not multiple of 512Richard Weinberger1-8/+35
2019-09-15ubi: ubi_wl_get_peb: Increase the number of attempts while getting PEBZhihao Cheng1-3/+3
2019-09-15ubi: Don't do anchor move within fastmap areaRichard Weinberger1-0/+6
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286Thomas Gleixner3-29/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner15-210/+15
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-07ubi: wl: Fix uninitialized variableGustavo A. R. Silva1-1/+1
2019-03-05ubi: wl: Silence uninitialized variable warningDan Carpenter1-1/+1
2019-02-24ubi: Expose the bitrot interfaceRichard Weinberger3-0/+175
2019-02-24ubi: Introduce in_pq()Richard Weinberger1-7/+23
2018-12-13ubi: Do not drop UBI device reference before usingPan Bian1-1/+1
2018-12-13ubi: Put MTD device after it is not usedPan Bian1-1/+1
2018-10-23ubi: Mark expected switch fall-throughsGustavo A. R. Silva2-0/+3
2018-08-15ubi: expose the volume CRC check skip flagQuentin Schulz2-0/+14
2018-08-15ubi: provide a way to skip CRC checksQuentin Schulz5-1/+23
2018-08-15ubi: Initialize Fastmap checkmapping correctlyRichard Weinberger1-10/+10
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-6/+8
2018-06-07mtd: ubi: Update ubi-media.h to dual licenseLionel Debieve1-19/+3
2018-06-07ubi: fastmap: Detect EBA mismatches on-the-flyRichard Weinberger1-0/+17
2018-06-07ubi: fastmap: Check each mapping only onceRichard Weinberger6-1/+52
2018-06-07ubi: fastmap: Correctly handle interrupted erasures in EBARichard Weinberger1-1/+89
2018-06-07ubi: fastmap: Cancel work upon detachRichard Weinberger2-3/+4
2018-04-11Merge tag 'tags/upstream-4.17-rc1' of git://git.infradead.org/linux-ubifsLinus Torvalds3-2/+12
2018-04-04ubi: Reject MLC NANDRichard Weinberger1-0/+11
2018-04-04ubi: Fix error for write accessRomain Izard1-1/+1
2018-04-04ubi: fastmap: Don't flush fastmap work on detachRichard Weinberger1-1/+0
2018-03-21mtd: Stop updating erase_info->state and calling mtd_erase_callback()Boris Brezillon1-3/+0
2018-03-15mtd: Unconditionally update ->fail_addr and ->addr in part_erase()Boris Brezillon1-1/+0
2018-03-15mtd: Stop assuming mtd_erase() is asynchronousBoris Brezillon1-35/+0
2018-01-18ubi: block: Fix locking for idr_alloc/idr_removeBradley Bolen1-16/+26
2018-01-18mtd: ubi: wl: Fix error return code in ubi_wl_init()Wei Yongjun1-2/+6
2018-01-18ubi: Fix copy/paste error in function documentationSascha Hauer1-1/+1
2018-01-18ubi: Fastmap: Fix typoSascha Hauer3-3/+3
2018-01-17ubi: fastmap: Erase outdated anchor PEBs during attachSascha Hauer1-20/+57
2018-01-17ubi: fastmap: Clean up the initialization of pointer pColin Ian King1-2/+1
2018-01-17ubi: fastmap: Use kmem_cache_free to deallocate memoryPan Bian1-1/+1
2018-01-17ubi: Fix race condition between ubi volume creation and udevClay McClure1-5/+10
2018-01-17mtd: ubi: Use 'max_bad_blocks' to compute bad_peb_limit if availableJeff Westfahl1-2/+11
2017-11-15Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman2-0/+2
2017-10-31treewide: Fix function prototypes for module_param_call()Kees Cook1-1/+1
2017-09-13UBI: Fix two typos in commentsUwe Kleine-König1-2/+2
2017-09-13ubi: fastmap: fix spelling mistake: "invalidiate" -> "invalidate"Colin Ian King1-1/+1
2017-09-13ubi: pr_err() strings should end with newlinesBen Dooks1-3/+3
2017-09-13ubi: pr_err() strings should end with newlinesBen Dooks1-4/+4
2017-09-13ubi: pr_err() strings should end with newlinesBen Dooks1-6/+6
2017-07-03Merge tag 'driver-core-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-7/+9
2017-06-09blk-mq: switch ->queue_rq return value to blk_status_tChristoph Hellwig1-3/+3
2017-06-09block: introduce new block status code typeChristoph Hellwig1-1/+1
2017-06-09mtd: use class_groups instead of class_attrsGreg Kroah-Hartman1-7/+9
2017-05-13Merge tag 'upstream-4.12-rc1' of git://git.infradead.org/linux-ubifsLinus Torvalds3-10/+159
2017-05-08ubi: Add debugfs file for tracking PEB stateBen Shelton1-1/+125
2017-05-08ubi: fastmap: Fix slab corruptionRabin Vincent1-4/+29
2017-05-08ubi: Make mtd parameter readableAndy Shevchenko1-1/+1
2017-05-08ubi: Fix section mismatchAndy Shevchenko1-4/+4
2017-05-06Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+3
2017-05-04Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-107/+33
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds3-4/+3
2017-05-02blk-mq: update ->init_request and ->exit_request prototypesChristoph Hellwig1-4/+3
2017-05-01Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-03-31blk-mq: constify struct blk_mq_opsEric Biggers1-1/+1
2017-03-30ubi/upd: Always flush after prepared for an updateSebastian Siewior1-4/+4
2017-03-24UBI: Fix typosAndrew F. Davis3-4/+3
2017-03-21mtd: utilize new cdev_device_add helper functionLogan Gunthorpe2-107/+33
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells2-2/+2
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-8/+7
2016-10-28ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()Boris Brezillon1-5/+5
2016-10-20UBI: Fix crash in try_recover_peb()Geert Uytterhoeven1-0/+1