/linux/arch/powerpc/platforms/powernv/ |
H A 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 …]
|
/linux/net/bluetooth/ |
H A 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 …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A 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 …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A 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 …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 31 * interpret the binary dumpspec and populate the dump data in a deterministic 57 __be32 offset; /* address to start dump */ 58 __be32 dump_length; /* total bytes to dump, aligned to reg size */ 109 /* to track state during debug dump creation TLV traversal */ 114 void *p; /* current point in dump buffer */ 182 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec() 334 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument 336 struct nfp_dump_tl *tl = dump->p; in nfp_add_tlv() 338 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv() 341 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv() [all …]
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A 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 …]
|
/linux/Documentation/arch/powerpc/ |
H A 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 …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.h | 3 * Firmware-Assisted Dump support on POWERVM platform. 21 /* Firmware provided dump sections */ 29 /* Dump request flag */ 32 /* Dump status flag */ 36 * The Firmware Assisted Dump Memory structure supports a maximum of 10 sections 37 * in the dump memory structure. Presently, three sections are used for 44 /* Kernel Dump section info */ 55 /* ibm,configure-kernel-dump header. */ 62 /* Fields for disk dump option. */ 68 /* Maximum time allowed to prevent an automatic dump-reboot. */ [all …]
|
H A D | rtas-fadump.c | 3 * Firmware-Assisted Dump support on POWERVM platform. 61 * Start address of reserve dump area (permanent reservation) for in rtas_fadump_get_config() 62 * re-registering FADump after dump capture. in rtas_fadump_get_config() 112 * Fields for disk dump option. in rtas_fadump_init_mem_struct() 113 * We are not using disk dump option, hence set these fields to 0. in rtas_fadump_init_mem_struct() 120 /* set 0 to disable an automatic dump-reboot. */ in rtas_fadump_init_mem_struct() 123 /* Kernel dump sections */ in rtas_fadump_init_mem_struct() 188 * Platform requires the exact size of the Dump Memory Structure. in rtas_fadump_register() 348 * Read CPU state dump data and convert it into ELF notes. 349 * The CPU dump starts with magic number "REGSAVE". NumCpusOffset should be [all …]
|
/linux/tools/firewire/ |
H A 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
|
/linux/Documentation/ABI/stable/ |
H A 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 …]
|
/linux/Documentation/arch/s390/ |
H A 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 …]
|
/linux/drivers/input/joystick/ |
H A 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 …]
|
/linux/include/uapi/linux/ |
H A D | if_macsec.h | 47 MACSEC_ATTR_SECY, /* dump, nested macsec_secy_attrs */ 48 MACSEC_ATTR_TXSA_LIST, /* dump, nested, macsec_sa_attrs for each TXSA */ 49 MACSEC_ATTR_RXSC_LIST, /* dump, nested, macsec_rxsc_attrs for each RXSC */ 50 MACSEC_ATTR_TXSC_STATS, /* dump, nested, macsec_txsc_stats_attr */ 51 MACSEC_ATTR_SECY_STATS, /* dump, nested, macsec_secy_stats_attr */ 81 MACSEC_RXSC_ATTR_SCI, /* config/dump, u64 */ 82 MACSEC_RXSC_ATTR_ACTIVE, /* config/dump, u8 0..1 */ 83 MACSEC_RXSC_ATTR_SA_LIST, /* dump, nested */ 84 MACSEC_RXSC_ATTR_STATS, /* dump, nested, macsec_rxsc_stats_attr */ 93 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ [all …]
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-dump.rst | 16 confidentiality until the dump is in the hands of the VM owner who 19 The confidentiality of the VM dump is ensured by the Ultravisor who 26 Dump process 29 A dump is done in 3 steps: 33 This step initializes the dump process, generates cryptographic seeds 34 and extracts dump keys with which the VM dump data will be encrypted. 42 point, vector, control and tod/timers of a vcpu. The vcpu dump can 45 in the dump data. For the same reason it is very important to not only 54 read from the swap and written to the dump target without need for any 63 decrypt the vcpu and memory data and end the dump process. When this [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | ynl.h | 89 #define ynl_dump_foreach(dump, iter) \ argument 90 for (typeof(dump->obj) *iter = &dump->obj; \ 95 * ynl_dump_empty() - does the dump have no entries 96 * @dump: pointer to the dump list, as returned by a dump call 98 * Check if the dump is empty, i.e. contains no objects. 99 * Dump calls return NULL on error, and terminator element if empty. 101 static inline bool ynl_dump_empty(void *dump) in ynl_dump_empty() argument 103 return dump == (void *)YNL_LIST_END; in ynl_dump_empty()
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-health.rst | 35 * Object dump procedures 48 * Object dump is being taken and saved at the reporter instance (as long as 49 auto-dump is set and there is no other dump which is already stored) 58 To handle devlink health diagnose and health dump requests, devlink creates a 83 * Object dump 103 - Retrieves the last stored dump. Devlink health 104 saves a single dump. If an dump is not already stored by devlink 105 for this reporter, devlink generates a new dump. 106 Dump output is defined by the reporter. 108 - Clears the last saved dump file for the specified reporter. [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-btf.rst | 21 *COMMANDS* := { **dump** | **help** } 27 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] [**root_id** *ROOT_ID*] 46 bpftool btf dump *BTF_SRC* [format *FORMAT*] [root_id *ROOT_ID*] 47 Dump BTF entries from a given *BTF_SRC*. 54 dump only BTF type(s) associated with key (**key**), value (**value**), 70 **root_id** option can be used to filter a dump to a single type and all 73 It can be passed multiple times to dump multiple types. 90 dump) is passed as a *FILE*, bpftool attempts to autodetect the path 97 **# bpftool btf dump id 1226** 152 **$ bpftool btf dump file prog.o** [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | dbg.c | 17 * struct iwl_fw_dump_ptrs - set of pointers needed for the fw-error-dump 37 IWL_DEBUG_INFO(fwrt, "WRT radio registers dump\n"); in iwl_read_radio_regs() 178 IWL_DEBUG_INFO(fwrt, "WRT RX FIFO dump\n"); in iwl_fw_dump_rxf() 210 IWL_DEBUG_INFO(fwrt, "WRT TX FIFO dump\n"); in iwl_fw_dump_txf() 532 IWL_DEBUG_INFO(trans, "WRT PRPH dump\n"); in iwl_dump_prph() 696 IWL_DEBUG_INFO(fwrt, "WRT memory dump. Type=%u\n", dump_mem->type); in iwl_fw_dump_mem() 768 IWL_DEBUG_INFO(fwrt, "WRT paging dump\n"); in iwl_dump_paging() 858 /* Dump SRAM only if no mem_tlvs */ in iwl_fw_error_dump_file() 877 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 882 /* If we only want a monitor dump, reset the file length */ in iwl_fw_error_dump_file() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | debug.c | 20 void *dump; in brcmf_debug_create_memdump() local 28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump() 29 if (!dump) in brcmf_debug_create_memdump() 33 memcpy(dump, data, len); in brcmf_debug_create_memdump() 34 err = brcmf_bus_get_memdump(bus, dump + len, ramsize); in brcmf_debug_create_memdump() 36 vfree(dump); in brcmf_debug_create_memdump() 40 dev_coredumpv(bus->dev, dump, len + ramsize, GFP_KERNEL); in brcmf_debug_create_memdump()
|
/linux/drivers/acpi/acpica/ |
H A D | utbuffer.c | 4 * Module Name: utbuffer - Buffer dump routines 20 * PARAMETERS: buffer - Buffer to dump 21 * count - Amount to dump, in bytes 31 * DESCRIPTION: Generic dump buffer in both hex and ascii. 52 /* Nasty little dump buffer routine! */ in acpi_ut_dump_buffer() 67 /* Dump fill spaces */ in acpi_ut_dump_buffer() 154 * PARAMETERS: buffer - Buffer to dump 155 * count - Amount to dump, in bytes 165 * DESCRIPTION: Generic dump buffer in both hex and ascii. 173 /* Only dump the buffer if tracing is enabled */ in acpi_ut_debug_dump_buffer() [all …]
|
/linux/net/batman-adv/ |
H A D | bat_v.c | 119 * batadv_v_neigh_dump_neigh() - Dump a neighbour into a message 120 * @msg: Netlink message to dump into 123 * @hardif_neigh: Neighbour to dump 164 * batadv_v_neigh_dump_hardif() - Dump the neighbours of a hard interface into 166 * @msg: Netlink message to dump into 202 * batadv_v_neigh_dump() - Dump the neighbours of a hard interface into a 204 * @msg: Netlink message to dump into 253 * batadv_v_orig_dump_subentry() - Dump an originator subentry into a message 254 * @msg: Netlink message to dump into 258 * @if_outgoing: Limit dump to entries with this outgoing interface [all …]
|
/linux/include/xen/interface/ |
H A D | elfnote.h | 243 * xen dump-core none note. 244 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_NONE 245 * in its dump file to indicate that the file is xen dump-core 252 * xen dump-core header note. 253 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_HEADER 254 * in its dump file. 260 * xen dump-core xen version note. 261 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_XEN_VERSION 262 * in its dump file. It contains the xen version obtained via the 269 * xen dump-core format version note. [all …]
|
/linux/drivers/mtd/ubi/ |
H A D | debug.c | 46 * ubi_dump_flash - dump a region of flash. in FAIL_ACTION() 48 * @pnum: the physical eraseblock number to dump in FAIL_ACTION() 49 * @offset: the starting offset within the physical eraseblock to dump in FAIL_ACTION() 50 * @len: the length of the region to dump in FAIL_ACTION() 78 * ubi_dump_ec_hdr - dump an erase counter header. 79 * @ec_hdr: the erase counter header to dump 83 pr_err("Erase counter header dump:\n"); in ubi_dump_ec_hdr() 97 * ubi_dump_vid_hdr - dump a volume identifier header. 98 * @vid_hdr: the volume identifier header to dump 102 pr_err("Volume identifier header dump:\n"); in ubi_dump_vid_hdr() [all …]
|
/linux/fs/proc/ |
H A D | vmcore.c | 4 * dump from the system's previous life. 47 /* Size of all notes minus the device dump notes */ 58 void *buf; /* Buffer containing device's dump */ 62 /* Device Dump list and mutex to synchronize access to list */ 69 /* Device Dump Size */ 180 /* If pfn is not ram, return zeros for sparse dump files */ in read_from_oldmem() 272 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local 277 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_copy_dumps() 278 if (start < offset + dump->size) { in vmcoredd_copy_dumps() 279 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps() [all …]
|