aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore
AgeCommit message (Expand)AuthorFilesLines
2024-03-09pstore/zone: Don't clear memory twiceChristophe JAILLET1-1/+0
2024-02-22pstore/zone: Add a null pointer check to the psz_kmsg_readKunwu Chan1-0/+2
2024-02-22pstore/ram: Register to module device tableNícolas F. R. A. Prado1-0/+1
2024-02-22pstore: inode: Only d_invalidate() is neededKees Cook1-7/+3
2023-12-08pstore: inode: Use cleanup.h for struct pstore_privateKees Cook1-9/+4
2023-12-08pstore: inode: Use __free(pstore_iput) for inode allocationsKees Cook1-5/+5
2023-12-08pstore: inode: Convert mutex usage to guard(mutex)Kees Cook1-45/+31
2023-12-08pstore: inode: Convert kfree() usage to __free(kfree)Kees Cook1-6/+4
2023-12-08pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()Sergey Shtylyov1-1/+1
2023-12-08pstore/ram: Fix crash when setting number of cpus to an odd numberWeichen Chen1-0/+1
2023-10-30Merge tag 'pstore-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+8
2023-10-18pstore: convert to new timestamp accessorsJeff Layton1-2/+3
2023-10-12pstore/platform: Add check for kstrdupJiasheng Jiang1-1/+8
2023-09-02Merge tag 'pstore-v6.6-rc1-fix' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+27
2023-08-31pstore: Base compression input buffer size on estimated compressed sizeArd Biesheuvel1-7/+27
2023-08-28Merge tag 'pstore-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds5-346/+137
2023-08-18pstore: Fix kernel-doc warningMatthew Wilcox (Oracle)1-6/+4
2023-08-17pstore: Support record sizes larger than kmalloc() limitYuxiao Zhang4-21/+24
2023-08-04pstore/ram: Check start of empty przs during initEnlin Mu1-1/+1
2023-07-24pstore: convert to ctime accessor functionsJeff Layton1-2/+2
2023-07-17pstore: Replace crypto API compression with zlib_deflate library callsArd Biesheuvel2-139/+97
2023-07-17pstore: Remove worst-case compression size logicArd Biesheuvel1-187/+19
2023-06-27Merge tag 'pstore-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-4/+4
2023-06-14pstore/ram: Add check for kstrdupJiasheng Jiang1-0/+2
2023-06-05init: improve the name_to_dev_t interfaceChristoph Hellwig1-2/+2
2023-05-10pstore/ram: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-04-27Merge tag 'pstore-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+3
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-1/+1
2023-03-08pstore: Revert pmsg_lock back to a normal mutexJohn Stultz1-4/+3
2022-12-23Merge tag 'pstore-v6.2-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-4/+6
2022-12-23pstore: Properly assign mem_type propertyLuca Stefani1-1/+1
2022-12-23pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXESJohn Stultz1-0/+1
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-12-14pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversionJohn Stultz1-3/+4
2022-12-05pstore: Avoid kcore oops by vmap()ing with VM_IOREMAPStephen Boyd1-1/+5
2022-12-02pstore/ram: Fix error return code in ramoops_probe()Wang Yufen1-0/+2
2022-11-24driver core: make struct class.devnode() take a const *Greg Kroah-Hartman1-1/+1
2022-10-19pstore: Alert on backend write errorGuilherme G. Piccoli1-0/+10
2022-10-19pstore/ram: Set freed addresses to NULLKees Cook3-8/+18
2022-10-17pstore/ram: Move internal definitions out of kernel-wide includeKees Cook3-2/+102
2022-10-17pstore/ram: Move pmsg init earlierKees Cook1-5/+5
2022-10-17pstore/ram: Consolidate kfree() pathsKees Cook1-11/+11
2022-10-17pstore: Inform unregistered backend names as wellGuilherme G. Piccoli1-0/+2
2022-10-17pstore: Expose kmsg_bytes as a module parameterGuilherme G. Piccoli1-3/+5
2022-10-17pstore: Improve error reporting in case of backend overlapGuilherme G. Piccoli1-2/+3
2022-10-17pstore/zone: Use GFP_ATOMIC to allocate zone bufferQiujun Huang1-1/+1
2022-09-30Revert "pstore: migrate to crypto acomp interface"Guilherme G. Piccoli1-51/+12
2022-08-03Merge tag 'efi-next-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-0/+2
2022-06-24pstore: Add priv field to pstore_record for backend specific useArd Biesheuvel2-0/+2
2022-06-23pstore/zone: cleanup "rcnt" typeDan Carpenter1-6/+6
2022-05-12pstore: migrate to crypto acomp interfaceArd Biesheuvel1-12/+51
2022-03-15pstore: Don't use semaphores in always-atomic-context codeJann Horn1-20/+18
2022-03-01pstore: Add prefix to ECC messagesVincent Whitchurch1-2/+2
2022-01-10Merge tag 'pstore-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-16/+30
2021-11-21pstore/blk: Use "%lu" to format unsigned longGeert Uytterhoeven1-1/+1
2021-11-18pstore/ftrace: Allow immediate recordingUwe Kleine-König1-16/+30
2021-11-16Revert "mark pstore-blk as broken"Kees Cook1-1/+0
2021-11-08lib: zstd: Add kernel-specific APINick Terrell1-1/+1
2021-10-18pstore/blk: use bdev_nr_bytes instead of open coding itChristoph Hellwig1-5/+3
2021-06-30Merge tag 'for-5.14/drivers-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2021-06-16pstore/blk: Include zone in pstore_device_infoKees Cook1-64/+79
2021-06-16pstore/blk: Fix kerndoc and redundancy on blkdev paramKees Cook1-23/+1
2021-06-16pstore/blk: Use the normal block device I/O pathKees Cook1-181/+83
2021-06-16pstore/blk: Move verify_size() macro out of functionKees Cook1-11/+11
2021-06-16pstore/blk: Improve failure reportingKees Cook1-1/+15
2021-06-14mark pstore-blk as brokenChristoph Hellwig1-0/+1
2021-04-27Merge tag 'printk-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+4
2021-03-31pstore: Add mem_type property DT parsing supportMukesh Ojha2-3/+22
2021-03-08printk: introduce a kmsg_dump iteratorJohn Ogness1-1/+4
2021-03-05Merge tag 'pstore-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-2/+2
2021-03-02pstore/ram: Rate-limit "uncorrectable error in header" messageDmitry Osipenko1-1/+1
2021-02-23pstore: Fix warning in pstore_kill_sb()Tetsuo Handa1-1/+1
2021-02-22Merge tag 'docs-5.12' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2021-02-18pstore: Fix typo in compression option nameJiri Bohac1-2/+2
2021-01-21pstore/zone: fix a kernel-doc markupMauro Carvalho Chehab1-1/+1
2020-12-17Merge tag 'trace-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+7
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-1/+1
2020-12-01pstore: Move kmsg_bytes default into KconfigVasile-Laurentiu Stanimir4-3/+10
2020-12-01pstore/blk: remove {un,}register_pstore_blkChristoph Hellwig1-73/+10
2020-12-01pstore/zone: cap the maximum device sizeChristoph Hellwig1-0/+4
2020-11-13ftrace: Have the callbacks receive a struct ftrace_regs instead of pt_regsSteven Rostedt (VMware)1-1/+1
2020-11-06ftrace: Add recording of functions that caused recursionSteven Rostedt (VMware)1-1/+1
2020-11-06pstore/ftrace: Add recursion protection to the ftrace callbackSteven Rostedt (VMware)1-0/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+0
2020-07-06pstore: Fix linking when crypto API disabledMatteo Croce1-1/+4
2020-06-01Merge branch 'uaccess.__copy_from_user' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-3/+1
2020-05-31pstore/blk: Introduce "best_effort" modeKees Cook1-1/+20
2020-05-31pstore/blk: Support non-block storage devicesWeiXiong Liao2-44/+57
2020-05-31pstore/blk: Provide way to query pstore configurationWeiXiong Liao1-7/+30
2020-05-31pstore/zone: Provide way to skip "broken" zone for MTD devicesWeiXiong Liao2-14/+61
2020-05-30Documentation: Add details for pstore/blkWeiXiong Liao1-0/+2
2020-05-30pstore/zone,blk: Add ftrace frontend supportWeiXiong Liao3-1/+134
2020-05-30pstore/zone,blk: Add console frontend supportWeiXiong Liao3-9/+102
2020-05-30pstore/zone,blk: Add support for pmsg frontendWeiXiong Liao3-9/+280
2020-05-30pstore/blk: Introduce backend for block devicesWeiXiong Liao3-0/+501
2020-05-30pstore/zone: Introduce common layer to manage storage zonesWeiXiong Liao3-0/+995
2020-05-30pstore/ram: Introduce max_reason and convert dump_oopsKees Cook1-19/+39
2020-05-30pstore/platform: Pass max_reason to kmesg dumpPavel Tatashin1-1/+3
2020-05-30printk: Introduce kmsg_dump_reason_str()Kees Cook1-17/+1
2020-05-30printk: Collapse shutdown types into a single dump reasonKees Cook1-6/+2
2020-05-30pstore/ftrace: Provide ftrace log merging routineKees Cook3-54/+66
2020-05-30pstore/ram: Refactor ftrace buffer mergingKees Cook1-12/+17
2020-05-30pstore/ram: Refactor DT size parsingKees Cook1-12/+19
2020-05-30pstore/ram: Adjust module param permissions to reflect realityKees Cook1-3/+3
2020-05-30pstore/platform: Move module params after declarationsKees Cook1-6/+5
2020-05-30pstore/platform: Use backend name for console registrationKees Cook1-1/+3
2020-05-30pstore/platform: Switch pstore_info::name to constKees Cook1-1/+2
2020-05-30pstore: Make sure console capturing will restartKees Cook1-1/+5
2020-05-30pstore: Remove filesystem records when backend is unregisteredKees Cook3-0/+36
2020-05-30pstore: Do not leave timer disabled for next backendKees Cook1-15/+19
2020-05-30pstore: Add locking around superblock changesKees Cook3-26/+45
2020-05-12pstore: Refactor pstorefs record list removalKees Cook1-6/+13
2020-05-12pstore: Add proper unregister lock checkingKees Cook1-4/+17
2020-05-12pstore: Convert "records_list" locking to mutexKees Cook1-10/+7
2020-05-12pstore: Rename "allpstore" to "records_list"Kees Cook1-10/+10
2020-05-12pstore: Convert "psinfo" locking to mutexKees Cook1-4/+4
2020-05-12pstore: Rename "pstore_lock" to "psinfo_lock"Kees Cook1-5/+5
2020-05-12pstore: Drop useless try_module_get() for backendKees Cook1-8/+0
2020-04-23pstore: switch to copy_from_user()Al Viro1-3/+1
2020-03-09pstore/ram: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-02-27pstore: pstore_ftrace_seq_next should increase position indexVasily Averin1-1/+4
2020-02-25pstore/ram: remove unnecessary ramoops_unregister_dummy()chenqiwu1-1/+0
2020-02-25pstore/platform: fix potential mem leak if pstore_init_fs failedchenqiwu1-2/+2
2020-01-08pstore/ram: Regularize prz label allocation lifetimeKees Cook2-3/+3
2020-01-02pstore/ram: Write new dumps to start of recycled zonesAleksandr Yashkin1-0/+11
2020-01-02pstore/ram: Fix error-path memory leak in persistent_ram_new() callersKees Cook1-0/+2
2019-10-29pstore: Make pstore_choose_compression() staticBen Dooks (Codethink)1-1/+1
2019-08-30pstore: fs superblock limitsDeepa Dinamani1-0/+2
2019-07-08pstore: Fix double-free in pstore_mkfile() failure pathNorbert Manthey1-7/+6
2019-07-08pstore: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-16/+2
2019-07-08pstore/ram: Improve backward compatibility with older ChromebooksDouglas Anderson1-0/+21
2019-06-08Merge tag 'spdx-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds6-69/+6
2019-06-05Merge tag 'pstore-v5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-15/+28
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336Thomas Gleixner1-15/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333Thomas Gleixner2-26/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner3-28/+3
2019-05-31pstore/ram: Run without kernel crash dump regionKees Cook2-14/+25
2019-05-31pstore: Set tfm to NULL on free_buf_for_compressionPi-Hsun Shih1-1/+3
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-1/+1
2019-02-12pstore/ram: Avoid needless alloc during header writeKees Cook1-7/+3
2019-02-12pstore/ram: Add kmsg hlen zero check to ramoops_pstore_write()Yue Hu1-0/+3
2019-02-12pstore/ram: Move initialization earlierYue Hu1-9/+9
2019-02-12pstore: Avoid writing records with zero sizeYue Hu2-2/+7
2019-01-21pstore/ram: Replace dummy_data heap memory with stack memoryYue Hu1-21/+14
2019-01-20pstore/ram: Avoid allocation and leak of platform dataKees Cook1-6/+3
2019-01-17pstore/ram: Fix console ramoops to show the previous boot logsSai Prakash Ranjan1-2/+1
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds2-2/+2
2018-12-03pstore/ram: Avoid NULL deref in ftrace merging failure pathKees Cook1-1/+1
2018-12-03pstore: Convert buf_lock to semaphoreKees Cook2-22/+23
2018-12-03pstore: Fix bool initialization/comparisonThomas Meyer1-1/+1
2018-12-03pstore/ram: Do not treat empty buffers as validJoel Fernandes (Google)1-0/+5
2018-12-03pstore/ram: Simplify ramoops_get_next_prz() argumentsJoel Fernandes (Google)1-30/+18
2018-12-03pstore: Map PSTORE_TYPE_* to stringsJoel Fernandes (Google)3-48/+44
2018-12-03pstore: Improve and update some comments and status outputKees Cook2-5/+6
2018-12-03pstore/ram: Add kern-doc for struct persistent_ram_zoneKees Cook1-0/+10
2018-12-03pstore/ram: Report backend assignments with finer granularityKees Cook2-2/+8
2018-12-03pstore/ram: Standardize module name in ramoopsKees Cook1-2/+3
2018-12-03pstore: Avoid duplicate call of persistent_ram_zap()Peng Wang2-9/+10
2018-12-03pstore: Remove needless lock during console writesKees Cook1-23/+6
2018-12-03pstore: Do not use crash buffer for decompressionKees Cook1-31/+25
2018-12-03Merge branch 'for-linus/pstore' into for-next/pstoreKees Cook1-9/+6
2018-11-29pstore/ram: Correctly calculate usable PRZ bytesKees Cook1-9/+6
2018-10-31mm: remove CONFIG_HAVE_MEMBLOCKMike Rapoport1-1/+0
2018-10-24Merge tag 'pstore-v4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds5-32/+88
2018-10-22pstore/ram: Clarify resource reservation labelsKees Cook2-7/+20
2018-10-22pstore: Refactor compression initializationKees Cook1-15/+33
2018-10-22pstore: Allocate compression during late_initcall()Joel Fernandes (Google)2-2/+10
2018-10-22pstore: Centralize init/exit routinesKees Cook3-11/+28
2018-09-30pstore/ram: Fix failure-path memory leak in ramoops_initKees Cook1-4/+25
2018-09-13pstore: Fix incorrect persistent ram buffer mappingBin Yang1-3/+14
2018-08-03pstore: add zstd compression supportGeliang Tang2-3/+30
2018-06-14pstore: Remove bogus format string definitionArnd Bergmann1-11/+6
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-2/+1
2018-06-05pstore: Convert internal records to timespec64Kees Cook3-9/+17
2018-04-06pstore: fix crypto dependencies without compressionTobias Regnery1-2/+2
2018-03-15pstore: fix crypto dependenciesArnd Bergmann2-20/+21
2018-03-09pstore: Use crypto compress APIGeliang Tang3-367/+84
2018-03-07pstore/ram: Do not use stack VLA for parity workspaceKees Cook1-7/+22
2018-03-07pstore: Select compression at runtimeKees Cook4-84/+151
2018-03-06pstore: Avoid size casts for 842 compressionKees Cook1-4/+14
2018-03-06pstore: Add lz4hc and 842 compression supportGeliang Tang2-18/+149
2017-11-28fs: pstore: remove unused hardirq.hYang Shi1-1/+0
2017-11-21treewide: Switch DEFINE_TIMER callbacks to struct timer_list *Kees Cook1-2/+2
2017-11-17Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2017-11-13Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+2
2017-11-12pstore: Use ktime_get_real_fast_ns() instead of __getnstimeofday()Arnd Bergmann1-4/+1
2017-11-05pstore: remove unneeded unlikely()Hirofumi Nakagawa1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman2-0/+2
2017-10-05timer: Remove expires and data arguments from DEFINE_TIMERKees Cook1-1/+1
2017-08-17Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"Kees Cook1-22/+0
2017-08-17pstore: Make default pstorefs root dir perms 0750Kees Cook1-1/+1
2017-07-15Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds3-4/+15
2017-07-06pstore: Implement show_optionsDavid Howells3-4/+15
2017-06-27pstore: use memdup_userGeliang Tang1-7/+4
2017-05-31pstore: Fix format string to use %u for record idKees Cook1-11/+11
2017-05-31pstore: Populate pstore record->time fieldKees Cook2-11/+11
2017-05-31pstore: Create common record initializerKees Cook3-19/+28
2017-05-31pstore: Avoid potential infinite loopKees Cook1-2/+6