/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_dump.hpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
H A D | file_io_type_dump.cpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
H A D | file_io_by_type.cpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
H A D | file_io.hpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
/openbmc/pldm/oem/ibm/requester/ |
H A D | dbus_to_file_handler.hpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
H A D | dbus_to_file_handler.cpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_fileio_test.cpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
/openbmc/pldm/libpldmresponder/ |
H A D | meson.build | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|
/openbmc/pldm/pldmd/ |
H A D | pldmd.cpp | db12436a Thu Jan 28 21:12:34 CST 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> oem-ibm: Resource dump support This commit includes the changes to support resource dump. Input parameters to initiate resource dump are vsp string and the password. Resource Dump Flow: 1. PLDM waits for the resource dump create signal from dump manager 2. BMC sends the NewfileAvailable command to hypervisor with resource dump paramters Format: <Length of the VSP String><VSP String> <Length of the Password><Password> 3. Hypervisor reads and validates the data and send the File Ack command back to BMC 4. Once completed, BMC receives the NewfileAvailable command from hypervisor with resource dump details 5. User initiates the dump offload 6. BMC receives the write file by type from memory command from hypervisor 7. Once this operation is completed BMC receives the File Ack command from hyperviosr Tested By: 1. Initiating the resource dump using pldmtool, busctl and redfish 2. Verified that resource dump entry is updated with source id, length, completion time and status. 3. Dump offload is successful with initiating from redfish 4. Verified that new resource dump is generated at hypervisor level 5. Error scenarios tested are like empty vsp string, not supported vsp string etc. Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iedcdf3cf16c263a2d1749bb5251f7f6244c327ea
|