/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dev_coredump.c | 203 struct amdgpu_coredump_info *coredump = data; in amdgpu_devcoredump_read() local 220 drm_printf(&p, "time: %lld.%09ld\n", coredump->reset_time.tv_sec, in amdgpu_devcoredump_read() 221 coredump->reset_time.tv_nsec); in amdgpu_devcoredump_read() 223 if (coredump->reset_task_info.pid) in amdgpu_devcoredump_read() 225 coredump->reset_task_info.process_name, in amdgpu_devcoredump_read() 226 coredump->reset_task_info.pid); in amdgpu_devcoredump_read() 230 drm_printf(&p, "SOC Device id: %d\n", coredump->adev->pdev->device); in amdgpu_devcoredump_read() 231 drm_printf(&p, "SOC PCI Revision id: %d\n", coredump->adev->pdev->revision); in amdgpu_devcoredump_read() 232 drm_printf(&p, "SOC Family: %d\n", coredump->adev->family); in amdgpu_devcoredump_read() 233 drm_printf(&p, "SOC Revision id: %d\n", coredump->adev->rev_id); in amdgpu_devcoredump_read() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | coredump.c | 86 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()
|
H A D | Makefile | 8 mt7996e-$(CONFIG_DEV_COREDUMP) += coredump.o
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-coredump | 1 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.
|
H A D | sysfs-class-remoteproc | 62 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/sound/soc/intel/avs/ |
H A D | apl.c | 131 dump_size = AVS_FW_REGS_SIZE + msg->ext.coredump.stack_dump_size; in avs_apl_coredump() 138 if (!msg->ext.coredump.stack_dump_size) in avs_apl_coredump() 142 addr = avs_log_buffer_addr(adev, msg->ext.coredump.core_id); in avs_apl_coredump() 155 lbs_msg.log.core = msg->ext.coredump.core_id; in avs_apl_coredump() 164 if (avs_apl_wait_log_entry(adev, msg->ext.coredump.core_id, &layout)) in avs_apl_coredump() 179 } while (offset < msg->ext.coredump.stack_dump_size); in avs_apl_coredump() 264 .coredump = avs_apl_coredump,
|
H A D | tgl.c | 49 .coredump = avs_apl_coredump,
|
H A D | cnl.c | 86 .coredump = avs_apl_coredump,
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | coredump.c | 133 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()
|
H A D | Makefile | 10 mt7915e-$(CONFIG_DEV_COREDUMP) += coredump.o
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | coredump.c | 1477 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new() 1494 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build() 1622 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create() 1623 if (!ar->coredump.fw_crash_data) in ath10k_coredump_create() 1631 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_register() 1649 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_unregister() 1656 if (ar->coredump.fw_crash_data->ramdump_buf) { in ath10k_coredump_destroy() 1657 vfree(ar->coredump.fw_crash_data->ramdump_buf); in ath10k_coredump_destroy() 1658 ar->coredump.fw_crash_data->ramdump_buf = NULL; in ath10k_coredump_destroy() 1659 ar->coredump.fw_crash_data->ramdump_buf_len = 0; in ath10k_coredump_destroy() [all …]
|
H A D | Makefile | 25 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.c | 138 struct bnxt_coredump *coredump) in bnxt_hwrm_dbg_coredump_list() argument 155 coredump->data = info.dest_buf; in bnxt_hwrm_dbg_coredump_list() 156 coredump->data_size = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_list() 157 coredump->total_segs = info.segs; in bnxt_hwrm_dbg_coredump_list() 391 struct bnxt_coredump coredump = {NULL}; in __bnxt_get_coredump() local 423 coredump.total_segs += segs; in __bnxt_get_coredump() 428 rc = bnxt_hwrm_dbg_coredump_list(bp, &coredump); in __bnxt_get_coredump() 434 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump() 436 seg_record = (struct coredump_segment_record *)coredump.data; in __bnxt_get_coredump() 439 for (i = 0; i < coredump.total_segs; i++) { in __bnxt_get_coredump() [all …]
|
/linux/include/net/bluetooth/ |
H A D | coredump.h | 56 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/Documentation/networking/devlink/ |
H A D | iosm.rst | 98 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/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 201 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/net/bluetooth/ |
H A D | coredump.c | 403 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()
|
H A D | Makefile | 19 bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
|
/linux/drivers/connector/ |
H A D | cn_proc.c | 305 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/include/uapi/linux/ |
H A D | cn_proc.h | 146 } coredump; 147 } coredump; global() member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | init.c | 231 INIT_DELAYED_WORK(&dev->coredump.work, mt7925_coredump_work); in mt7925_register_device() 237 skb_queue_head_init(&dev->coredump.msg_list); in mt7925_register_device()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | Makefile | 7 spufs-$(CONFIG_COREDUMP) += coredump.o
|
/linux/drivers/base/ |
H A D | dd.c | 428 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()
|
H A D | Kconfig | 110 device coredump mechanism. 113 bool "Allow device coredump" if EXPERT 116 This option controls if the device coredump mechanism is available or
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | init.c | 277 INIT_DELAYED_WORK(&dev->coredump.work, mt7921_coredump_work); in mt7921_register_device() 283 skb_queue_head_init(&dev->coredump.msg_list); in mt7921_register_device()
|