#
16c2a0a0 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I8c84201cb2343a8c8a5507a49de0721a1bee7063 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a340eed8 |
| 14-Feb-2023 |
Pavithra Barithaya <pavithra.b@ibm.com> |
Pldmtool change to fetch pdrs based on TerminusID
This commit adds a new option "-n" to getPDR in the pldmtool using which we can retrieve the PDRs based on the terminus ID.
Tested: ./pldmtool pla
Pldmtool change to fetch pdrs based on TerminusID
This commit adds a new option "-n" to getPDR in the pldmtool using which we can retrieve the PDRs based on the terminus ID.
Tested: ./pldmtool platform getpdr -h get platform descriptor records Usage: ./pldmtool platform GetPDR [OPTIONS]
Options: -h,--help Print this help message and exit -m,--mctp_eid UINT MCTP endpoint ID -v,--verbose [Option Group: Required Option] Retrieve individual PDR, all PDRs, PDRs of a requested type or retrieve all PDRs of the requested terminusID [Exactly 1 of the following options is required] Options: -d,--data UINT retrieve individual PDRs from a PDR Repository eg: The recordHandle value for the PDR to be retrieved and 0 means get first PDR in the repository. -t,--type TEXT retrieve all PDRs of the requested type supported types: [terminusLocator, stateSensor, numericEffecter, stateEffecter, EntityAssociation, fruRecord, ... ] -i,--terminusID UINT retrieve all PDRs of the requested terminusID supported IDs: [1, 2, 208...] -a,--all retrieve all PDRs from a PDR repository
Example 1: ./pldmtool platform getpdr -i 0 []
Example 2: ./pldmtool platform getpdr -i 2 Copied the output here: https://gist.github.com/Pavithrab7/4218104bc7e58951ff91fe5b49e562b0
Change-Id: I8b78818abbbbb3678e180d2bd1f38017454fd0d3 Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
show more ...
|
#
a7dbca53 |
| 07-Jul-2023 |
Pavithra Barithaya <pavithra.b@ibm.com> |
clang-error: fix clang-diagnostic-defaulted-function-deleted error
The clang-diagnostic-defaulted-function-deleted error is generated when explicitly defaulted move assignment operator is implicitly
clang-error: fix clang-diagnostic-defaulted-function-deleted error
The clang-diagnostic-defaulted-function-deleted error is generated when explicitly defaulted move assignment operator is implicitly deleted. This commit fixes those errors.
Change-Id: I7a407dd3411b19a73a13b1c1e4805b89fc2ec51a Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
show more ...
|
#
66871b4d |
| 28-May-2023 |
Thu Nguyen <thu@os.amperecomputing.com> |
pldmtool: Use instanceId from libpldm for raw command
In the pldmtool raw command, instanceId is inputted in raw data. It does not use the retrievedi one from the instanceId database by exec() in p
pldmtool: Use instanceId from libpldm for raw command
In the pldmtool raw command, instanceId is inputted in raw data. It does not use the retrievedi one from the instanceId database by exec() in pldm_cmd_helper. This causes the failure when the response handler frees this provided instanceId because that instanceID is not in libpldm database. To fix that, the inputted instanceId will be ignored and the retrieved instanceId from libpldm will be used.
Tested: 1. No "Invalid instance ID" in the journal log when running "pldmtool raw" commands.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I310f699e2d87ba2fa16b69350fdd7fa69d9598f9
show more ...
|
#
6da4f91b |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ca1998f3 |
| 06-Jun-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
update clang-format
This commit would update the repo's clang-format file to the latest of docs/style/cpp/clang-format file.
Following is the new change that is added: Brad : clang-format: cpp: r
update clang-format
This commit would update the repo's clang-format file to the latest of docs/style/cpp/clang-format file.
Following is the new change that is added: Brad : clang-format: cpp: remove empty lines
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ieaadd8a1cd779c9c12adf6d065cc1f9e9a8fa37b
show more ...
|
#
eea835a9 |
| 25-Oct-2021 |
Tom Joseph <rushtotom@gmail.com> |
pldmtool: Add GetStatus firmware update command Tested: pldmtool fw_update --help firmware update type commands Usage: ./pldmtool fw_update [OPTIONS] SUBCOMMAND Options:
pldmtool: Add GetStatus firmware update command Tested: pldmtool fw_update --help firmware update type commands Usage: ./pldmtool fw_update [OPTIONS] SUBCOMMAND Options: -h,--help Print this help message and exit Subcommands: GetStatus Status of the FD pldmtool fw_update GetStatus -m <eid> { "CurrentState": "IDLE", "PreviousState": "IDLE", "AuxState": "Not applicable in current state", "AuxStateStatus": "AuxState is In Progress or Success", "ProgressPercent": 101, "ReasonCode": "Initialization of firmware device has occurred", "UpdateOptionFlagsEnabled": 0 } Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: I2eb41996ab0dcb1d00ac5b8b0e55846b0d4b28a5
show more ...
|
#
c4e80cca |
| 26-May-2020 |
Pavithra Barithaya <pbaritha@in.ibm.com> |
pldmtool : File table parsing This commit implements parsing of the file attribute table by issuing the GetFileTable command with the -t option which specifies the pldm file table ty
pldmtool : File table parsing This commit implements parsing of the file attribute table by issuing the GetFileTable command with the -t option which specifies the pldm file table type. Tested: ./pldmtool oem-ibm -h oem type command Usage: ./pldmtool oem-ibm [OPTIONS] SUBCOMMAND Options: -h,--help Print this help message and exit Subcommands: GetAlertStatus get alert status descriptor GetFileTable get file table ./pldmtool oem-ibm GetFileTable Request Message: 08 01 80 3f 01 00 00 00 00 01 00 Success in creating the socket : RC = 3 Success in connecting to socket : RC = 0 Success in sending message type as pldm to mctp : RC = 0 Write to socket successful : RC = 11 Total length:71 Shutdown Socket successful : RC = 0 Response Message: 08 01 00 3f 01 00 00 00 00 00 05 00 00 00 00 0a 00 50 48 59 50 2d 4e 56 52 41 4d 00 b0 10 01 01 00 00 00 01 00 00 00 10 00 50 48 59 50 2d 4e 56 52 41 4d 2d 43 4b 53 55 4d 10 00 00 00 04 00 00 00 00 00 87 55 62 3e FileHandle[0]:0 FileNameLength[0]:10 FileName[0]:PHYP-NVRAM FileSize[0]:17870848 FileTraits[0]:1 FileHandle[1]:1 FileNameLength[1]:16 FileName[1]:PHYP-NVRAM-CKSUM FileSize[1]:16 FileTraits[1]:4 Change-Id: I44de4dd33fee42df7cdc67eaaddf259ea83346ae Signed-off-by: Pavithra Barithaya <pbaritha@in.ibm.com>
show more ...
|
#
f7f5da97 |
| 17-Jun-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Rename tool/ as pldmtool/ Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I38d7a6ab907014cd5fca049b095d692d069feab1
|