82b4d3b4 | 25-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
Introduce pldm_bios_table_attr_entry_enum_decode_pv_hdls(), deprecate pldm_bios_table_attr_entry_enum_decode_pv_hdls_ch
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
Introduce pldm_bios_table_attr_entry_enum_decode_pv_hdls(), deprecate pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(), add the rename configuration and apply it.
gitlint-ignore: T1 Change-Id: I29b4d24ce0bbb92ff0491c2abae4b512d4374e74 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
46673f4a | 25-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_def_num_check()
Introduce pldm_bios_table_attr_entry_enum_decode_def_num(), deprecate pldm_bios_table_attr_entry_enum_decode_def_num_ch
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_def_num_check()
Introduce pldm_bios_table_attr_entry_enum_decode_def_num(), deprecate pldm_bios_table_attr_entry_enum_decode_def_num_check(), add the rename configuration and apply it.
gitlint-ignore: T1 Change-Id: Ia0eec8050e39f2ee45c350386af32bd5c37135c5 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
b06882f1 | 25-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_pv_num_check()
Introduce `pldm_bios_table_attr_entry_enum_decode_pv_num()`, deprecate `pldm_bios_table_attr_entry_enum_decode_pv_num_ch
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_pv_num_check()
Introduce `pldm_bios_table_attr_entry_enum_decode_pv_num()`, deprecate `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`, add the rename configuration and apply it.
gitlint-ignore: T1 Change-Id: Ifb34736e9c1a31ad15649e556dcb6e3c98890f07 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
7126b1d2 | 25-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_encode_check()
Introduce pldm_bios_table_attr_entry_enum_encode(), deprecate pldm_bios_table_attr_entry_enum_encode_check(), add the rename co
dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_encode_check()
Introduce pldm_bios_table_attr_entry_enum_encode(), deprecate pldm_bios_table_attr_entry_enum_encode_check(), add the rename configuration and apply it.
Change-Id: I52586f960c5bda2a8c839d27c95bd65ca90c831f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
8c37ab36 | 25-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_string_entry_decode_string_check()
Introduce pldm_bios_table_string_entry_decode_string(), deprecate pldm_bios_table_string_entry_decode_string_check(), add t
dsp: bios_table: Rename pldm_bios_table_string_entry_decode_string_check()
Introduce pldm_bios_table_string_entry_decode_string(), deprecate pldm_bios_table_string_entry_decode_string_check(), add the rename configuration and apply it.
gitlint-ignore: T1 Change-Id: Ia204acd95d9e1d9bc80d91dd0ff6ffea3a1fe243 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
e48fdd6e | 24-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: bios_table: Rename pldm_bios_table_string_entry_encode_check()
Introduce pldm_bios_table_string_entry_encode(), deprecate pldm_bios_table_string_entry_encode_check(), add the rename configurati
dsp: bios_table: Rename pldm_bios_table_string_entry_encode_check()
Introduce pldm_bios_table_string_entry_encode(), deprecate pldm_bios_table_string_entry_encode_check(), add the rename configuration and apply it.
Change-Id: I3a75320fde4be6bf913b3eb9b56ccacc11abf511 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
aa49b71f | 24-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: pdr: Rename pldm_entity_association_pdr_add_from_node_check()
Introduce pldm_entity_association_pdr_add_from_node(), deprecate pldm_entity_association_pdr_add_from_node_check(), add the rename
dsp: pdr: Rename pldm_entity_association_pdr_add_from_node_check()
Introduce pldm_entity_association_pdr_add_from_node(), deprecate pldm_entity_association_pdr_add_from_node_check(), add the rename configuration and apply it.
Change-Id: Id4f20365115977810491e8feb465042e51e3a267 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
d72ea4b8 | 24-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: pdr: Rename pldm_entity_association_pdr_add_check()
Introduce pldm_entity_association_pdr_add(), deprecate pldm_entity_association_pdr_add_check(), add the rename configuration and then apply i
dsp: pdr: Rename pldm_entity_association_pdr_add_check()
Introduce pldm_entity_association_pdr_add(), deprecate pldm_entity_association_pdr_add_check(), add the rename configuration and then apply it.
One quirk this time around is that we had forgotten to remove the declaration of pldm_entity_association_pdr_add() from the header when we removed its implementation. Clean this issue up as well, as it's necessary to avoid the type conflict.
Change-Id: Id8e61c817017dd7caefa9fd7b2bc59ee0f1f6721 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
e7f55113 | 20-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: pdr: Rename pldm_pdr_add_fru_record_set_check()
Drop the `_check` suffix so it is now `pldm_pdr_add_fru_record_set()`, and run `apply-renames` to update any internal references.
Change-Id: Iaa
dsp: pdr: Rename pldm_pdr_add_fru_record_set_check()
Drop the `_check` suffix so it is now `pldm_pdr_add_fru_record_set()`, and run `apply-renames` to update any internal references.
Change-Id: Iaaa452269caa47369c80b43bf65f30d2a004ec66 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
fae3641d | 20-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: pdr: Rename pldm_pdr_add_check()
Drop the `_check` suffix so it is now `pldm_pdr_add()`.
Change-Id: I9b32317f99a89acbe1cc0510380cd26badd145d6 Signed-off-by: Andrew Jeffery <andrew@codeconstruc
dsp: pdr: Rename pldm_pdr_add_check()
Drop the `_check` suffix so it is now `pldm_pdr_add()`.
Change-Id: I9b32317f99a89acbe1cc0510380cd26badd145d6 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
7739d123 | 26-Jul-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
platform: Rework decode/encode_pldm_message_poll_event_data() APIs
Adds `struct pldm_message_poll_event` which includes `format_version`, `event_id` and `data_transfer_handle` in `pldmMessagePollEve
platform: Rework decode/encode_pldm_message_poll_event_data() APIs
Adds `struct pldm_message_poll_event` which includes `format_version`, `event_id` and `data_transfer_handle` in `pldmMessagePollEvent` data. Rework decode/encode_pldm_message_poll_event_data() APIs to use `struct pldm_message_poll_event poll_event` as parameter.
Change-Id: I01c643ed320b17141d89068cb3e00b1a99162d77 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
b6ef35b4 | 02-Jul-2024 |
Chris Wang <chris.wang.wiwynn@gmail.com> |
fw_update: Add encode req & decode resp for get_downstream_fw_params
Add support for Get Downstream Firmware Parameters to ask all downstream devices' Firmware Parameters.
The code is developed bas
fw_update: Add encode req & decode resp for get_downstream_fw_params
Add support for Get Downstream Firmware Parameters to ask all downstream devices' Firmware Parameters.
The code is developed based on the definition of 'GetDownstreamFirmwareParameters' in DSP0267_1.1.0. Section 10.5
Change-Id: I291ca3b623be6119434b70494bb9a12b22f600b9 Signed-off-by: Chris Wang <chris.wang.wiwynn@gmail.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
dacfa354 | 22-Jun-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
pdr: Add related decode_entity_auxiliary_names_pdr*() APIs
Add `decode_entity_auxiliary_names_pdr()` to decode the entity auxiliary names PDR raw data to the data fields as table 95 in DSP0248_1.2.2
pdr: Add related decode_entity_auxiliary_names_pdr*() APIs
Add `decode_entity_auxiliary_names_pdr()` to decode the entity auxiliary names PDR raw data to the data fields as table 95 in DSP0248_1.2.2. The API will not decode the entity auxiliary names directly - to expose the language tags and names fields the caller has to subsequently call `decode_pldm_entity_auxiliary_names_pdr_index()`. Between the API calls the caller must allocate memory for the `names` field as an array of `struct pldm_entity_auxiliary_name` with `name_string_count` elements.
Change-Id: I5fc3989c4c4595546a70c01eb2b6dadcf8c14303 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
274732fc | 05-Jul-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
pdr: Add pldm_pdr_get_terminus_handle() API
Adds a new libpldm API to get the terminus handle of the particular record given as input from the PDR repo.
Change-Id: I3694cc3974a564296f4584b70de7d6d1
pdr: Add pldm_pdr_get_terminus_handle() API
Adds a new libpldm API to get the terminus handle of the particular record given as input from the PDR repo.
Change-Id: I3694cc3974a564296f4584b70de7d6d1dad2a866 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
e5469f54 | 06-Jul-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
platform: Define macros for the responded transferflags
`Table 16: PollForPlatformEventMessage command format` and `Table 68: GetPDR command format` in DSP0248 v1.2.2 define the values of the respon
platform: Define macros for the responded transferflags
`Table 16: PollForPlatformEventMessage command format` and `Table 68: GetPDR command format` in DSP0248 v1.2.2 define the values of the responded `transferflag` for PLDM platform and control commands. Add the definition for further using.
Change-Id: Ibd97918a7a5add10dbb5db7c044c71daa5bbaa4e Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
a1efaa2e | 19-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
include: Drop compat symlinks for IBM OEM headers
These symlinks have been in-place long enough for people to migrate. Provide a coccinelle semantic patch to help anyone who hasn't.
Change-Id: Iab4
include: Drop compat symlinks for IBM OEM headers
These symlinks have been in-place long enough for people to migrate. Provide a coccinelle semantic patch to help anyone who hasn't.
Change-Id: Iab456ebba8d87c57eb2d573b7a8bffb394e0bb00 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
9e3a5d45 | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I25415165df192cfc3bd1405aca81bfa5bf2f7a63 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
d9b70ba7 | 08-Jun-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: fru: Rename get_fru_record_by_option_check()
We drop the `_check` suffix so that it is now `get_fru_record_by_option()`.
To do so, introduce some infrastructure that makes renaming APIs easier
dsp: fru: Rename get_fru_record_by_option_check()
We drop the `_check` suffix so that it is now `get_fru_record_by_option()`.
To do so, introduce some infrastructure that makes renaming APIs easier and scripts the migration for users. The renaming process comes in several parts, which are captured in the addition to the changes checklist.
The coccinelle script based off the insight at [1].
[1]: https://stackoverflow.com/questions/42776220/coccinelle-help-to-replace-a-function-with-variable-args
Change-Id: I730b76c3e3c92dcc046fecbee76cd6b040f11d21 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
0ee03b5b | 11-Jun-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
base: Define macros for reserved TIDs
Move the definition of `PLDM_TID_RESERVED` from platform.h to base.h as the value is defined in the base specification (DSP0240). platform.h already includes ba
base: Define macros for reserved TIDs
Move the definition of `PLDM_TID_RESERVED` from platform.h to base.h as the value is defined in the base specification (DSP0240). platform.h already includes base.h so the move is not an API-breaking change.
Further, add the definition for `PLDM_TID_UNASSIGNED`, which is the other reserved TID value.
Change-Id: I191bee73e091a4b0e83c4bffcee38bff3c88ed96 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
37552b99 | 12-Feb-2024 |
Varsha Kaverappa <vkaverap@in.ibm.com> |
pdr: Add contained entity to an association PDR
Include function to add a contained entity into an entity association PDR. A contained entity may be added to an existing container thereby Imodifying
pdr: Add contained entity to an association PDR
Include function to add a contained entity into an entity association PDR. A contained entity may be added to an existing container thereby Imodifying the association PDR or it can be added to the association PDR by attaching both the container and its contained entity. This API covers both these cases.
DSP0248_1.2.0 - SECTION 11 explains entity association PDR
Tested By: Adding/Removing an entity(FRU) to an existing PDR on SIMICS.
Change-Id: Id4ac34f03311dbc7633e7fd6db7f772cfd811a2d Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
show more ...
|
a6fa5559 | 05-May-2024 |
Tal Yacobi <talycb8@gmail.com> |
platform: Add support for GetStateEffecterStates command
Based on DSP0248 PLDM for Platform Monitoring and Control Specification version 1.2.0a Section 22.6
Implement encode and decode for both req
platform: Add support for GetStateEffecterStates command
Based on DSP0248 PLDM for Platform Monitoring and Control Specification version 1.2.0a Section 22.6
Implement encode and decode for both request and response for GetStateEffecterStates PLDM command.
Include unit-tests.
Change-Id: Ia3bd71151d40b56f91afe2fe23b8bf2f26915b64 Signed-off-by: Tal Yacobi <talycb8@gmail.com>
show more ...
|
458475a9 | 26-Mar-2024 |
Chris Wang <Chris_Wang@wiwynn.com> |
fw_update: Add encode req & decode resp for query_downtream_identifiers
Add support for Query Downstream Identifiers to ask all downstream devices' Descriptors managed by a endpoint.
The code is de
fw_update: Add encode req & decode resp for query_downtream_identifiers
Add support for Query Downstream Identifiers to ask all downstream devices' Descriptors managed by a endpoint.
The code is developed based on the definition of 'QueryDownstreamIdentifiers' in DSP0267_1.1.0 Section 10.4
Change-Id: I6282a894c73b78470c147e77d81e5a4ddd6a39a8 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
4c1f2c72 | 21-Mar-2024 |
Chris Wang <Chris_Wang@wiwynn.com> |
fw_update: Add encode req & decode resp for query_downstream_devices
Add support for Query Downstream Devices to ask if a endpoint supports downstream devices.
The code is developed based on the de
fw_update: Add encode req & decode resp for query_downstream_devices
Add support for Query Downstream Devices to ask if a endpoint supports downstream devices.
The code is developed based on the definition of 'QueryDownstreamDevices' in DSP0267_1.1.0. Section 10.3
Change-Id: I5925290de5023eb48f675e736429fe9f257170c8 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
ea435c9f | 30-Apr-2024 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
oem: ibm: Support for the Real SAI entity id
This commit adds the Real SAI (System Attention Indicator) oem entity id.
Real SAI is a physical led indicator which lights up whenever there is a platf
oem: ibm: Support for the Real SAI entity id
This commit adds the Real SAI (System Attention Indicator) oem entity id.
Real SAI is a physical led indicator which lights up whenever there is a platform error (originated from BMC) or a partition error that is not mapped to any physical FRU (Field Replaceable Unit).
The pldm commit that uses this value is https://gerrit.openbmc.org/c/openbmc/pldm/+/48906
Change-Id: I3e070303c1a8aed236be05fbf79a402f6b1322f8 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
show more ...
|
d4878cdf | 08-Nov-2023 |
Thu Nguyen <thu@os.amperecomputing.com> |
pdr: Add decode_numeric_effecter_pdr_data()
Add `decode_numeric_effecter_pdr_data` API to decode the numeric effecter PDR data in DSP0248_1.2.2 table 87. The API will be used to retrieve the data fi
pdr: Add decode_numeric_effecter_pdr_data()
Add `decode_numeric_effecter_pdr_data` API to decode the numeric effecter PDR data in DSP0248_1.2.2 table 87. The API will be used to retrieve the data fields of numeric effecter from the PDRs in `pldmd`.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I323a1288cb0262bd39f4f28701ddc7dbb70c33c8
show more ...
|