Home
last modified time | relevance | path

Searched refs:coredump (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dcoredump.c86 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_new()
164 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_build()
235 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7996_coredump_register()
239 dev->coredump.crash_data = crash_data; in mt7996_coredump_register()
259 if (dev->coredump.crash_data->memdump_buf) { in mt7996_coredump_unregister()
260 vfree(dev->coredump.crash_data->memdump_buf); in mt7996_coredump_unregister()
261 dev->coredump.crash_data->memdump_buf = NULL; in mt7996_coredump_unregister()
262 dev->coredump.crash_data->memdump_buf_len = 0; in mt7996_coredump_unregister()
265 vfree(dev->coredump.crash_data); in mt7996_coredump_unregister()
266 dev->coredump.crash_data = NULL; in mt7996_coredump_unregister()
DMakefile8 mt7996e-$(CONFIG_DEV_COREDUMP) += coredump.o
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-devices-coredump1 What: /sys/devices/.../coredump
5 The /sys/devices/.../coredump attribute is only present when the
6 device is bound to a driver, which provides the .coredump()
8 file will trigger the .coredump() callback.
Dsysfs-class-remoteproc62 What: /sys/class/remoteproc/.../coredump
65 Description: Remote processor coredump configuration
67 Reports the coredump configuration of the remote processor,
76 "enabled" means when the remote processor's coredump is
80 "inline" means when the remote processor's coredump is
/linux-6.6.21/sound/soc/intel/avs/
Dapl.c112 dump_size = AVS_FW_REGS_SIZE + msg->ext.coredump.stack_dump_size; in apl_coredump()
119 if (!msg->ext.coredump.stack_dump_size) in apl_coredump()
123 addr = avs_log_buffer_addr(adev, msg->ext.coredump.core_id); in apl_coredump()
136 lbs_msg.log.core = msg->ext.coredump.core_id; in apl_coredump()
145 if (apl_wait_log_entry(adev, msg->ext.coredump.core_id, &layout)) in apl_coredump()
160 } while (offset < msg->ext.coredump.stack_dump_size); in apl_coredump()
246 .coredump = apl_coredump,
Dskl.c116 .coredump = skl_coredump,
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dcoredump.c133 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_new()
304 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_build()
378 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7915_coredump_register()
382 dev->coredump.crash_data = crash_data; in mt7915_coredump_register()
402 if (dev->coredump.crash_data->memdump_buf) { in mt7915_coredump_unregister()
403 vfree(dev->coredump.crash_data->memdump_buf); in mt7915_coredump_unregister()
404 dev->coredump.crash_data->memdump_buf = NULL; in mt7915_coredump_unregister()
405 dev->coredump.crash_data->memdump_buf_len = 0; in mt7915_coredump_unregister()
408 vfree(dev->coredump.crash_data); in mt7915_coredump_unregister()
409 dev->coredump.crash_data = NULL; in mt7915_coredump_unregister()
DMakefile10 mt7915e-$(CONFIG_DEV_COREDUMP) += coredump.o
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dcoredump.c1476 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new()
1493 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build()
1621 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create()
1622 if (!ar->coredump.fw_crash_data) in ath10k_coredump_create()
1630 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_register()
1648 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_unregister()
1655 if (ar->coredump.fw_crash_data->ramdump_buf) { in ath10k_coredump_destroy()
1656 vfree(ar->coredump.fw_crash_data->ramdump_buf); in ath10k_coredump_destroy()
1657 ar->coredump.fw_crash_data->ramdump_buf = NULL; in ath10k_coredump_destroy()
1658 ar->coredump.fw_crash_data->ramdump_buf_len = 0; in ath10k_coredump_destroy()
[all …]
DMakefile24 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c94 struct bnxt_coredump *coredump) in bnxt_hwrm_dbg_coredump_list() argument
111 coredump->data = info.dest_buf; in bnxt_hwrm_dbg_coredump_list()
112 coredump->data_size = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_list()
113 coredump->total_segs = info.segs; in bnxt_hwrm_dbg_coredump_list()
278 struct bnxt_coredump coredump = {NULL}; in __bnxt_get_coredump() local
301 rc = bnxt_hwrm_dbg_coredump_list(bp, &coredump); in __bnxt_get_coredump()
307 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump()
309 seg_record = (struct coredump_segment_record *)coredump.data; in __bnxt_get_coredump()
312 for (i = 0; i < coredump.total_segs; i++) { in __bnxt_get_coredump()
366 start_utc, coredump.total_segs + 1, in __bnxt_get_coredump()
[all …]
/linux-6.6.21/include/net/bluetooth/
Dcoredump.h56 coredump_t coredump; member
67 int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump,
81 static inline int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, in hci_devcd_register() argument
/linux-6.6.21/Documentation/networking/device_drivers/qlogic/
Dqlge.rst86 coredump via devlink
90 And the coredump obtained via devlink in json format looks like,
94 $ devlink health dump show DEVICE reporter coredump -p -j
/linux-6.6.21/Documentation/networking/devlink/
Diosm.rst98 The ``iosm`` driver supports dumping the coredump logs.
110 * - ``coredump.fcd``
134 $ devlink region new pci/0000:02:00.0/coredump.fcd
136 $ devlink region dump pci/0000:02:00.0/coredump.fcd snapshot 1
138 $ devlink region del pci/0000:02:00.0/coredump.fcd snapshot 1
/linux-6.6.21/tools/testing/selftests/connector/
Dproc_filter.c201 event->event_data.coredump.process_pid, in handle_packet()
202 event->event_data.coredump.process_tgid, in handle_packet()
203 event->event_data.coredump.parent_pid, in handle_packet()
204 event->event_data.coredump.parent_tgid); in handle_packet()
/linux-6.6.21/net/bluetooth/
Dcoredump.c403 int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, in hci_devcd_register() argument
412 if (!coredump || !dmp_hdr) in hci_devcd_register()
416 hdev->dump.coredump = coredump; in hci_devcd_register()
DMakefile20 bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
/linux-6.6.21/Documentation/powerpc/
Ddexcr.rst43 coredump and ptrace
57 a coredump and effectively bypass ROP protection on any threads that share this
/linux-6.6.21/drivers/connector/
Dcn_proc.c305 ev->event_data.coredump.process_pid = task->pid; in proc_coredump_connector()
306 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector()
311 ev->event_data.coredump.parent_pid = parent->pid; in proc_coredump_connector()
312 ev->event_data.coredump.parent_tgid = parent->tgid; in proc_coredump_connector()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dinit.c205 INIT_DELAYED_WORK(&dev->coredump.work, mt7921_coredump_work); in mt7921_register_device()
211 skb_queue_head_init(&dev->coredump.msg_list); in mt7921_register_device()
/linux-6.6.21/include/uapi/linux/
Dcn_proc.h147 } coredump; member
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
DMakefile7 spufs-$(CONFIG_COREDUMP) += coredump.o
/linux-6.6.21/Documentation/arch/arm64/
Dsme.rst350 8. ELF coredump extensions
353 * NT_ARM_SSVE notes will be added to each coredump for
356 type were executed for each thread when the coredump was generated.
358 * A NT_ARM_ZA note will be added to each coredump for each thread of the
361 when the coredump was generated.
363 * A NT_ARM_ZT note will be added to each coredump for each thread of the
366 when the coredump was generated.
/linux-6.6.21/drivers/base/
Ddd.c428 dev->driver->coredump(dev); in coredump_store()
433 static DEVICE_ATTR_WO(coredump);
451 if (!IS_ENABLED(CONFIG_DEV_COREDUMP) || !dev->driver->coredump) in driver_sysfs_add()
473 if (drv->coredump) in driver_sysfs_remove()
DKconfig110 device coredump mechanism.
113 bool "Allow device coredump" if EXPERT
116 This option controls if the device coredump mechanism is available or

123