Home
last modified time | relevance | path

Searched full:max_reason (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/fs/pstore/
Dram.c68 module_param_named(max_reason, ramoops_max_reason, int, 0400);
69 MODULE_PARM_DESC(max_reason,
82 "(deprecated: use max_reason instead) set to 1 to dump oopses & panics, 0 to only dump panics");
350 * would duplicate what happened before the "max_reason" setting in ramoops_pstore_write()
355 * requested "max_reason". in ramoops_pstore_write()
674 * "max_reason" is also specified. in ramoops_parse_dt()
677 pdata->max_reason = KMSG_DUMP_PANIC; in ramoops_parse_dt()
679 pdata->max_reason = KMSG_DUMP_OOPS; in ramoops_parse_dt()
696 parse_u32("max-reason", pdata->max_reason, pdata->max_reason); in ramoops_parse_dt()
826 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe()
[all …]
Dblk.c26 static int max_reason = CONFIG_PSTORE_BLK_MAX_REASON; variable
27 module_param(max_reason, int, 0400);
28 MODULE_PARM_DESC(max_reason,
133 dev->zone.max_reason = max_reason; in __register_pstore_device()
245 info->max_reason = max_reason; in pstore_blk_get_config()
Dplatform.c514 pstore_dumper.max_reason = psinfo->max_reason; in pstore_register()
Dzone.c1381 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone()
1386 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone()
/linux-6.12.1/Documentation/admin-guide/
Dramoops.rst43 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
45 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
46 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
103 .max_reason = <...>,
Dpstore-blk.rst142 max_reason section in Configurations for user
146 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
148 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
149 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
/linux-6.12.1/include/linux/
Dpstore_blk.h31 * @max_reason: Maximum kmsg dump reason to store to block device
39 enum kmsg_dump_reason max_reason; member
Dpstore_zone.h20 * @max_reason: Maximum kmsg dump reason to store.
47 int max_reason; member
Dkmsg_dump.h58 * @max_reason: filter for highest reason number that should be dumped
64 enum kmsg_dump_reason max_reason; member
Dpstore_ram.h37 int max_reason; member
Dpstore.h103 * @max_reason: Used when PSTORE_FLAGS_DMESG is set. Contains the
192 int max_reason; member
/linux-6.12.1/Documentation/devicetree/bindings/reserved-memory/
Dramoops.yaml99 Use max_reason instead. If present, and max_reason is not specified,
100 it is equivalent to max_reason = 1 (KMSG_DUMP_PANIC).
/linux-6.12.1/drivers/platform/chrome/
Dchromeos_pstore.c61 .max_reason = KMSG_DUMP_OOPS,
/linux-6.12.1/drivers/mtd/
Dmtdoops.c367 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()
/linux-6.12.1/kernel/printk/
Dprintk.c4689 enum kmsg_dump_reason max_reason = dumper->max_reason; in kmsg_dump_desc() local
4692 * If client has not provided a specific max_reason, default in kmsg_dump_desc()
4695 if (max_reason == KMSG_DUMP_UNDEF) { in kmsg_dump_desc()
4696 max_reason = always_kmsg_dump ? KMSG_DUMP_MAX : in kmsg_dump_desc()
4699 if (reason > max_reason) in kmsg_dump_desc()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_panic.c1020 plane->kmsg_panic.max_reason = KMSG_DUMP_PANIC; in drm_panic_register()