| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| D | opal-dump.c | 3 * PowerNV OPAL Dump Interface 32 ssize_t (*show)(struct dump_obj *dump, struct dump_attribute *attr, 34 ssize_t (*store)(struct dump_obj *dump, struct dump_attribute *attr, 49 case 0x01: return "SP Dump"; in dump_type_to_string() 50 case 0x02: return "System/Platform Dump"; in dump_type_to_string() 51 case 0x03: return "SMA Dump"; in dump_type_to_string() 69 return sprintf(buf, "ack - acknowledge dump\n"); in dump_ack_show() 81 pr_warn("%s: Failed to send ack to Dump ID 0x%x (%d)\n", in dump_send_ack() 102 /* Attributes of a dump 103 * The binary attribute of the dump itself is dynamic [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| D | opal-dump.c | 3 * PowerNV OPAL Dump Interface 32 ssize_t (*show)(struct dump_obj *dump, struct dump_attribute *attr, 34 ssize_t (*store)(struct dump_obj *dump, struct dump_attribute *attr, 49 case 0x01: return "SP Dump"; in dump_type_to_string() 50 case 0x02: return "System/Platform Dump"; in dump_type_to_string() 51 case 0x03: return "SMA Dump"; in dump_type_to_string() 69 return sprintf(buf, "ack - acknowledge dump\n"); in dump_ack_show() 81 pr_warn("%s: Failed to send ack to Dump ID 0x%x (%d)\n", in dump_send_ack() 102 /* Attributes of a dump 103 * The binary attribute of the dump itself is dynamic [all …]
|
| /kernel/linux/linux-6.6/net/bluetooth/ |
| D | coredump.c | 34 hci_dmp_cb(skb)->pkt_type, hdev->dump.state) 54 hdev->dump.state, state); in hci_devcd_update_state() 56 hdev->dump.state = state; in hci_devcd_update_state() 58 return hci_devcd_update_hdr_state(hdev->dump.head, in hci_devcd_update_state() 59 hdev->dump.alloc_size, state); in hci_devcd_update_state() 64 char dump_start[] = "--- Start dump ---\n"; in hci_devcd_mkheader() 72 if (hdev->dump.dmp_hdr) in hci_devcd_mkheader() 73 hdev->dump.dmp_hdr(hdev, skb); in hci_devcd_mkheader() 83 if (hdev->dump.notify_change) in hci_devcd_notify() 84 hdev->dump.notify_change(hdev, state); in hci_devcd_notify() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
| D | coredump.c | 12 MODULE_PARM_DESC(coredump_memdump, "Optional ability to dump firmware memory"); 144 mt7915_coredump_fw_state(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_state() argument 157 strscpy(dump->fw_state, "normal", sizeof(dump->fw_state)); in mt7915_coredump_fw_state() 159 strscpy(dump->fw_state, "assert", sizeof(dump->fw_state)); in mt7915_coredump_fw_state() 161 strscpy(dump->fw_state, "exception", sizeof(dump->fw_state)); in mt7915_coredump_fw_state() 167 mt7915_coredump_fw_trace(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_trace() argument 173 dump->last_msg_id = mt76_rr(dev, MT_FW_LAST_MSG_ID); in mt7915_coredump_fw_trace() 178 dump->eint_info_idx = n; in mt7915_coredump_fw_trace() 183 dump->irq_info_idx = n; in mt7915_coredump_fw_trace() 188 dump->sched_info_idx = n; in mt7915_coredump_fw_trace() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/kdump/ |
| D | kdump.rst | 11 Kdump uses kexec to quickly boot to a dump-capture kernel whenever a 12 dump of the system kernel's memory needs to be taken (for example, when 14 the reboot and is accessible to the dump-capture kernel. 17 memory image to a dump file on the local disk, or across the network to 24 the dump-capture kernel. This ensures that ongoing Direct Memory Access 25 (DMA) from the system kernel does not corrupt the dump-capture kernel. 26 The kexec -p command loads the dump-capture kernel into this reserved 31 region just before rebooting into the dump-capture kernel. 45 passed to the dump-capture kernel through the elfcorehdr= boot 50 With the dump-capture kernel, you can access the memory image through [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
| D | coredump.c | 12 MODULE_PARM_DESC(coredump_memdump, "Optional ability to dump firmware memory"); 101 mt7996_coredump_fw_state(struct mt7996_dev *dev, struct mt7996_coredump *dump, in mt7996_coredump_fw_state() argument 110 strscpy(dump->fw_state, "normal", sizeof(dump->fw_state)); in mt7996_coredump_fw_state() 112 strscpy(dump->fw_state, "exception", sizeof(dump->fw_state)); in mt7996_coredump_fw_state() 118 mt7996_coredump_fw_stack(struct mt7996_dev *dev, struct mt7996_coredump *dump, in mt7996_coredump_fw_stack() argument 123 strscpy(dump->pc_current, "program counter", sizeof(dump->pc_current)); in mt7996_coredump_fw_stack() 131 dump->pc_stack[0] = mt76_rr(dev, MT_CONN_DBG_CTL_PC_LOG); in mt7996_coredump_fw_stack() 143 dump->pc_stack[i + 1] = in mt7996_coredump_fw_stack() 151 dump->lr_stack[i] = in mt7996_coredump_fw_stack() 165 struct mt7996_coredump *dump; in mt7996_coredump_build() local [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/kdump/ |
| D | kdump.rst | 11 Kdump uses kexec to quickly boot to a dump-capture kernel whenever a 12 dump of the system kernel's memory needs to be taken (for example, when 14 the reboot and is accessible to the dump-capture kernel. 17 the memory image to a dump file on the local disk, or across the network 24 the dump-capture kernel. This ensures that ongoing Direct Memory Access 25 (DMA) from the system kernel does not corrupt the dump-capture kernel. 26 The kexec -p command loads the dump-capture kernel into this reserved 47 passed to the dump-capture kernel through the elfcorehdr= boot 51 With the dump-capture kernel, you can access the memory image through 52 /proc/vmcore. This exports the dump as an ELF-format file that you can [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_debugdump.c | 31 * interpret the binary dumpspec and populate the dump data in a deterministic 52 __be32 offset; /* address to start dump */ 53 __be32 dump_length; /* total bytes to dump, aligned to reg size */ 104 /* to track state during debug dump creation TLV traversal */ 109 void *p; /* current point in dump buffer */ 177 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec() 329 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument 331 struct nfp_dump_tl *tl = dump->p; in nfp_add_tlv() 333 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv() 336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_debugdump.c | 31 * interpret the binary dumpspec and populate the dump data in a deterministic 52 __be32 offset; /* address to start dump */ 53 __be32 dump_length; /* total bytes to dump, aligned to reg size */ 104 /* to track state during debug dump creation TLV traversal */ 109 void *p; /* current point in dump buffer */ 177 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec() 329 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument 331 struct nfp_dump_tl *tl = dump->p; in nfp_add_tlv() 333 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv() 336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/ |
| D | bdisp-debug.c | 475 #define DUMP(reg) seq_printf(s, #reg " \t0x%08X\n", readl(bdisp->regs + reg)) macro 492 DUMP(BLT_CTL); in regs_show() 493 DUMP(BLT_ITS); in regs_show() 494 DUMP(BLT_STA1); in regs_show() 495 DUMP(BLT_AQ1_CTL); in regs_show() 496 DUMP(BLT_AQ1_IP); in regs_show() 497 DUMP(BLT_AQ1_LNA); in regs_show() 498 DUMP(BLT_AQ1_STA); in regs_show() 499 DUMP(BLT_ITM0); in regs_show() 502 DUMP(BLT_PLUGS1_OP2); in regs_show() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/ |
| D | bdisp-debug.c | 475 #define DUMP(reg) seq_printf(s, #reg " \t0x%08X\n", readl(bdisp->regs + reg)) macro 492 DUMP(BLT_CTL); in regs_show() 493 DUMP(BLT_ITS); in regs_show() 494 DUMP(BLT_STA1); in regs_show() 495 DUMP(BLT_AQ1_CTL); in regs_show() 496 DUMP(BLT_AQ1_IP); in regs_show() 497 DUMP(BLT_AQ1_LNA); in regs_show() 498 DUMP(BLT_AQ1_STA); in regs_show() 499 DUMP(BLT_ITM0); in regs_show() 502 DUMP(BLT_PLUGS1_OP2); in regs_show() [all …]
|
| /kernel/linux/linux-6.6/Documentation/powerpc/ |
| D | firmware-assisted-dump.rst | 2 Firmware-Assisted Dump 7 The goal of firmware-assisted dump is to enable the dump of 12 - Firmware-Assisted Dump (FADump) infrastructure is intended to replace 13 the existing phyp assisted dump. 15 as phyp assisted dump. 16 - Unlike phyp dump, FADump exports the memory dump through /proc/vmcore 18 kdump infrastructure for dump capture and filtering. 19 - Unlike phyp dump, userspace tool does not need to refer any sysfs 21 - Unlike phyp dump, FADump allows user to release all the memory reserved 22 for dump, with a single operation of echo 1 > /sys/kernel/fadump_release_mem. [all …]
|
| /kernel/linux/linux-5.10/Documentation/powerpc/ |
| D | firmware-assisted-dump.rst | 2 Firmware-Assisted Dump 7 The goal of firmware-assisted dump is to enable the dump of 12 - Firmware-Assisted Dump (FADump) infrastructure is intended to replace 13 the existing phyp assisted dump. 15 as phyp assisted dump. 16 - Unlike phyp dump, FADump exports the memory dump through /proc/vmcore 18 kdump infrastructure for dump capture and filtering. 19 - Unlike phyp dump, userspace tool does not need to refer any sysfs 21 - Unlike phyp dump, FADump allows user to release all the memory reserved 22 for dump, with a single operation of echo 1 > /sys/kernel/fadump_release_mem. [all …]
|
| /kernel/linux/linux-5.10/tools/firewire/ |
| D | Makefile | 3 nosy-dump-version = 0.4 7 all : nosy-dump 9 nosy-dump : CFLAGS = -Wall -O2 -g 10 nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire 11 nosy-dump : LDFLAGS = -g 12 nosy-dump : LDLIBS = -lpopt 14 nosy-dump : nosy-dump.o decode-fcp.o 17 rm -rf *.o nosy-dump 20 install nosy-dump $(prefix)/bin/nosy-dump
|
| /kernel/linux/linux-6.6/tools/firewire/ |
| D | Makefile | 3 nosy-dump-version = 0.4 7 all : nosy-dump 9 nosy-dump : CFLAGS = -Wall -O2 -g 10 nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire 11 nosy-dump : LDFLAGS = -g 12 nosy-dump : LDLIBS = -lpopt 14 nosy-dump : nosy-dump.o decode-fcp.o 17 rm -rf *.o nosy-dump 20 install nosy-dump $(prefix)/bin/nosy-dump
|
| /kernel/linux/linux-6.6/Documentation/ABI/stable/ |
| D | sysfs-firmware-opal-dump | 1 What: /sys/firmware/opal/dump 12 we will initiate a dump. 15 0xXX-0xYYYY: A directory for dump of type 0xXX and 20 and ID of the dump, use the id and type files. 21 Do not rely on any particular size of dump 22 type or dump id. 25 Each dump has the following files: 28 id: An ASCII representation of the dump ID 31 dump in the format "0x%x %s" with the ID 32 in hex and a description of the dump type [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
| D | rtas-fadump.h | 3 * Firmware-Assisted Dump support on POWERVM platform. 21 /* Firmware provided dump sections */ 26 /* Dump request flag */ 29 /* Dump status flag */ 32 /* Kernel Dump section info */ 43 /* ibm,configure-kernel-dump header. */ 50 /* Fields for disk dump option. */ 56 /* Maximum time allowed to prevent an automatic dump-reboot. */ 61 * Firmware Assisted dump memory structure. This structure is required for 62 * registering future kernel dump with power firmware through rtas call. [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-firmware-opal-dump | 1 What: /sys/firmware/opal/dump 12 we will initiate a dump. 15 0xXX-0xYYYY: A directory for dump of type 0xXX and 20 and ID of the dump, use the id and type files. 21 Do not rely on any particular size of dump 22 type or dump id. 25 Each dump has the following files: 28 id: An ASCII representation of the dump ID 31 dump in the format "0x%x %s" with the ID 32 in hex and a description of the dump type [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
| D | rtas-fadump.h | 3 * Firmware-Assisted Dump support on POWERVM platform. 21 /* Firmware provided dump sections */ 26 /* Dump request flag */ 29 /* Dump status flag */ 32 /* Kernel Dump section info */ 43 /* ibm,configure-kernel-dump header. */ 50 /* Fields for disk dump option. */ 56 /* Maximum time allowed to prevent an automatic dump-reboot. */ 61 * Firmware Assisted dump memory structure. This structure is required for 62 * registering future kernel dump with power firmware through rtas call. [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/s390/ |
| D | zfcpdump.rst | 2 The s390 SCSI dump tool (zfcpdump) 6 dumps on SCSI disks. The dump process is initiated by booting a dump tool, which 7 has to create a dump of the current (probably crashed) Linux image. In order to 8 not overwrite memory of the crashed Linux with data of the dump tool, the 10 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved 13 This zfcpdump implementation consists of a Linux dump kernel together with 14 a user space dump tool, which are loaded together into the saved memory region 17 system can then trigger a SCSI dump by booting the SCSI disk, where zfcpdump 20 The user space dump tool accesses the memory of the crashed system by means 22 memory and registers in ELF core dump format. To access the memory which has [all …]
|
| /kernel/linux/linux-5.10/Documentation/s390/ |
| D | zfcpdump.rst | 2 The s390 SCSI dump tool (zfcpdump) 6 dumps on SCSI disks. The dump process is initiated by booting a dump tool, which 7 has to create a dump of the current (probably crashed) Linux image. In order to 8 not overwrite memory of the crashed Linux with data of the dump tool, the 10 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved 13 This zfcpdump implementation consists of a Linux dump kernel together with 14 a user space dump tool, which are loaded together into the saved memory region 17 system can then trigger a SCSI dump by booting the SCSI disk, where zfcpdump 20 The user space dump tool accesses the memory of the crashed system by means 22 memory and registers in ELF core dump format. To access the memory which has [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
| D | qed_debug.c | 1016 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument 1018 if (dump) in qed_dump_str() 1027 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1034 if (dump && align_size) in qed_dump_align() 1044 bool dump, in qed_dump_str_param() argument 1050 /* Dump param name */ in qed_dump_str_param() 1051 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param() 1054 if (dump) in qed_dump_str_param() 1058 /* Dump param value */ in qed_dump_str_param() 1059 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
| D | qed_debug.c | 1097 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument 1099 if (dump) in qed_dump_str() 1108 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1115 if (dump && align_size) in qed_dump_align() 1125 bool dump, in qed_dump_str_param() argument 1131 /* Dump param name */ in qed_dump_str_param() 1132 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param() 1135 if (dump) in qed_dump_str_param() 1139 /* Dump param value */ in qed_dump_str_param() 1140 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/joystick/ |
| D | joydump.c | 7 * This is just a very simple driver that can dump the data 36 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local 72 dump = buf; in joydump_connect() 80 dump->data = u; in joydump_connect() 81 dump->time = t; in joydump_connect() 82 dump++; in joydump_connect() 88 dump->data = gameport_read(gameport); in joydump_connect() 90 if (dump->data ^ u) { in joydump_connect() 91 u = dump->data; in joydump_connect() 92 dump->time = t; in joydump_connect() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/joystick/ |
| D | joydump.c | 7 * This is just a very simple driver that can dump the data 33 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local 69 dump = buf; in joydump_connect() 77 dump->data = u; in joydump_connect() 78 dump->time = t; in joydump_connect() 79 dump++; in joydump_connect() 85 dump->data = gameport_read(gameport); in joydump_connect() 87 if (dump->data ^ u) { in joydump_connect() 88 u = dump->data; in joydump_connect() 89 dump->time = t; in joydump_connect() [all …]
|