Home
last modified time | relevance | path

Searched refs:pstore (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/Documentation/admin-guide/
H A Dpstore-blk.rst3 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 …]
H A Dramoops.rst29 Typically the default value of ``mem_type=0`` should be used as that sets the pstore
31 ``pgprot_noncached``, which only works on some platforms. This is because pstore
151 The dump data can be read from the pstore filesystem. The format for these
153 a stored record from RAM, simply unlink the respective pstore file.
163 # echo 1 > /sys/kernel/debug/pstore/record_ftrace
166 # mount -t pstore pstore /mnt/
H A Dindex.rst78 pstore-blk
H A Dkernel-parameters.txt5138 pstore.backend= Specify the name of the pstore backend to use
/linux-6.15/fs/pstore/
H A DKconfig7 persistent storage via "pstore" filesystem that can
8 be mounted as /dev/pstore. Only useful if you have
9 a platform level driver that registers with pstore to
21 Defines default size of pstore kernel log storage.
35 problems while pstore is recording panic metadata.
41 When the option is enabled, pstore will log all kernel
49 When the option is enabled, pstore will export a character
51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
63 pstore filesystem. It can be used to determine what function
88 The common layer for pstore/blk (and pstore/ram in the future)
[all …]
H A DMakefile6 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
H A Dram.c106 struct pstore_info pstore; member
445 .pstore = {
816 cxt->pstore.data = cxt; in ramoops_probe()
823 cxt->pstore.flags = 0; in ramoops_probe()
842 cxt->pstore.buf = kvzalloc(cxt->pstore.bufsize, GFP_KERNEL); in ramoops_probe()
843 if (!cxt->pstore.buf) { in ramoops_probe()
875 kvfree(cxt->pstore.buf); in ramoops_probe()
877 cxt->pstore.bufsize = 0; in ramoops_probe()
888 pstore_unregister(&cxt->pstore); in ramoops_remove()
890 kvfree(cxt->pstore.buf); in ramoops_remove()
[all …]
H A Dzone.c138 struct pstore_info pstore; member
1104 .pstore = {
1377 cxt->pstore.buf = kzalloc(cxt->pstore.bufsize, GFP_KERNEL); in register_pstore_zone()
1378 if (!cxt->pstore.buf) { in register_pstore_zone()
1383 cxt->pstore.data = cxt; in register_pstore_zone()
1420 kfree(cxt->pstore.buf); in register_pstore_zone()
1421 cxt->pstore.buf = NULL; in register_pstore_zone()
1422 cxt->pstore.bufsize = 0; in register_pstore_zone()
1454 kfree(cxt->pstore.buf); in unregister_pstore_zone()
1455 cxt->pstore.buf = NULL; in unregister_pstore_zone()
[all …]
/linux-6.15/drivers/md/
H A Ddm-snap-persistent.c105 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.15/Documentation/ABI/testing/
H A Dpstore1 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.15/tools/testing/selftests/pstore/
H A Dpstore_post_reboot_tests23 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`
H A Dcommon_tests77 backend=`cat /sys/module/pstore/parameters/backend`
/linux-6.15/drivers/firmware/efi/
H A DKconfig11 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
H A DMakefile21 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
/linux-6.15/tools/testing/selftests/
H A DMakefile87 TARGETS += pstore
242 $(MAKE) -C pstore run_crash
/linux-6.15/Documentation/admin-guide/mm/
H A Dshrinker_debugfs.rst28 mm-zspool:zram0-34 sb-hugetlbfs-17 sb-pstore-31 sb-tmpfs-44
/linux-6.15/fs/
H A DMakefile125 obj-$(CONFIG_PSTORE) += pstore/
H A DKconfig339 source "fs/pstore/Kconfig"
/linux-6.15/drivers/mtd/
H A DKconfig177 tristate "Log panic/oops to an MTD buffer based on pstore"
182 mounting pstore filesystem.
/linux-6.15/Documentation/devicetree/bindings/reserved-memory/
H A Dramoops.yaml12 is named "ramoops" after the backend, rather than "pstore" which is the
/linux-6.15/arch/arm64/boot/dts/hisilicon/
H A Dhi6220-hikey.dts36 * 0x21f0,0000 - 0x21ff,ffff: pstore/ramoops buffer
/linux-6.15/drivers/platform/chrome/
H A DKconfig40 tristate "Chrome OS pstore support"
/linux-6.15/kernel/power/
H A DKconfig256 captured in pstore device for inspection in subsequent
/linux-6.15/
H A DMAINTAINERS19636 T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
19637 F: Documentation/admin-guide/pstore-blk.rst
19641 F: drivers/firmware/efi/efi-pstore.c
19642 F: fs/pstore/
19643 F: include/linux/pstore*
19644 K: \b(pstore|ramoops)