Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/linux/net/bluetooth/
H A Dcoredump.c72 if (hdev->dump.dmp_hdr) in hci_devcd_mkheader()
90 hdev->dump.head = NULL; in hci_devcd_reset()
91 hdev->dump.tail = NULL; in hci_devcd_reset()
112 if (!hdev->dump.head) in hci_devcd_alloc()
116 hdev->dump.tail = hdev->dump.head; in hci_devcd_alloc()
117 hdev->dump.end = hdev->dump.head + size; in hci_devcd_alloc()
127 if (hdev->dump.tail + size > hdev->dump.end) in hci_devcd_copy()
139 if (hdev->dump.tail + len > hdev->dump.end) in hci_devcd_memset()
254 dump_size = hdev->dump.tail - hdev->dump.head; in hci_devcd_handle_pkt_complete()
273 dump_size = hdev->dump.tail - hdev->dump.head; in hci_devcd_handle_pkt_abort()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c157 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()
178 dump->eint_info_idx = n; in mt7915_coredump_fw_trace()
183 dump->irq_info_idx = n; in mt7915_coredump_fw_trace()
328 dump->len = len; in mt7915_coredump_build()
331 strscpy(dump->magic, "mt76-crash-dump", sizeof(dump->magic)); in mt7915_coredump_build()
332 strscpy(dump->kernel, init_utsname()->release, sizeof(dump->kernel)); in mt7915_coredump_build()
356 return dump; in mt7915_coredump_build()
364 if (!dump) { in mt7915_coredump_submit()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-dump.c201 vfree(dump->buffer); in dump_release()
202 kfree(dump); in dump_release()
250 dump->buffer = vzalloc(PAGE_ALIGN(dump->size)); in dump_read_data()
258 list = opal_vmalloc_to_sg_list(dump->buffer, dump->size); in dump_read_data()
332 dump = kzalloc(sizeof(*dump), GFP_KERNEL); in create_dump_obj()
333 if (!dump) in create_dump_obj()
347 dump->id = id; in create_dump_obj()
348 dump->size = size; in create_dump_obj()
349 dump->type = type; in create_dump_obj()
373 rc = sysfs_create_bin_file(&dump->kobj, &dump->dump_attr); in create_dump_obj()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c110 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()
123 strscpy(dump->pc_current, "program counter", sizeof(dump->pc_current)); in mt7996_coredump_fw_stack()
151 dump->lr_stack[i] = in mt7996_coredump_fw_stack()
188 dump->len = len; in mt7996_coredump_build()
191 strscpy(dump->magic, "mt76-crash-dump", sizeof(dump->magic)); in mt7996_coredump_build()
192 strscpy(dump->kernel, init_utsname()->release, sizeof(dump->kernel)); in mt7996_coredump_build()
194 sizeof(dump->fw_ver)); in mt7996_coredump_build()
213 return dump; in mt7996_coredump_build()
221 if (!dump) { in mt7996_coredump_submit()
[all …]
/openbmc/docs/designs/
H A Ddump-manager.md15 dump interfaces support only the dumps generated on the BMC and dump manager
57 dump.
59 #### Resource dump
69 #### Hostboot dump
75 #### Hardware dump
91 - Get a dump: Offload the dump to an external entity.
92 - Notify: Notify the dump manager that a new dump is created.
93 - Delete the dump.
95 - Set the dump policies like disabling a type of dump or dump overwriting
121 - The dreport create dump file in the dump path provided by the dump manager
[all …]
H A Dpower-systems-memory-preserving-reboot.md106 - 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
171 BMC through PLDM and with the dump size PLDM calls the dump manager interface to
172 notify the dump. Dump manager creates a dBus object for the new dump, with
180 BMC dump manager make a PLDM call with dump id provided by hypervisor and the
195 #### 12 - HMC verifies dump and send dump DELETE to BMC.
197 HMC verifies the dump and send dump delete request to BMC BMC sends the dump
210 Offload the dump from hypervisor to external dump collection application instead
219 and notification of new dump file to dump manager.
222 - Dump manager on BMC - BMC dump manager supports dump stored on BMC and that
[all …]
/openbmc/linux/drivers/input/joystick/
H A Djoydump.c69 dump = buf; in joydump_connect()
77 dump->data = u; in joydump_connect()
78 dump->time = t; in joydump_connect()
79 dump++; 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()
103 dump = buf; in joydump_connect()
104 prev = dump; in joydump_connect()
[all …]
/openbmc/phosphor-debug-collector/
H A Dmeson.options15 value : '/xyz/openbmc_project/dump',
16 description : 'The dump manager D-Bus root'
20 value : '/xyz/openbmc_project/dump/bmc',
30 value : '/xyz/openbmc_project/dump/bmc/entry',
85 description : 'Enable rotate config for bmc dump'
96 value : '/xyz/openbmc_project/dump/faultlog',
105 # Configurations for openpower-dump extension
107 # System dump options
110 value : '/xyz/openbmc_project/dump/system',
119 # Resource dump options
[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()
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/Dump/
H A DNotify.interface.yaml3 dump is already created and ready to be offloaded. This interface will
4 update an existing dump object or add a new one with the provided
6 being collected and the dump needs to be packaged.
10 interface with dump type, dump source id (an id assigned by the host and
12 dump.
15 com.ibm.Dump.Notify on /xyz/openbmc_project/dump.
20 dump type.
25 The dump id provided by the source of the dump. In IBM OpenPOWER
33 dump can be up to 32GB.
37 The type of the dump.
[all …]
H A DCreate.interface.yaml2 Implement this to pass additional parameters to the create dump. Each
3 required parameter for the dump in the ibm domain should be added here as an
9 Additional parameters for creating the dump.
13 The resouce dump is collected from various host resources. The
14 resource to collect the dump is indicated by using the resource
16 host to generate a resource dump.
19 The password for authenticating the resource dump request.
23 dump. The value should be a 32 bit unsigned integer.
26 Type of the dump to be collected
34 Type of the host dump to be collected.
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugdump.c336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) 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
391 struct nfp_dump_state *dump) in nfp_dump_hwinfo() argument
412 struct nfp_dump_state *dump) in nfp_dump_hwinfo_field() argument
467 dest = dump->p + header_size; in nfp_dump_csr_range()
570 dest = dump->p + header_size; in nfp_dump_indirect_csr_range()
623 dest = dump->p + header_size; in nfp_dump_single_rtsym()
740 struct nfp_dump_state dump; in nfp_net_dump_populate_buffer() local
744 dump.dumped_size = 0; in nfp_net_dump_populate_buffer()
[all …]
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/
H A Dmeson.build3 unit_files += {'input': 'dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service',
10 description : 'The system dump manager D-Bus path'
13 description : 'The system dump entry D-Bus object path'
17 description : 'The resource dump manager D-Bus path'
20 description : 'The resource dump entry D-Bus object path'
27 'dump-extensions/openpower-dumps/dump-extensions.cpp',
28 'dump-extensions/openpower-dumps/dump_manager_system.cpp',
29 'dump-extensions/openpower-dumps/system_dump_entry.cpp',
30 'dump-extensions/openpower-dumps/dump_manager_resource.cpp',
31 'dump-extensions/openpower-dumps/resource_dump_entry.cpp',
[all …]
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()
49 phosphor::dump::OperationStatus::Completed) in notify()
132 Manager::createDump(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()
162 hostState = phosphor::dump::getHostState(); in createDump()
174 hostState == phosphor::dump::HostState::TransitioningToOff; 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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Dump/Entry/
H A DSystem.interface.yaml2 Implement this to add system dump management.
4 System dumps are dump of the host memory and hardware states generated
5 during a failure in the host firmware. This can be a huge dump stored in the
6 host memory, the BMC doesnt store this dump but stream this dump to an
8 system dump, users can also request for this kind of dump.
14 The dump id provided by the source of the dump. There are dumps which
23 dump outside of the BMC. This token can be used to identify the dump
31 dump, alters the system state. This kind of dump is typically
35 system crashes. The second type is a 'non-disruptive' dump. As the
52 certain dump operations.
[all …]
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-dump1 What: /sys/firmware/opal/dump
12 we will initiate a dump.
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
37 dump: A binary file containing the dump.
41 dump to the service processor. It will
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_dumps.robot134 # Create user initiated BMC dump and verify only one dump is available.
141 [Documentation] Create user dump, restart dump manager service and verify dump
149 # Restart dump service.
158 [Documentation] Create user dump, reset BMC and verify dump persistency.
193 # Create some BMC dump.
257 # Check error while creating dump when dump size is full.
304 # Check error while initiating BMC dump while dump in progress.
315 [Documentation] Verify BMC dump creation error until older BMC dump completion.
370 # Extract dump and verify type of dump from summary.log content:
409 # Download BMC dump.
[all …]
/openbmc/qemu/qapi/
H A Ddump.json14 # An enumeration of guest-memory-dump's format.
49 # @dump-guest-memory:
105 { 'command': 'dump-guest-memory',
121 # @failed: the last dump has failed.
131 # The result format for 'query-dump'.
147 # @query-dump:
149 # Query latest dump status.
166 # Emitted when background dump has completed
168 # @result: final dump status
198 # @query-dump-guest-memory-capability:
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Dump/
H A DNewDump.interface.yaml2 Implement to notify the creation of new dump. Use this interface when the
3 dump is already created and ready to be offloaded. This interface will add a
4 new dump object with the properties provided. The existing internal create
5 interface should be used when the data is collected and the dump needs to be
9 xyz.openbmc_project.Dump.NewDump on /xyz/openbmc_project/dump.
14 Create a dump entry based on the parameters.
19 The dump id provided by the source of the dump. There are dumps
20 which get generated outside the BMC, like a system dump which
23 dump the SourceDumpId will be used.
27 Size of the dump in bytes
H A DCreate.interface.yaml3 interface is for user to request a particular type of dump.
6 xyz.openbmc_project.Dump.Create per dump type on
7 /xyz/openbmc_project/dump/<dump type>. On multi-host or on multi-BMC systems
9 /xyz/openbmc_project/dump/<dump type><instance-id>.
39 dump
52 Additional parameters for creating the dump.
66 Type of the BMC dump to be collected
70 core-dump.
76 during the dump process.
84 into the dump to aid in providing a clearer context.
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/Dump/Entry/
H A DResource.interface.yaml2 Implement this to add Resource dump management.
5 The dump is generated based on the resource selector. Hyperviosr needs a
6 password to validate the request before creating the dump.
12 The dump id provided by the source of the dump. There are dumps which
13 get generated outside the BMC, like a resource dump which gets
15 id but when communicating to the source of the dump the SourceDumpId
20 The resource selector for generating the dump.
35 certain dump operations.
40 dump outside of the BMC. This token can be used to identify the dump
54 resource dump request.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Ddump_utils.robot14 ... if out of dump space.
41 ... dump id number (e.g., "5").
123 [Documentation] Deletes a given bmc dump.
201 [Documentation] Verify that there is no BMC dump at dump URI.
203 # Verify no dump exists.
241 # dump_id BMC dump identifier
264 [Documentation] Trigger core dump.
293 …[Documentation] Generate user initiated BMC dump via Redfish and return the dump id number (e.g.,…
301 # initiating BMC dump and returns dump task id.
347 [Documentation] Get dump size.
[all …]
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_devlink.c44 err = qlge_fill_seg_(fmsg, &dump->seg_hdr, dump->seg_regs); \
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()
142 kvfree(dump); in qlge_reporter_coredump()
[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()

12345678910>>...42