/linux-6.3-rc2/Documentation/admin-guide/ |
A D | pstore-blk.rst | 3 pstore block oops/panic logger 9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a 13 mount -t pstore pstore /sys/fs/pstore 16 pstore block concepts 19 pstore/blk provides efficient configuration method for pstore/blk, which 97 */sys/fs/pstore/pmsg-pstore-blk-0*. 108 available in */sys/fs/pstore/console-pstore-blk-0*. 121 combined and available in */sys/fs/pstore/ftrace-pstore-blk-0*. 126 # mount -t pstore pstore /sys/fs/pstore 131 # mount -t pstore pstore /sys/fs/pstore [all …]
|
A D | ramoops.rst | 27 Typically the default value of ``mem_type=0`` should be used as that sets the pstore 29 ``pgprot_noncached``, which only works on some platforms. This is because pstore 138 The dump data can be read from the pstore filesystem. The format for these 140 a stored record from RAM, simply unlink the respective pstore file. 150 # echo 1 > /sys/kernel/debug/pstore/record_ftrace 153 # mount -t pstore pstore /mnt/
|
A D | index.rst | 48 pstore-blk
|
A D | kernel-parameters.txt | 4571 pstore.backend= Specify the name of the pstore backend to use
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-snap-persistent.c | 105 struct pstore { struct 170 static int alloc_area(struct pstore *ps) in alloc_area() argument 578 struct pstore *ps = get_info(store); in persistent_usage() 594 struct pstore *ps = get_info(store); in persistent_dtr() 615 struct pstore *ps = get_info(store); in persistent_read_metadata() 677 struct pstore *ps = get_info(store); in persistent_prepare_exception() 703 struct pstore *ps = get_info(store); in persistent_commit_exception() 767 struct pstore *ps = get_info(store); in persistent_prepare_merge() 813 struct pstore *ps = get_info(store); in persistent_commit_merge() 844 struct pstore *ps = get_info(store); in persistent_drop_snapshot() [all …]
|
/linux-6.3-rc2/fs/pstore/ |
A D | Kconfig | 8 persistent storage via "pstore" filesystem that can 9 be mounted as /dev/pstore. Only useful if you have 10 a platform level driver that registers with pstore to 22 Defines default size of pstore kernel log storage. 77 prompt "Default pstore compression algorithm" 81 This change be changed at boot with "pstore.compress=..." on 84 Currently, pstore has support for 6 compression algorithms: 123 When the option is enabled, pstore will log all kernel 131 When the option is enabled, pstore will export a character 170 The common layer for pstore/blk (and pstore/ram in the future) [all …]
|
A D | Makefile | 6 obj-$(CONFIG_PSTORE) += pstore.o 8 pstore-objs += inode.o platform.o 9 pstore-$(CONFIG_PSTORE_FTRACE) += ftrace.o 11 pstore-$(CONFIG_PSTORE_PMSG) += pmsg.o
|
A D | ram.c | 101 struct pstore_info pstore; member 440 .pstore = { 810 cxt->pstore.data = cxt; in ramoops_probe() 817 cxt->pstore.flags = 0; in ramoops_probe() 836 cxt->pstore.buf = kzalloc(cxt->pstore.bufsize, GFP_KERNEL); in ramoops_probe() 837 if (!cxt->pstore.buf) { in ramoops_probe() 869 kfree(cxt->pstore.buf); in ramoops_probe() 871 cxt->pstore.bufsize = 0; in ramoops_probe() 882 pstore_unregister(&cxt->pstore); in ramoops_remove() 884 kfree(cxt->pstore.buf); in ramoops_remove() [all …]
|
A D | zone.c | 138 struct pstore_info pstore; member 1102 .pstore = { 1371 cxt->pstore.buf = kzalloc(cxt->pstore.bufsize, GFP_KERNEL); in register_pstore_zone() 1372 if (!cxt->pstore.buf) { in register_pstore_zone() 1377 cxt->pstore.data = cxt; in register_pstore_zone() 1414 kfree(cxt->pstore.buf); in register_pstore_zone() 1415 cxt->pstore.buf = NULL; in register_pstore_zone() 1416 cxt->pstore.bufsize = 0; in register_pstore_zone() 1448 kfree(cxt->pstore.buf); in unregister_pstore_zone() 1449 cxt->pstore.buf = NULL; in unregister_pstore_zone() [all …]
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | pstore | 1 What: /sys/fs/pstore/... 2 What: /dev/pstore/... 15 # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore 17 $ ls -l /sys/fs/pstore/ 31 $ rm /sys/fs/pstore/dmesg-erst-1 33 The expectation is that all files in /sys/fs/pstore/ 46 set by passing the pstore.backend= argument to the kernel at
|
/linux-6.3-rc2/tools/testing/selftests/pstore/ |
A D | pstore_post_reboot_tests | 23 mount_info=`grep pstore /proc/mounts` 28 mount none /sys/fs/pstore -t pstore 30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
|
A D | common_tests | 77 backend=`cat /sys/module/pstore/parameters/backend`
|
/linux-6.3-rc2/drivers/firmware/efi/ |
A D | Kconfig | 11 tristate "Register efivars backend for pstore" 16 Say Y here to enable use efivars as a backend to pstore. This 18 else supported by pstore to EFI variables. 21 bool "Disable using efivars as a pstore backend by default" 26 backend for pstore by default. This setting can be overridden
|
A D | Makefile | 21 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
|
/linux-6.3-rc2/tools/testing/selftests/ |
A D | Makefile | 62 TARGETS += pstore 199 $(MAKE) -C pstore run_crash
|
/linux-6.3-rc2/Documentation/admin-guide/mm/ |
A D | shrinker_debugfs.rst | 28 mm-zspool:zram0-34 sb-hugetlbfs-17 sb-pstore-31 sb-tmpfs-44
|
/linux-6.3-rc2/fs/ |
A D | Makefile | 136 obj-$(CONFIG_PSTORE) += pstore/
|
A D | Kconfig | 321 source "fs/pstore/Kconfig"
|
/linux-6.3-rc2/drivers/mtd/ |
A D | Kconfig | 177 tristate "Log panic/oops to an MTD buffer based on pstore" 182 mounting pstore filesystem.
|
/linux-6.3-rc2/Documentation/devicetree/bindings/reserved-memory/ |
A D | ramoops.yaml | 12 is named "ramoops" after the backend, rather than "pstore" which is the
|
/linux-6.3-rc2/arch/arm64/boot/dts/hisilicon/ |
A D | hi6220-hikey.dts | 36 * 0x21f0,0000 - 0x21ff,ffff: pstore/ramoops buffer
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | Kconfig | 40 tristate "Chrome OS pstore support"
|
/linux-6.3-rc2/kernel/power/ |
A D | Kconfig | 234 captured in pstore device for inspection in subsequent
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 16888 T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore 16890 F: Documentation/admin-guide/pstore-blk.rst 16893 F: drivers/firmware/efi/efi-pstore.c 16894 F: fs/pstore/ 16895 F: include/linux/pstore* 16896 K: \b(pstore|ramoops)
|