Home
last modified time | relevance | path

Searched refs:dump (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/openbmc/linux/net/bluetooth/
H A Dcoredump.c34 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()
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()
90 hdev->dump.head = NULL; in hci_devcd_reset()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c144 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()
198 strscpy(dump->trace_sched, "(sched_info) id, time", in mt7915_coredump_fw_trace()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-dump.c32 ssize_t (*show)(struct dump_obj *dump, struct dump_attribute *attr,
34 ssize_t (*store)(struct dump_obj *dump, struct dump_attribute *attr,
164 struct dump_obj *dump; in dump_attr_show() local
167 dump = to_dump_obj(kobj); in dump_attr_show()
172 return attribute->show(dump, attribute, buf); in dump_attr_show()
180 struct dump_obj *dump; in dump_attr_store() local
183 dump = to_dump_obj(kobj); in dump_attr_store()
188 return attribute->store(dump, attribute, buf, len); in dump_attr_store()
198 struct dump_obj *dump; in dump_release() local
200 dump = to_dump_obj(kobj); in dump_release()
[all …]
/openbmc/docs/designs/
H A Ddump-manager.md14 required for the debugging needs to be collected as a dump. The existing OpenBMC
15 dump interfaces support only the dumps generated on the BMC and dump manager
20 - **System Dump**: A dump of the Host's main memory and processor registers.
35 dump manager, which is orchestrating the collection and offload, needs to
36 provide methods to create, store the dump details, and offload it. Additionally,
37 some sources allow the dump to be extracted manually without a failure to
42 These are some of the dumps supported by dump manager.
46 A dump collected when there is a failure in the BMC with various debug
47 information. This type of dump can be generated by user too to get the current
48 state of the BMC. This dump gets collected on BMC and stored on BMC
[all …]
H A Dpower-systems-memory-preserving-reboot.md17 based servers to create a memory dump required for the debugging. This document
18 explains the high-level flow of warm reboot and extraction of the resulting dump
45 - **System Dump**: A dump of main memory and hardware states for debugging the
82 collects the hardware data and memory contents to create a dump file in the host
89 - System dump should be collected irrespective of the availability of an
92 - It should provide a mechanism for the user to request a system dump.
106 - Error log associated with dump needs to be part of the dump package
108 - A dump summary should be created with size and other details of the dump
110 - Once the dump is generated, the hypervisor should notify BMC.
112 - Hypervisor should offload the dump to BMC to transfer to an external client.
[all …]
H A Dncsi-coredump.md1 # NC-SI core dump
9 NIC core-dump is essential for NIC issue debugging, and it could be retrieved
15 NC-SI command for dump retrieval: Reference: NC-SI spec v1.2: section: 8.4.114
32 <https://github.com/openbmc/phosphor-debug-collector> and extend the dump
33 creation interface with a new "NC-SICoreDump" dump type.
35 The D-Bus interface for dump creation will be:"xyz.openbmc_project.Dump.Manager
36 /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create"
45 NC-SI over RBT or NC-SI over MCTP protocol. All NC-SI dump procedure will be
53 call ncsi-netlink or ncsi-mctp by different NICTarget and generate dump file
56 The following block diagram illustrate entire dump procedure and relationship
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c101 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
167 size_t len, sofar = 0, hdr_len = sizeof(*dump); in mt7996_coredump_build()
[all …]
/openbmc/openpower-debug-collector/
H A D.shellcheck-ignore1 dump/tools/bmcdump/plugins/badpel
2 dump/tools/bmcdump/plugins/cfam
3 dump/tools/bmcdump/plugins/dumpfilelist
4 dump/tools/bmcdump/plugins/guardlist
5 dump/tools/bmcdump/plugins/obmcconsole1
6 dump/tools/bmcdump/plugins/occ
7 dump/tools/bmcdump/plugins/pels
8 dump/tools/bmcdump/plugins/phal_devtree
9 dump/tools/bmcdump/plugins/vpd_data
10 dump/tools/bmcdump/plugins/faultlog
[all …]
/openbmc/linux/drivers/input/joystick/
H A Djoydump.c33 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()
91 dump++; in joydump_connect()
[all …]
/openbmc/phosphor-debug-collector/
H A Dmeson.options21 value: '/xyz/openbmc_project/dump',
22 description: 'The dump manager D-Bus root',
28 value: '/xyz/openbmc_project/dump/bmc',
29 description: 'The BMC dump manager D-Bus object path',
42 value: '/xyz/openbmc_project/dump/bmc/entry',
43 description: 'The BMC dump entry D-Bus object path',
64 description: 'Maximum size of one bmc dump in kilo bytes',
71 description: 'Minimum space required for one bmc dump in kilo bytes',
78 description: 'Total size of the dump in kilo bytes',
106 description: 'To specify the host dump transport protocol',
[all …]
H A Ddump_types.hpp.mako14 namespace dump
16 // Overall dump category for example BMC dump
49 // A table of dump types
53 // Mapping between dump type and dump collection type string
58 * @brief Converts a DumpTypes enum value to dump name.
61 * @return Name of the dump as string, std::nullopt if not found.
66 * @brief Converts dump name to its corresponding DumpTypes enum value.
75 * @brief Validates dump type and returns corresponding collection type
77 * This function checks the provided dump type against the specified category.
78 * If the dump type is empty, it defaults to "user". If the dump type does not
[all …]
H A Ddump_manager_main.cpp34 phosphor::dump::EventPtr eventP{event}; in main()
65 phosphor::dump::DumpManagerList dumpMgrList{}; in main()
66 std::unique_ptr<phosphor::dump::bmc::Manager> bmcDumpMgr = in main()
67 std::make_unique<phosphor::dump::bmc::Manager>( in main()
71 phosphor::dump::bmc::Manager* ptrBmcDumpMgr = bmcDumpMgr.get(); in main()
75 std::unique_ptr<phosphor::dump::faultlog::Manager> faultLogMgr = in main()
76 std::make_unique<phosphor::dump::faultlog::Manager>( in main()
81 phosphor::dump::loadExtensions(bus, dumpMgrList); in main()
89 phosphor::dump::elog::Watch eWatch(bus, *ptrBmcDumpMgr); in main()
H A Dbmc_dump_entry.hpp16 namespace dump namespace
34 class Entry : virtual public phosphor::dump::Entry, virtual public EntryIfaces
60 phosphor::dump::OperationStatus status, std::string originatorId, in Entry()
61 originatorTypes originatorType, phosphor::dump::Manager& parent) : in Entry()
62 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, fileSize, in Entry()
68 this->phosphor::dump::bmc::EntryIfaces::emit_object_added(); in Entry()
119 const std::filesystem::path& filePath, phosphor::dump::Manager& parent) in deserializeEntry()
149 const std::filesystem::path& file, phosphor::dump::Manager& parent) : in Entry()
150 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, 0, 0, file, in Entry()
161 this->phosphor::dump::bmc::EntryIfaces::emit_object_added(); in emitSignal()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugdump.c329 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()
342 dump->dumped_size += total_tlv_sz; in nfp_add_tlv()
343 dump->p += total_tlv_sz; in nfp_add_tlv()
350 struct nfp_dump_state *dump) in nfp_dump_error_tlv() argument
352 struct nfp_dump_error *dump_header = dump->p; in nfp_dump_error_tlv()
359 err = nfp_add_tlv(NFP_DUMPSPEC_TYPE_ERROR, total_size, dump); in nfp_dump_error_tlv()
369 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname() argument
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_dumps.robot3 Documentation Test BMC dump functionality of OpenBMC.
19 # Total size of the dump in kilo bytes
22 # Minimum space required for one bmc dump in kilo bytes
30 [Documentation] Delete non existing BMC dump and expect an error.
40 [Documentation] Create user initiated BMC dump at host off state and
41 ... verify dump entry for it.
52 [Documentation] Verify user initiated BMC dump size is under 20 MB.
69 # Max size for dump is 20 MB = 20x1024x1024 Byte.
74 [Documentation] Verify that the internal failure initiated BMC dump size is under 20 MB.
83 # Wait for BMC dump to get generated after injecting internal failure.
[all …]
/openbmc/qemu/qapi/
H A Ddump.json14 # An enumeration of guest-memory-dump's format.
49 # @dump-guest-memory:
79 # for the dump to finish. The user can track progress using
85 # to dump all guest's memory, please specify the start @begin and
88 # @format: if specified, the format of guest memory dump. But non-elf
103 { 'command': 'dump-guest-memory',
111 # Describe the status of a long-running background guest memory dump.
113 # @none: no dump-guest-memory has started yet.
115 # @active: there is one dump running in background.
117 # @completed: the last dump has finished successfully.
[all …]
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-dump1 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 …]
/openbmc/openbmc-test-automation/lib/
H A Ddump_utils.robot2 Documentation This module provides general keywords for dump.
12 [Documentation] Generate user initiated dump and return
13 ... the dump id number (e.g., "5"). Optionally return EMPTY
14 ... if out of dump space.
18 # check_out_of_space If ${False}, a dump will be created and
22 # returned if out of dump space was
23 # detected when creating the dump.
27 ... Set Global Variable ${REST_DUMP_URI} /xyz/openbmc_project/dump/
40 [Documentation] Wait for the dump to be created. Return the
41 ... dump id number (e.g., "5").
[all …]
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/
H A Dmeson.build4 'input': 'dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service',
9 'dump-extensions/openpower-dumps/dump-extensions.cpp',
10 'dump-extensions/openpower-dumps/dump_manager_system.cpp',
11 'dump-extensions/openpower-dumps/system_dump_entry.cpp',
12 'dump-extensions/openpower-dumps/dump_manager_resource.cpp',
13 'dump-extensions/openpower-dumps/resource_dump_entry.cpp',
14 'dump-extensions/openpower-dumps/op_dump_util.cpp',
H A Ddump_manager_system.cpp17 namespace dump namespace
38 openpower::dump::system::Entry* upEntry = nullptr; in notify()
41 openpower::dump::system::Entry* sysEntry = in notify()
42 dynamic_cast<openpower::dump::system::Entry*>(entry.second.get()); in notify()
49 phosphor::dump::OperationStatus::Completed) in notify()
113 phosphor::dump::OperationStatus::Completed, std::string(), in notify()
132 phosphor::dump::DumpCreateParams params) in createDump()
147 if (openpower::dump::util::isSystemDumpInProgress(bus)) in createDump()
158 phosphor::dump::HostState hostState; in createDump()
161 isHostRunning = phosphor::dump::isHostRunning(); in createDump()
[all …]
H A Dresource_dump_entry.cpp13 namespace dump namespace
32 if (!phosphor::dump::isHostRunning()) in initiateOffload()
38 phosphor::dump::Entry::initiateOffload(uri); in initiateOffload()
39 phosphor::dump::host::requestOffload(sourceDumpId()); in initiateOffload()
47 if ((!offloadUri().empty()) && (phosphor::dump::isHostRunning())) in delete_()
61 if ((phosphor::dump::isHostRunning()) && (srcDumpID != INVALID_SOURCE_ID)) in delete_()
65 phosphor::dump::host::requestDelete(srcDumpID, in delete_()
78 phosphor::dump::Entry::delete_(); in delete_()
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_devlink.c44 err = qlge_fill_seg_(fmsg, &dump->seg_hdr, dump->seg_regs); \
46 kvfree(dump); \
58 struct qlge_mpi_coredump *dump; in qlge_reporter_coredump() local
76 dump = kvmalloc(sizeof(*dump), GFP_KERNEL); in qlge_reporter_coredump()
77 if (!dump) in qlge_reporter_coredump()
80 err = qlge_core_dump(qdev, dump); in qlge_reporter_coredump()
82 kvfree(dump); in qlge_reporter_coredump()
118 err = qlge_fill_seg_(fmsg, &dump->misc_nic_seg_hdr, in qlge_reporter_coredump()
119 (u32 *)&dump->misc_nic_info); in qlge_reporter_coredump()
121 kvfree(dump); in qlge_reporter_coredump()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c1097 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
1132 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param()
1135 if (dump) in qed_dump_str_param()
1140 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param()
1143 offset += qed_dump_align(char_buf + offset, dump, offset); in qed_dump_str_param()
1152 bool dump, const char *param_name, u32 param_val) in qed_dump_num_param() argument
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddebug.c20 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()
/openbmc/linux/Documentation/admin-guide/kdump/
H A Dkdump.rst11 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 …]

12345678910>>...42