| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H 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 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 …]
|
| H 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/
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/fs/pstore/ |
| H 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 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 …]
|
| H 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
|
| H A D | ram.c | 115 struct pstore_info pstore; member 493 .pstore = { 957 cxt->pstore.data = cxt; in ramoops_probe() 964 cxt->pstore.flags = 0; in ramoops_probe() 966 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in ramoops_probe() 967 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe() 970 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe() 972 cxt->pstore.flags |= PSTORE_FLAGS_FTRACE; in ramoops_probe() 974 cxt->pstore.flags |= PSTORE_FLAGS_PMSG; in ramoops_probe() 977 cxt->pstore.flags |= PSTORE_FLAGS_BOOT_LOG; in ramoops_probe() [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/pstore/ |
| H 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`
|
| H A D | common_tests | 77 backend=`cat /sys/module/pstore/parameters/backend`
|
| /OK3568_Linux_fs/rkbin/doc/release/ |
| H A D | RK3588_CN.md | 99 4. BL32 打印支持 pstore,内核可以通过 pstore 节点查看 BL32 的打印信息。 237 2. DDRBIN开启pstore功能。 282 1. 支持pstore功能。
|
| H A D | RK3568_CN.md | 40 4. 增加ECC使能下的pstore支持。 56 4. BL32 打印支持 pstore,内核可以通过 pstore 节点查看 BL32 的打印信息。
|
| H A D | RK3588_EN.md | 99 4. BL32 supports pstore, and the kernel can view print info of BL32 through pstore node. 237 2. Support pstore function. 282 1. Support pstore.
|
| H A D | RK3568_EN.md | 40 4. Add pstore support when ECC enabled. 56 4. BL32 supports pstore, and the kernel can view print info of BL32 through pstore node.
|
| /OK3568_Linux_fs/external/rockchip-test/auto_reboot/ |
| H A D | auto_reboot.sh | 52 if [ -e /sys/fs/pstore/console-ramoops-0 ]; then 54 grep -q "Restarting system" /sys/fs/pstore/console-ramoops-0
|
| /OK3568_Linux_fs/debian/ |
| H A D | post-build.sh | 99 fixup_basic_part pstore /sys/fs/pstore
|
| /OK3568_Linux_fs/device/rockchip/common/post-hooks/ |
| H A D | 30-fstab.sh | 98 fixup_basic_part pstore /sys/fs/pstore
|
| /OK3568_Linux_fs/debian/overlay-debug/rockchip-test/auto_reboot/ |
| H A D | auto_reboot.sh | 62 if [ -e /var/lib/systemd/pstore/console-ramoops-0 ]; then 64 grep -q "Restarting system" /var/lib/systemd/pstore/console-ramoops-0
|
| /OK3568_Linux_fs/device/rockchip/common/scripts/ |
| H A D | post-fstab.sh | 98 fixup_basic_part pstore /sys/fs/pstore
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | pstore.c | 103 gd->pstore_addr = t->u.pstore.buf[LOG_UBOOT].addr; in param_parse_pstore() 104 gd->pstore_size = t->u.pstore.buf[LOG_UBOOT].size - sizeof(struct persistent_ram_buffer); in param_parse_pstore()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | atags.c | 179 for (i = 0; i < ARRAY_SIZE(t->u.pstore.buf); i++) in atags_print_tag() 180 printf(" table[%d] = 0x%x@0x%x\n", i, t->u.pstore.buf[i].size, t->u.pstore.buf[i].addr); in atags_print_tag()
|
| /OK3568_Linux_fs/docs/cn/RK3566_RK3568/ |
| H A D | RK3566_RK3568_Linux5.10_SDK_Note.md | 38 - BL32 supports pstore, and the kernel can view print info of BL32 through pstore node 88 - BL32 supports pstore, and the kernel can view print info of BL32 through pstore node
|
| /OK3568_Linux_fs/docs/en/RK3566_RK3568/ |
| H A D | RK3566_RK3568_Linux5.10_SDK_Note.md | 38 - BL32 supports pstore, and the kernel can view print info of BL32 through pstore node 88 - BL32 supports pstore, and the kernel can view print info of BL32 through pstore node
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/ |
| H A D | Makefile | 48 TARGETS += pstore 196 $(MAKE) -C pstore run_crash
|