/Linux-v5.10/Documentation/admin-guide/ |
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 11 these log files by mounting pstore filesystem like:: 13 mount -t pstore pstore /sys/fs/pstore 16 pstore block concepts 19 pstore/blk provides efficient configuration method for pstore/blk, which 23 Configurations for user determine how pstore/blk works, such as pmsg_size, 46 It's required for pstore/blk. It is also used for MTD device. 69 1. <device name> MTD device name. "pstore" is recommended. 79 space except other pstore front-ends. [all …]
|
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 136 The dump data can be read from the pstore filesystem. The format for these 138 a stored record from RAM, simply unlink the respective pstore file. 148 # echo 1 > /sys/kernel/debug/pstore/record_ftrace 151 # mount -t pstore pstore /mnt/
|
D | index.rst | 46 pstore-blk
|
D | kernel-parameters.txt | 3984 pstore.backend= Specify the name of the pstore backend to use
|
/Linux-v5.10/drivers/md/ |
D | dm-snap-persistent.c | 102 struct pstore { struct 167 static int alloc_area(struct pstore *ps) in alloc_area() argument 202 static void free_area(struct pstore *ps) in free_area() 229 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int op, in chunk_io() 268 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location() 273 static void skip_metadata(struct pstore *ps) in skip_metadata() 285 static int area_io(struct pstore *ps, int op, int op_flags) in area_io() 292 static void zero_memory_area(struct pstore *ps) in zero_memory_area() 297 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area() 303 static int read_header(struct pstore *ps, int *new_snapshot) in read_header() [all …]
|
/Linux-v5.10/fs/pstore/ |
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 69 prompt "Default pstore compression algorithm" 73 This change be changed at boot with "pstore.compress=..." on 76 Currently, pstore has support for 6 compression algorithms: 115 When the option is enabled, pstore will log all kernel 122 When the option is enabled, pstore will export a character 124 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 136 pstore filesystem. It can be used to determine what function [all …]
|
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
|
D | ram.c | 100 struct pstore_info pstore; member 439 .pstore = { 793 cxt->pstore.data = cxt; in ramoops_probe() 800 cxt->pstore.flags = 0; in ramoops_probe() 802 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in ramoops_probe() 803 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe() 806 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe() 808 cxt->pstore.flags |= PSTORE_FLAGS_FTRACE; in ramoops_probe() 810 cxt->pstore.flags |= PSTORE_FLAGS_PMSG; in ramoops_probe() 817 if (cxt->pstore.flags & PSTORE_FLAGS_DMESG) { in ramoops_probe() [all …]
|
D | zone.c | 138 struct pstore_info pstore; member 1102 .pstore = { 1365 cxt->pstore.bufsize = cxt->kpszs[0]->buffer_size - in register_pstore_zone() 1367 cxt->pstore.buf = kzalloc(cxt->pstore.bufsize, GFP_KERNEL); in register_pstore_zone() 1368 if (!cxt->pstore.buf) { in register_pstore_zone() 1373 cxt->pstore.data = cxt; in register_pstore_zone() 1376 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone() 1377 cxt->pstore.name = info->name; in register_pstore_zone() 1379 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in register_pstore_zone() 1381 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | pstore | 1 What: /sys/fs/pstore/... (or /dev/pstore/...) 14 # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore 16 $ ls -l /sys/fs/pstore/ 30 $ rm /sys/fs/pstore/dmesg-erst-1 32 The expectation is that all files in /sys/fs/pstore/ 45 set by passing the pstore.backend= argument to the kernel at
|
/Linux-v5.10/tools/testing/selftests/pstore/ |
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`
|
D | common_tests | 77 backend=`cat /sys/module/pstore/parameters/backend`
|
/Linux-v5.10/tools/testing/selftests/ |
D | Makefile | 47 TARGETS += pstore 195 $(MAKE) -C pstore run_crash
|
/Linux-v5.10/drivers/firmware/efi/ |
D | Kconfig | 23 tristate "Register efivars backend for pstore" 27 Say Y here to enable use efivars as a backend to pstore. This 29 else supported by pstore to EFI variables. 32 bool "Disable using efivars as a pstore backend by default" 37 backend for pstore by default. This setting can be overridden
|
D | Makefile | 19 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
|
/Linux-v5.10/Documentation/devicetree/bindings/reserved-memory/ |
D | ramoops.txt | 6 is named "ramoops" after the backend, rather than "pstore" which is the
|
/Linux-v5.10/fs/ |
D | Makefile | 134 obj-$(CONFIG_PSTORE) += pstore/
|
D | Kconfig | 286 source "fs/pstore/Kconfig"
|
/Linux-v5.10/drivers/mtd/ |
D | Kconfig | 174 tristate "Log panic/oops to an MTD buffer based on pstore" 179 mounting pstore filesystem.
|
/Linux-v5.10/drivers/platform/chrome/ |
D | Kconfig | 29 tristate "Chrome OS pstore support"
|
/Linux-v5.10/arch/arm64/boot/dts/hisilicon/ |
D | hi6220-hikey.dts | 36 * 0x21f0,0000 - 0x21ff,ffff: pstore/ramoops buffer
|
/Linux-v5.10/kernel/power/ |
D | Kconfig | 217 captured in pstore device for inspection in subsequent
|
/Linux-v5.10/ |
D | MAINTAINERS | 14163 T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore 14165 F: Documentation/admin-guide/pstore-blk.rst 14168 F: drivers/firmware/efi/efi-pstore.c 14169 F: fs/pstore/ 14170 F: include/linux/pstore* 14171 K: \b(pstore|ramoops)
|