xref: /openbmc/libpldm/CHANGELOG.md (revision 21cb052b1446bb006aa5e1f6fdfcc0bad678bb70)
16fd81a51SAndrew Jeffery# Changelog
26fd81a51SAndrew Jeffery
36fd81a51SAndrew JefferyAll notable changes to this project will be documented in this file.
46fd81a51SAndrew Jeffery
56fd81a51SAndrew JefferyThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66fd81a51SAndrew Jefferyand this project adheres to
76fd81a51SAndrew Jeffery[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
86fd81a51SAndrew Jeffery
96fd81a51SAndrew JefferyChange categories:
106fd81a51SAndrew Jeffery
116fd81a51SAndrew Jeffery- Added
126fd81a51SAndrew Jeffery- Changed
136fd81a51SAndrew Jeffery- Deprecated
146fd81a51SAndrew Jeffery- Removed
156fd81a51SAndrew Jeffery- Fixed
166fd81a51SAndrew Jeffery- Security
176fd81a51SAndrew Jeffery
18ff2f4214SAndrew Jeffery## [Unreleased]
19ff2f4214SAndrew Jeffery
200f5be28fSLora Lin### Added
210f5be28fSLora Lin
220f5be28fSLora Lin1. oem: meta: Add decode_oem_meta_file_io_write_req()
23893a08f0SLora Lin2. oem: meta: Add decode_oem_meta_file_io_read_req()
246476c968SLora Lin3. oem: meta: Add encode_oem_meta_file_io_read_resp()
25b31e4c6cSVarsha Kaverappa4. pdr: Add pldm_entity_association_pdr_remove_contained_entity()
268b53ad9dSVarsha Kaverappa5. pdr: Add pldm_pdr_remove_fru_record_set_by_rsi()
2760582150SAndrew Jeffery6. pldm_entity_association_tree_copy_root_check()
283f877481SPavithra Barithaya7. oem: ibm: Add topology related state set and enum
290f5be28fSLora Lin
30387b10f6SThu Nguyen8. base: Add size and buffer macros for struct pldm_msg
317a3c14ecSAndrew Jeffery
327a3c14ecSAndrew Jeffery   Together these macros reduce the need for use of reinterpret_cast<>() in C++.
337a3c14ecSAndrew Jeffery
343b5ab929SAndrew Jeffery### Changed
353b5ab929SAndrew Jeffery
363b5ab929SAndrew Jeffery1. dsp: bios_table: Null check for pldm_bios_table_iter_is_end()
373b5ab929SAndrew Jeffery
383b5ab929SAndrew Jeffery   pldm_bios_table_iter_is_end() now returns true if the provided argument is
393b5ab929SAndrew Jeffery   NULL.
403b5ab929SAndrew Jeffery
414f60fb77SAndrew Jeffery2. Register assignment for parameters of a number of APIs changed with increased
424f60fb77SAndrew Jeffery   scrutiny on their implementations.
43830c1eb4SAndrew Jeffery
44830c1eb4SAndrew Jeffery   - `decode_entity_auxiliary_names_pdr()`
45830c1eb4SAndrew Jeffery   - `decode_get_state_sensor_readings_resp()`
46830c1eb4SAndrew Jeffery   - `decode_platform_event_message_req()`
47830c1eb4SAndrew Jeffery   - `decode_platform_event_message_resp()`
48830c1eb4SAndrew Jeffery   - `decode_sensor_op_data()`
49830c1eb4SAndrew Jeffery   - `encode_get_state_effecter_states_resp()`
50ad33b99aSAndrew Jeffery   - `encode_state_effecter_pdr()`
51bb50a590SAndrew Jeffery   - `encode_state_sensor_pdr()`
52d610b00eSAndrew Jeffery   - `pldm_bios_table_append_pad_checksum()`
5392967bedSAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_enum()`
54d96d21f4SAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_string()`
554f60fb77SAndrew Jeffery   - `pldm_pdr_find_record()`
564f60fb77SAndrew Jeffery   - `pldm_pdr_get_next_record()`
574f60fb77SAndrew Jeffery
584f60fb77SAndrew Jeffery3. platform: Support PLDM_CPER_EVENT in encode_platform_event_message_req()
59830c1eb4SAndrew Jeffery
60a9892499SAndrew Jeffery4. dsp: firmware_update: Bounds check
61a9892499SAndrew Jeffery   decode_downstream_device_parameter_table_entry_versions()
62a9892499SAndrew Jeffery
63a9892499SAndrew Jeffery   The additional bounds-checking required the addition of further length
64a9892499SAndrew Jeffery   parameters.
65a9892499SAndrew Jeffery
660f5be28fSLora Lin### Deprecated
670f5be28fSLora Lin
680f5be28fSLora Lin1. oem: meta: Deprecate `decode_oem_meta_file_io_req()`
690f5be28fSLora Lin
700f5be28fSLora Lin   Users should switch to `decode_oem_meta_file_io_write_req()`. Modify this
710f5be28fSLora Lin   function to make it safer.
720f5be28fSLora Lin
730f5be28fSLora Lin   Modification:
740f5be28fSLora Lin
750f5be28fSLora Lin   - The meaning of the returned result.
760f5be28fSLora Lin   - Change parameters from individual pointers to a struct.
770f5be28fSLora Lin   - Check the length provided in the message won't exceed the buffer.
780f5be28fSLora Lin
7960582150SAndrew Jeffery2. pldm_entity_association_tree_copy_root()
8060582150SAndrew Jeffery
8160582150SAndrew Jeffery   The implementation allocates, but gives no indication to the caller if an
8260582150SAndrew Jeffery   allocation (and hence the copy) has failed. Users should migrate to
8360582150SAndrew Jeffery   pldm_entity_association_tree_copy_root_check().
8460582150SAndrew Jeffery
85ff2f4214SAndrew Jeffery### Removed
86ff2f4214SAndrew Jeffery
87eb9df78bSAndrew Jeffery1. Deprecated functions with the `_check` suffix
88eb9df78bSAndrew Jeffery
894e672656SAndrew Jeffery   - `get_fru_record_by_option_check()`
90eb9df78bSAndrew Jeffery   - `pldm_bios_table_append_pad_checksum_check()`
91eb9df78bSAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
9207fdf2d8SAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
9303aa3d6cSAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`
9483a208afSAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_encode_check()`
95f5c63dfdSAndrew Jeffery   - `pldm_bios_table_attr_entry_integer_encode_check()`
964d8634d7SAndrew Jeffery   - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()`
975f288563SAndrew Jeffery   - `pldm_bios_table_attr_entry_string_encode_check()`
982170655aSAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_enum_check()`
995a8b7c54SAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_integer_check()`
100de926829SAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_string_check()`
1011085e232SAndrew Jeffery   - `pldm_bios_table_string_entry_decode_string_check()`
102c79375dfSAndrew Jeffery   - `pldm_bios_table_string_entry_encode_check()`
10338004f7aSAndrew Jeffery   - `pldm_entity_association_pdr_add_check()`
10473a2f66eSAndrew Jeffery   - `pldm_entity_association_pdr_add_from_node_check()`
105f309c48dSAndrew Jeffery   - `pldm_pdr_add_check()`
106453dfff3SAndrew Jeffery   - `pldm_pdr_add_fru_record_set_check()`
107ff2f4214SAndrew Jeffery
1083b5ab929SAndrew Jeffery### Fixed
1093b5ab929SAndrew Jeffery
1103b5ab929SAndrew Jeffery1. dsp: bios_table: Null check for pldm_bios_table_iter_is_end()
1113b5ab929SAndrew Jeffery
1123b5ab929SAndrew Jeffery   Avoid a caller-controlled NULL pointer dereference in the library
1133b5ab929SAndrew Jeffery   implementation.
1143b5ab929SAndrew Jeffery
115387b10f6SThu Nguyen2. platform: fix encode/decode_poll_for_platform_event_message_req
116387b10f6SThu Nguyen
117387b10f6SThu Nguyen   Update checking of `TransferOperationFlag` and `eventIDToAcknowledge` to
118387b10f6SThu Nguyen   follow spec.
119387b10f6SThu Nguyen
1209e16b18bSThu Nguyen3. platform: Fix checking `eventIDToAcknowledge`
1219e16b18bSThu Nguyen
1229e16b18bSThu Nguyen   As the event receiver sends `PollForPlatformEventMessage` with the
1239e16b18bSThu Nguyen   `tranferFlag` is `AcknowledgementOnly`, the value `eventIDToAcknowledge`
1249e16b18bSThu Nguyen   should be the previously retrieved eventID (from the PLDM terminus).
1259e16b18bSThu Nguyen
126225530abSAndrew Jeffery4. dsp: platform: Prevent overflow of arithmetic on event_data_length
127bb50a590SAndrew Jeffery5. dsp: platform: Bounds check encode_sensor_state_pdr()
128ad33b99aSAndrew Jeffery6. dsp: platform: Bounds check encode_state_effecter_pdr()
1299e566597SAndrew Jeffery7. dsp: pdr: Bounds check pldm_entity_association_pdr_extract()
130d610b00eSAndrew Jeffery8. dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum()
131d96d21f4SAndrew Jeffery9. dsp: bios_table: Bounds check
132d96d21f4SAndrew Jeffery   pldm_bios_table_attr_value_entry_encode_string()
13392967bedSAndrew Jeffery10. dsp: bios_table: Bounds check pldm_bios_table_attr_value_entry_encode_enum()
134a9892499SAndrew Jeffery11. dsp: firmware_update: Bounds check
135a9892499SAndrew Jeffery    decode_downstream_device_parameter_table_entry_versions()
13657d9a2efSAndrew Jeffery12. oem: ibm: platform: Bounds check encode_bios_attribute_update_event_req()
13782c34815SAndrew Jeffery13. dsp: fru: Bounds check encode_get_fru_record_by_option_resp()
138d7d08f65SAndrew Jeffery14. dsp: fru: Bounds check encode_fru_record()
13937016fefSAndrew Jeffery15. dsp: bios: Bounds check encode_set_bios_table_req()
1403b33c135SAndrew Jeffery16. dsp: bios: Bounds check encode_set_bios_attribute_current_value_req()
141*21cb052bSAndrew Jeffery17. dsp: bios_table: Bounds check pldm_bios_table_string_entry_encode()
142225530abSAndrew Jeffery
143615344fcSAndrew Jeffery## [0.9.1] - 2024-09-07
144615344fcSAndrew Jeffery
145615344fcSAndrew Jeffery### Changed
146615344fcSAndrew Jeffery
147615344fcSAndrew Jeffery1. Moved evolutions intended for v0.9.0 into place
148615344fcSAndrew Jeffery
149615344fcSAndrew Jeffery   Evolutions for the release have been moved from `evolutions/current` to
150615344fcSAndrew Jeffery   `evolutions/v0.9.1`. Library users can apply them to migrate off of
151615344fcSAndrew Jeffery   deprecated APIs.
15239f88325SRashmica Gupta
153747a498eSAndrew Jeffery## [0.9.0] - 2024-09-07
154747a498eSAndrew Jeffery
1550ee03b5bSThu Nguyen### Added
1560ee03b5bSThu Nguyen
1570ee03b5bSThu Nguyen1. base: Define macros for reserved TIDs
158b02e0e11SVarsha Kaverappa2. pdr: Add pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
159b02e0e11SVarsha Kaverappa3. pdr: Add pldm_entity_association_pdr_create_new()
160e5469f54SThu Nguyen4. platform: Define macros for the responded transferflags
161274732fcSPavithra Barithaya5. pdr: Add pldm_pdr_get_terminus_handle() API
162dacfa354SThu Nguyen6. pdr: Add related decode_entity_auxiliary_names_pdr() APIs
163b6ef35b4SChris Wang7. fw_update: Add encode req & decode resp for get_downstream_fw_params
16402903038SThu Nguyen8. platform: Add decode_pldm_platform_cper_event() API
1650a1be3cbSAndrew Jeffery9. decode_get_pdr_repository_info_resp_safe()
1660a1be3cbSAndrew Jeffery
1670a1be3cbSAndrew Jeffery   Replaces decode_get_pdr_repository_info_resp() as discussed in the
1680a1be3cbSAndrew Jeffery   `Deprecated` section below
1690a1be3cbSAndrew Jeffery
1700a1be3cbSAndrew Jeffery10. decode_get_pdr_resp_safe()
1710a1be3cbSAndrew Jeffery
1720a1be3cbSAndrew Jeffery    Replaces decode_get_pdr_resp() as discussed in the `Deprecated` section
1730a1be3cbSAndrew Jeffery    below
1740ee03b5bSThu Nguyen
17543cb4b5fSThu Nguyen### Changed
17643cb4b5fSThu Nguyen
17743cb4b5fSThu Nguyen1. pdr: Stabilise related decode_entity_auxiliary_names_pdr() APIs
1787739d123SThu Nguyen2. platform: Rework decode/encode_pldm_message_poll_event_data() APIs
179f874b383SThu Nguyen3. platform: Stabilise decode_pldm_message_poll_event_data() APIs
18090bbe6c0SAndrew Jeffery4. ABI break for decode_sensor_op_data()
18190bbe6c0SAndrew Jeffery
18290bbe6c0SAndrew Jeffery   Applying LIBPLDM_CC_NONNULL to the internal msgbuf APIs caused
18390bbe6c0SAndrew Jeffery   abi-compliance-checker to flag a change in the register containing the
18490bbe6c0SAndrew Jeffery   parameter `previous_op_state`.
18543cb4b5fSThu Nguyen
1863559aa1fSThu Nguyen5. platform: Stabilise decode_pldm_platform_cper_event() API
187ea0bf3a8SLora Lin6. oem: meta: Stabilise decode_oem_meta_file_io_write_req() API
188ea0bf3a8SLora Lin7. oem: meta: Stabilise decode_oem_meta_file_io_read_req() API
189ea0bf3a8SLora Lin8. oem: meta: Stabilise encode_oem_meta_file_io_read_resp() API
1903559aa1fSThu Nguyen
191d9b70ba7SAndrew Jeffery### Deprecated
192d9b70ba7SAndrew Jeffery
193e7f55113SAndrew Jeffery1. Rename and deprecate functions with the `_check` suffix
194d9b70ba7SAndrew Jeffery
195e7f55113SAndrew Jeffery   All library function return values always need to be checked. The `_check`
196e7f55113SAndrew Jeffery   suffix is redundant, so remove it. Migration to the non-deprecated
197e7f55113SAndrew Jeffery   equivalents without the `_check` suffix can be performed using
198e7f55113SAndrew Jeffery   `scripts/ apply-renames` and the [clang-rename][] configurations under
199e7f55113SAndrew Jeffery   `evolutions/`
200d9b70ba7SAndrew Jeffery
201e7f55113SAndrew Jeffery   The deprecated functions:
202e7f55113SAndrew Jeffery
203e7f55113SAndrew Jeffery   - `get_fru_record_by_option_check()`
204d8bb75cbSAndrew Jeffery   - `pldm_bios_table_append_pad_checksum_check()`
20546673f4aSAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
20682b4d3b4SAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
207b06882f1SAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`
2087126b1d2SAndrew Jeffery   - `pldm_bios_table_attr_entry_enum_encode_check()`
2095347e279SAndrew Jeffery   - `pldm_bios_table_attr_entry_integer_encode_check()`
210c668ffceSAndrew Jeffery   - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()`
211f6be4933SAndrew Jeffery   - `pldm_bios_table_attr_entry_string_encode_check()`
21209004d6aSAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_enum_check()`
213504dd17fSAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_integer_check()`
2141a3983ceSAndrew Jeffery   - `pldm_bios_table_attr_value_entry_encode_string_check()`
2158c37ab36SAndrew Jeffery   - `pldm_bios_table_string_entry_decode_string_check()`
216e48fdd6eSAndrew Jeffery   - `pldm_bios_table_string_entry_encode_check()`
217d72ea4b8SAndrew Jeffery   - `pldm_entity_association_pdr_add_check()`
218aa49b71fSAndrew Jeffery   - `pldm_entity_association_pdr_add_from_node_check()`
219e7f55113SAndrew Jeffery   - `pldm_pdr_add_check()`
220e7f55113SAndrew Jeffery   - `pldm_pdr_add_fru_record_set_check()`
221d9b70ba7SAndrew Jeffery
222acb0681dSAndrew Jeffery[clang-rename]: https://clang.llvm.org/extra/clang-rename.html
223d9b70ba7SAndrew Jeffery
2240a1be3cbSAndrew Jeffery2. `decode_get_pdr_repository_info_resp()`
2250a1be3cbSAndrew Jeffery
2260a1be3cbSAndrew Jeffery   Users should move to `decode_get_pdr_repository_info_resp_safe()` which
2270a1be3cbSAndrew Jeffery   eliminates the opportunity for buffer overruns when extracting objects from
2280a1be3cbSAndrew Jeffery   the message.
2290a1be3cbSAndrew Jeffery
2300a1be3cbSAndrew Jeffery3. `decode_get_pdr_resp()`
2310a1be3cbSAndrew Jeffery
2320a1be3cbSAndrew Jeffery   Users should move to `decode_get_pdr_resp_safe()` which reduces the
2330a1be3cbSAndrew Jeffery   invocation tedium and improves memory safety over `decode_get_pdr_resp()`.
2340a1be3cbSAndrew Jeffery
235a1efaa2eSAndrew Jeffery### Removed
236a1efaa2eSAndrew Jeffery
237a1efaa2eSAndrew Jeffery1. IBM OEM header compatibility symlinks.
238a1efaa2eSAndrew Jeffery
239a1efaa2eSAndrew Jeffery   Anyone left using the deprecated paths can migrate using the coccinelle patch
240a1efaa2eSAndrew Jeffery   at `evolutions/current/oem-ibm-header-compat.cocci`.
241a1efaa2eSAndrew Jeffery
242e4240679SAndrew Jeffery### Fixed
243e4240679SAndrew Jeffery
244e4240679SAndrew Jeffery1. requester: instance-id: Release read lock on conflict
24574c9a546SArchana Kakani2. pdr: Error propagation for
24674c9a546SArchana Kakani   pldm_entity_association_pdr_add_from_node_with_record_handle()
247e4240679SAndrew Jeffery
248c166dd5fSAndrew Jeffery## [0.8.0] - 2024-05-23
249c166dd5fSAndrew Jeffery
250acf22454SAndrew Jeffery### Added
251acf22454SAndrew Jeffery
252acf22454SAndrew Jeffery1. base: Provide pldm_msg_hdr_correlate_response()
253acf22454SAndrew Jeffery2. transport: af-mctp: Add pldm_transport_af_mctp_bind()
254499389ecSKamalkumar Patel3. oem: ibm: Add chapdata file type support
2556967fc73SManojkiran Eda4. base: Added PLDM_SMBIOS & PLDM_RDE message types
25622fad395SDelphine CC Chiu5. oem: meta: Add decode_oem_meta_file_io_req()
25739aa036eSVarsha Kaverappa6. state-set: Add all state set values to system power state enum as per DSP0249
2580ee77664SVarsha Kaverappa7. platform: Add alias members to the enum
2590ee77664SVarsha Kaverappa   pldm_pdr_repository_chg_event_change_record_event_data_operation.
2600ee77664SVarsha Kaverappa
2610ee77664SVarsha Kaverappa   enum constants with inconsistent names are deprecated with this change.
2620ee77664SVarsha Kaverappa   remove old inconsistent enum members after backward compatibility cleanup is
2630ee77664SVarsha Kaverappa   done
264acf22454SAndrew Jeffery
265a9f2ffd4SPavithra Barithaya8. oem-ibm: Alias `pldm_oem_ibm_fru_field_type` members as `PLDM_OEM_IBM_*`
266819f138aSPavithra Barithaya9. oem: ibm: Add Firmware Update Access Key(UAK) as a FRU field type
26764764fd6SJinliang Wang10. platform: Add 3 PDR type enum for Redfish Device Enablement per
26864764fd6SJinliang Wang    DSP0248_1.2.0
26964764fd6SJinliang Wang11. state_set: Add CONNECTED and DISCONNECTED enum for Link State set
27064764fd6SJinliang Wang12. entity: Add enum for Network Interface Connectors and Network Ports
27164764fd6SJinliang Wang    Connection Types
272d4878cdfSThu Nguyen13. pdr: Add decode_numeric_effecter_pdr_data()
273ea435c9fSJayashankar Padath14. oem: ibm: Support for the Real SAI entity id
2744c1f2c72SChris Wang15. fw_update: Add encode req & decode resp for query_downstream_devices
275458475a9SChris Wang16. fw_update: Add encode req & decode resp for query_downstream_identifiers
276a6fa5559STal Yacobi17. platform: Add support for GetStateEffecterStates command
277a9f2ffd4SPavithra Barithaya
278acf22454SAndrew Jeffery### Changed
279acf22454SAndrew Jeffery
280acf22454SAndrew Jeffery1. base: Stabilise pldm_msg_hdr_correlate_response()
281acf22454SAndrew Jeffery2. transport: af-mctp: Stabilise pldm_transport_af_mctp_bind()
282b0c1d20aSAndrew Jeffery3. libpldm: Fix header use
283efb40069SAndrew Jeffery4. libpldm: More fixes for header use
2844a307bcaSPavithra Barithaya5. pdr: Stabilise pldm_pdr_find_last_in_range() API
2853a267059SPavithra Barithaya6. pdr: Stabilise pldm_entity_association_pdr_add_from_node_with_record_handle()
286a98814fcSAndrew Jeffery7. oem: meta: stabilise decode_oem_meta_file_io_req()
287c6c391d6SGeorge Liu8. pdr: pldm_entity_association_tree_copy_root(): Document preconditions
288acf22454SAndrew Jeffery
289a9f2ffd4SPavithra Barithaya### Deprecated
290a9f2ffd4SPavithra Barithaya
291a9f2ffd4SPavithra Barithaya1. Deprecate `pldm_oem_ibm_fru_field_type` members that that are not prefixed
292a9f2ffd4SPavithra Barithaya   with `PLDM_OEM_IBM_`
293a9f2ffd4SPavithra Barithaya
294d12dd36eSAndrew Jeffery### Fixed
295d12dd36eSAndrew Jeffery
296d12dd36eSAndrew Jeffery1. libpldm: Rationalise the local and installed path of pldm.h
29739eb3224SPavithra Barithaya2. pdr: Assign record_handle in entity_association_pdr_add_children()
298cd07fec7SThu Nguyen3. msgbuf: Require sensor data enum in pldm_msgbuf_extract_sensor_value()
29951230a0aSThu Nguyen4. pdr: Remove redundant constant for minimum numeric sensor PDR length
30032df16c4SAndrew Jeffery5. tests: oem: meta: Fix fileio use of msgbuf
301d12dd36eSAndrew Jeffery
3023f39f963SAndrew Jeffery## [0.7.0] - 2023-08-29
3033f39f963SAndrew Jeffery
304f37e4dc8SPavithra Barithaya### Added
305f37e4dc8SPavithra Barithaya
306f37e4dc8SPavithra Barithaya1. state-set: Add new enum for Operational Fault Status enum
3076c835a14SAndrew Jeffery
3086c835a14SAndrew Jeffery### Changed
3096c835a14SAndrew Jeffery
3106c835a14SAndrew Jeffery1. transport: Match specified metadata in pldm_transport_send_recv_msg()
31145816b89SAndrew Jeffery2. transport: mctp-demux: Drop ABI annotation for internal symbols
3120a6d6821SAndrew Jeffery3. transport: Stabilise core transport and implementation APIs
3130a6d6821SAndrew Jeffery
3140a6d6821SAndrew Jeffery   This stabilisation covers the following headers and functions:
3150a6d6821SAndrew Jeffery
3160a6d6821SAndrew Jeffery   - libpldm/transport.h
3170a6d6821SAndrew Jeffery
3180a6d6821SAndrew Jeffery     - pldm_transport_poll()
3190a6d6821SAndrew Jeffery     - pldm_transport_send_msg()
3200a6d6821SAndrew Jeffery     - pldm_transport_recv_msg()
3210a6d6821SAndrew Jeffery     - pldm_transport_send_recv_msg()
3220a6d6821SAndrew Jeffery
3230a6d6821SAndrew Jeffery   - libpldm/transport/af-mctp.h
3240a6d6821SAndrew Jeffery
3250a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_init()
3260a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_destroy()
3270a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_core()
3280a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_init_pollfd()
3290a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_map_tid()
3300a6d6821SAndrew Jeffery     - pldm_transport_af_mctp_unmap_tid()
3310a6d6821SAndrew Jeffery
3320a6d6821SAndrew Jeffery   - libpldm/transport/mctp-demux.h
3330a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_init()
3340a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_destroy()
3350a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_core()
3360a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_init_pollfd()
3370a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_map_tid()
3380a6d6821SAndrew Jeffery     - pldm_transport_mctp_demux_unmap_tid()
3390a6d6821SAndrew Jeffery
3400a6d6821SAndrew Jeffery### Deprecated
3410a6d6821SAndrew Jeffery
3420a6d6821SAndrew Jeffery1. All the existing "requester" APIs from `libpldm/pldm.h` (also known as
3430a6d6821SAndrew Jeffery   `libpldm/requester/pldm.h`):
3440a6d6821SAndrew Jeffery
3450a6d6821SAndrew Jeffery   - pldm_open()
3460a6d6821SAndrew Jeffery   - pldm_send_recv()
3470a6d6821SAndrew Jeffery   - pldm_send()
3480a6d6821SAndrew Jeffery   - pldm_recv()
3490a6d6821SAndrew Jeffery   - pldm_recv_any()
3500a6d6821SAndrew Jeffery   - pldm_close()
3510a6d6821SAndrew Jeffery
3520a6d6821SAndrew Jeffery   Users should migrate to the newer "transport" APIs instead.
353f37e4dc8SPavithra Barithaya
354ba05dba7SAndrew Jeffery## Fixed
355ba05dba7SAndrew Jeffery
356ba05dba7SAndrew Jeffery1. tests: Exclude transport tests when build excludes testing ABIs
35734ac891fSAndrew Jeffery2. abi: Capture deprecation of pldm_close()
358ba05dba7SAndrew Jeffery
359d2a36a16SAndrew Jeffery## [0.6.0] - 2023-08-22
360d2a36a16SAndrew Jeffery
3617062382aSAndrew Jeffery### Changed
3627062382aSAndrew Jeffery
3637062382aSAndrew Jeffery1. pdr: Avoid ID overflow in pldm_entity_association_tree_add_entity()
3645cf32ea8SAndrew Jeffery2. meson: Apply `b_ndebug=if-release` by default
365e7eebe33SAndrew Jeffery3. pdr : Stabilize pldm_entity_association_tree_add_entity()
36675ce90a5SAndrew Jeffery4. pdr: Stabilise pldm_entity_association_tree_find_with_locality()
367def8e024SPavithra Barithaya5. pdr: Stabilize pldm_entity_node_get_remote_container_id()
368ac24737cSAndrew Jeffery6. transport: af-mctp: Assign out-params on success in \*\_recv()
36924576290SRashmica Gupta7. transport: Generalise the pldm_transport_recv_msg() API
3707062382aSAndrew Jeffery
371255f6549SAndrew Jeffery### Removed
372255f6549SAndrew Jeffery
373255f6549SAndrew Jeffery1. pdr: Remove pldm_entity_association_pdr_add()
3747e3c9e4dSPavithra Barithaya2. state-set: Remove enum pldm_state_set_operational_fault_status_values
375255f6549SAndrew Jeffery
376b4cd5172SDelphine CC Chiu### Fixed
377b4cd5172SDelphine CC Chiu
378b4cd5172SDelphine CC Chiu1. transport: register init_pollfd callback for af-mctp
37936402ffbSBonnieLo-wiwynn2. transport: fix init_pollfd function parameter
380f1ebde49SRashmica Gupta3. transport: Fix doxygen and variables for send and recv functions
3817caa8af1SAndrew Jeffery4. transport: af-mctp: Ensure malloc() succeeds in \*\_recv()
382b4cd5172SDelphine CC Chiu
38320cc060cSAndrew Jeffery## [0.5.0] - 2023-08-09
38420cc060cSAndrew Jeffery
38565945992SAndrew Jeffery### Added
38665945992SAndrew Jeffery
38765945992SAndrew Jeffery1. pdr: Introduce pldm_entity_association_pdr_add_check()
38865945992SAndrew Jeffery
3893b93d09cSAndrew Jeffery### Changed
3903b93d09cSAndrew Jeffery
3913b93d09cSAndrew Jeffery1. pdr: Allow record_handle to be NULL for pldm_pdr_add_check()
3923380a6c6SAndrew Jeffery2. transport: pldm_transport_poll(): Adjust return value semantics
393f56e4dcdSThu Nguyen3. transport: free un-wanted responses in pldm_transport_send_recv_msg()
3943b93d09cSAndrew Jeffery
3958bcbe251SAndrew Jeffery### Deprecated
3968bcbe251SAndrew Jeffery
3978bcbe251SAndrew Jeffery1. state-set: Enum pldm_state_set_operational_fault_status_values
3988bcbe251SAndrew Jeffery
3998bcbe251SAndrew Jeffery   The enum operational_fault_status is defined with wrong members and will
4008bcbe251SAndrew Jeffery   eventually be replaced with the correct members. Any uses of
4018bcbe251SAndrew Jeffery   pldm_state_set_operational_fault_status_values members should move to
4028bcbe251SAndrew Jeffery   equivalent pldm_state_set_operational_stress_status_values members if needed.
4038bcbe251SAndrew Jeffery
4048bcbe251SAndrew Jeffery2. platform: Struct field name in fru_record_set PDR
4058bcbe251SAndrew Jeffery
4068bcbe251SAndrew Jeffery   References to entity_instance_num should be changed to entity_instance
4078bcbe251SAndrew Jeffery
4088bcbe251SAndrew Jeffery3. platform: Struct field name in numeric sensor value PDR
4098bcbe251SAndrew Jeffery
4108bcbe251SAndrew Jeffery   References to entity_instance_num should be changed to entity_instance
4118bcbe251SAndrew Jeffery
4120ecf6bcfSAndrew Jeffery### Removed
4130ecf6bcfSAndrew Jeffery
4140ecf6bcfSAndrew Jeffery1. bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length()
4158b1c0340SAndrew Jeffery2. bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum()
41646d07685SAndrew Jeffery3. bios_table: Remove pldm_bios_table_attr_value_entry_encode_string()
4174e1f131cSAndrew Jeffery4. bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer()
41850dd159eSAndrew Jeffery5. bios_table: Remove pldm_bios_table_append_pad_checksum()
4198810feceSAndrew Jeffery6. fru: Remove get_fru_record_by_option()
420d09b1af0SAndrew Jeffery7. pdr: Make is_present() static
421c79a5df5SAndrew Jeffery8. pdr: Remove pldm_pdr_add()
42214d2984bSAndrew Jeffery9. pdr: Remove pldm_pdr_add_fru_record_set()
4238985dfd1SAndrew Jeffery10. pdr: Remove pldm_entity_association_pdr_add_from_node()
424643c443bSAndrew Jeffery11. pdr: Make find_entity_ref_in_tree() static
42554d91e81SAndrew Jeffery12. pdr: Make entity_association_tree_find() static
4260ecf6bcfSAndrew Jeffery
42743a7985dSThu Nguyen### Fixed
42843a7985dSThu Nguyen
42943a7985dSThu Nguyen1. requester: Fix response buffer cast in pldm_send_recv()
430c6cc028fSAndrew Jeffery2. pdr: Hoist record handle overflow test to avoid memory leak
431ef485068SThu Nguyen3. transport: Correct comparison in while loop condition
43243a7985dSThu Nguyen
4338a4b5336SAndrew Jeffery## [0.4.0] - 2023-07-14
4348a4b5336SAndrew Jeffery
435044ee19aSAndrew Jeffery### Added
436044ee19aSAndrew Jeffery
437044ee19aSAndrew Jeffery1. bios_table: Introduce pldm_bios_table_append_pad_checksum_check()
4387cd16ff8SAndrew Jeffery2. fru: Introduce get_fru_record_by_option_check()
439cc394529SAndrew Jeffery3. pdr: Introduce pldm_entity_association_pdr_add_from_node_check()
440572a3950SAndrew Jeffery4. pdr: Introduce pldm_pdr_add_check()
441c821a700SAndrew Jeffery5. pdr: Introduce pldm_pdr_add_fru_record_set_check()
442044ee19aSAndrew Jeffery
443986df2a1SAndrew Jeffery### Changed
444986df2a1SAndrew Jeffery
445986df2a1SAndrew Jeffery1. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING
4465fb9680bSAndrew Jeffery2. requester: Expose pldm_close() in header
447a873eca0SAndrew Jeffery3. bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow
448757e81a1SAndrew Jeffery4. bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc
44973d9176aSAndrew Jeffery5. bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration
450a8bb22edSAndrew Jeffery6. pdr: pldm_pdr_init(): Return NULL on allocation failure
451fca1b60fSAndrew Jeffery7. pdr: pldm_pdr_destroy(): Exit early if repo is NULL
4525565fcdeSAndrew Jeffery8. pdr: Document preconditions for trivial accessor functions
4535565fcdeSAndrew Jeffery
4545565fcdeSAndrew Jeffery   A trivial accessor function is one that exposes properties of an object in a
4555565fcdeSAndrew Jeffery   way can't result in an error, beyond passing an invalid argument to the
4565565fcdeSAndrew Jeffery   function. For APIs meeting this definition we define a precondition that
4575565fcdeSAndrew Jeffery   struct pointers must point to valid objects to avoid polluting the function
4585565fcdeSAndrew Jeffery   prototypes. The following APIs now have this precondition explicitly defined:
4595565fcdeSAndrew Jeffery
4605565fcdeSAndrew Jeffery   - pldm_entity_extract()
4615565fcdeSAndrew Jeffery   - pldm_entity_get_parent()
4625565fcdeSAndrew Jeffery   - pldm_entity_is_exist_parent()
4635565fcdeSAndrew Jeffery   - pldm_entity_is_node_parent()
4645565fcdeSAndrew Jeffery   - pldm_is_current_parent_child
4655565fcdeSAndrew Jeffery   - pldm_is_empty_entity_assoc_tree()
4665565fcdeSAndrew Jeffery   - pldm_pdr_get_record_count()
4675565fcdeSAndrew Jeffery   - pldm_pdr_get_record_handle()
4685565fcdeSAndrew Jeffery   - pldm_pdr_get_repo_size()
4695565fcdeSAndrew Jeffery   - pldm_pdr_record_is_remote()
470986df2a1SAndrew Jeffery
47115b8818cSAndrew Jeffery9. pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor
47201425e96SAndrew Jeffery10. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments
473c40037d5SAndrew Jeffery11. pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc
4748e9b0de8SAndrew Jeffery12. pdr: pldm_entity_association_tree_visit(): Document preconditions
475cd17e5ccSAndrew Jeffery13. pdr: pldm_entity_association_tree_visit(): Exit early on failure
476a89e015cSAndrew Jeffery14. pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument
4776e8a2617SAndrew Jeffery15. pdr: pldm_entity_get_num_children(): Return zero for invalid arguments
478375d9fc1SAndrew Jeffery16. pdr: pldm_is_current_parent_child(): Return false for invalid arguments
479c788348eSAndrew Jeffery17. pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments
480ba47e83eSAndrew Jeffery18. pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments
48194e364dbSAndrew Jeffery19. pdr: pldm_entity_association_tree_find(): Early exit on bad arguments
48285d7a056SAndrew Jeffery20. pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg
4833a5c46b4SAndrew Jeffery21. pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments
4840dbaa70fSAndrew Jeffery22. pdr: pldm_entity_association_pdr_extract(): Assign out params at exit
485c83ef86dSAndrew Jeffery23. pdr: pldm_entity_get_num_children(): Don't return invalid values
4868526892fSAndrew Jeffery24. libpldm: Lift or remove asserts where a subsequent check exists
48715b8818cSAndrew Jeffery
488fe0f01d8SAndrew Jeffery### Deprecated
489fe0f01d8SAndrew Jeffery
490fe0f01d8SAndrew Jeffery1. pldm_bios_table_attr_entry_integer_encode()
491fe0f01d8SAndrew Jeffery
492fe0f01d8SAndrew Jeffery   Migrate to pldm_bios_table_attr_entry_integer_encode_check()
493fe0f01d8SAndrew Jeffery
4947aeb7edbSAndrew Jeffery2. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum()
4957aeb7edbSAndrew Jeffery
4967aeb7edbSAndrew Jeffery   Migrate to pldm_bios_table_attr_value_entry_encode_enum_check()
4977aeb7edbSAndrew Jeffery
4982d66393fSAndrew Jeffery3. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string()
4992d66393fSAndrew Jeffery
5002d66393fSAndrew Jeffery   Migrate to pldm_bios_table_attr_value_entry_encode_string_check()
5012d66393fSAndrew Jeffery
5020088a6aeSAndrew Jeffery4. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer()
5030088a6aeSAndrew Jeffery
5040088a6aeSAndrew Jeffery   Migrate to pldm_bios_table_attr_value_entry_encode_integer_check()
5050088a6aeSAndrew Jeffery
506d11bf9f7SAndrew Jeffery5. pdr: Deprecate is_present()
507d11bf9f7SAndrew Jeffery
508d11bf9f7SAndrew Jeffery   There should be no users of this symbol. If you are a user, you should figure
509d11bf9f7SAndrew Jeffery   out how to stop, or get in touch. This symbol will be marked static the
510d11bf9f7SAndrew Jeffery   release after deprecation.
511d11bf9f7SAndrew Jeffery
512bfeb65ebSAndrew Jeffery6. pdr: Deprecate find_entity_ref_in_tree()
513bfeb65ebSAndrew Jeffery
514bfeb65ebSAndrew Jeffery   There should be no users of this symbol. If you are a user, you should figure
515bfeb65ebSAndrew Jeffery   out how to stop, or get in touch. This symbol will be marked static the
516bfeb65ebSAndrew Jeffery   release after deprecation.
517bfeb65ebSAndrew Jeffery
5187f589313SAndrew Jeffery7. pdr: Deprecate entity_association_tree_find()
5197f589313SAndrew Jeffery
5207f589313SAndrew Jeffery   There should be no users of this symbol. If you are a user, you should figure
5217f589313SAndrew Jeffery   out how to stop, or get in touch. This symbol will be marked static the
5227f589313SAndrew Jeffery   release after deprecation.
5237f589313SAndrew Jeffery
5241264fbd9SAndrew Jeffery8. bios_table: Stabilise pldm_bios_table_append_pad_checksum_check()
5251264fbd9SAndrew Jeffery
5261264fbd9SAndrew Jeffery   pldm_bios_table_append_pad_checksum() is deprecated by this change. Users of
5271264fbd9SAndrew Jeffery   pldm_bios_table_append_pad_checksum() should migrate to
5281264fbd9SAndrew Jeffery   pldm_bios_table_append_pad_checksum_check()
5291264fbd9SAndrew Jeffery
530962fcec7SAndrew Jeffery9. fru: Stabilise get_fru_record_by_option_check()
531962fcec7SAndrew Jeffery
532962fcec7SAndrew Jeffery   get_fru_record_by_option() is deprecated by this change. Users of
533962fcec7SAndrew Jeffery   get_fru_record_by_option() should migrate to get_fru_record_by_option_check()
534962fcec7SAndrew Jeffery
5351354a6eeSAndrew Jeffery10. pdr: Stabilise pldm_entity_association_pdr_add_from_node_check()
5361354a6eeSAndrew Jeffery
5371354a6eeSAndrew Jeffery    pldm_entity_association_pdr_add_from_node() is deprecated by this change.
5381354a6eeSAndrew Jeffery    Users of pldm_entity_association_pdr_add_from_node() should migrate to
5391354a6eeSAndrew Jeffery    pldm_entity_association_pdr_add_from_node_check()
5401354a6eeSAndrew Jeffery
541ca248ce3SAndrew Jeffery11. pdr: Stabilise pldm_pdr_add_check()
542ca248ce3SAndrew Jeffery
543ca248ce3SAndrew Jeffery    pldm_pdr_add() is deprecated by this change. Users of pldm_pdr_add() should
544ca248ce3SAndrew Jeffery    migrate to pldm_pdr_add_check()
545ca248ce3SAndrew Jeffery
546a2c69117SAndrew Jeffery12. pdr: Stabilise pldm_pdr_add_fru_record_set_check()
547a2c69117SAndrew Jeffery
548a2c69117SAndrew Jeffery    pldm_pdr_add_fru_record_set() is deprecated by this change. Users of
549a2c69117SAndrew Jeffery    pldm_pdr_add_fru_record_set() should migrate to
550a2c69117SAndrew Jeffery    pldm_pdr_add_fru_record_set_check()
551a2c69117SAndrew Jeffery
5526409c8a0SAndrew Jeffery### Removed
5536409c8a0SAndrew Jeffery
5546409c8a0SAndrew Jeffery1. bios_table: Remove deprecated APIs sanitized by assert():
5556409c8a0SAndrew Jeffery
5566409c8a0SAndrew Jeffery   - pldm_bios_table_string_entry_encode()
5576409c8a0SAndrew Jeffery   - pldm_bios_table_string_entry_decode_string()
5586409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_encode()
5596409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_pv_num()
5606409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_def_num()
5616409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_pv_hdls()
5626409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_string_encode()
5636409c8a0SAndrew Jeffery   - pldm_bios_table_attr_entry_string_decode_def_string_length()
5646409c8a0SAndrew Jeffery
56509778a82SAndrew Jeffery### Fixed
566ffd5342cSPavithra Barithaya
567ffd5342cSPavithra Barithaya1. pdr: Return success for pldm_pdr_find_child_container_id_range_exclude() API
5688cf70456SPavithra Barithaya2. pdr: Rework pldm_pdr_find_container_id_range_exclude() API
569a4da6858SAndrew Jeffery3. transport: mctp-demux: Don't test socket for non-zero value
5704e1ba8a7SAndrew Jeffery4. requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error
571af7a4d82SAndrew Jeffery5. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return
572178531a0SRashmica Gupta6. transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init()
573cd732d14SAndrew Jeffery7. abi: Update to remove pldm_close() from reference dumps
5749e33be96SAndrew Jeffery8. bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer()
575ffd5342cSPavithra Barithaya
576291da195SAndrew Jeffery## [0.3.0] - 2023-06-23
577291da195SAndrew Jeffery
5787c250340SDung Cao### Added
5797c250340SDung Cao
5807c250340SDung Cao1. Add encode/decode pldmMessagePollEvent data
58183841fb5SAndrew Jeffery2. README: Add a section on working with libpldm
58239bd2ea5SArchanaKakani3. pdr: Introduce remote_container_id and associated APIs
5839947f9d6SPavithra Barithaya4. pdr: Add APIs for creating and locating remote PDRs
5844d694346SPavithra Barithaya5. pdr: Add pldm_pdr_find_last_in_range()
58525ddbccfSPavithra Barithaya6. pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle()
5865dc02571SPavithra Barithaya7. pdr: Add pldm_pdr_find_container_id_range_exclude()
5877c250340SDung Cao
588b443b487SRashmica Gupta### Changed
589b443b487SRashmica Gupta
590b443b487SRashmica Gupta1. include: Move installed transport.h under libpldm/
59183841fb5SAndrew Jeffery2. libpldm: Explicit deprecated, stable and testing ABI classes
5928de8e1ecSAndrew Jeffery3. meson: Reduce strength of oem-ibm requirements from enabled to allowed
5938de8e1ecSAndrew Jeffery
5948de8e1ecSAndrew Jeffery   The `oem-ibm` feature is now enabled by the default meson configuration, for
5958de8e1ecSAndrew Jeffery   CI purposes. `oem-ibm` is still disabled by default in the `libpldm` bitbake
5968de8e1ecSAndrew Jeffery   recipe:
5978de8e1ecSAndrew Jeffery
5980f7218cdSGeorge Liu   <https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb#L10>
5998de8e1ecSAndrew Jeffery
6008de8e1ecSAndrew Jeffery   To disable `oem-ibm` in your development builds, pass `-Doem-ibm=disabled`
6018de8e1ecSAndrew Jeffery   when invoking `meson setup`
602b443b487SRashmica Gupta
60398c1e69dSAndrew Jeffery4. bios_table: Relax pldm_bios_table_string_entry_decode_string_check()
6040c9f5a8aSAndrew Jeffery5. bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
60598c1e69dSAndrew Jeffery
606d47e8ab8SAndrew Jeffery### Deprecated
607d47e8ab8SAndrew Jeffery
608d47e8ab8SAndrew Jeffery1. bios_table: Deprecate APIs with arguments sanitized using assert()
609d47e8ab8SAndrew Jeffery
610d47e8ab8SAndrew Jeffery   C provides enough foot-guns without us encoding them into library APIs.
611d47e8ab8SAndrew Jeffery   Specifically, deprecate the following in favour of their `*_check()` variants
612d47e8ab8SAndrew Jeffery   which ensure assertions won't fail or otherwise invoke UB:
613d47e8ab8SAndrew Jeffery
614d47e8ab8SAndrew Jeffery   - pldm_bios_table_string_entry_encode()
615d47e8ab8SAndrew Jeffery   - pldm_bios_table_string_entry_decode_string()
616d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_encode()
617d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_pv_num()
618d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_def_num()
619d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_enum_decode_pv_hdls()
620d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_string_encode()
621d47e8ab8SAndrew Jeffery   - pldm_bios_table_attr_entry_string_decode_def_string_length()
622d47e8ab8SAndrew Jeffery
6234b4603b3SAndrew Jeffery### Removed
6244b4603b3SAndrew Jeffery
6254b4603b3SAndrew Jeffery1. libpldm: Remove the requester-api option
6264b4603b3SAndrew Jeffery
62739f88325SRashmica Gupta### Fixed
62839f88325SRashmica Gupta
62939f88325SRashmica Gupta1. requester: Make pldm_open() return existing fd
630abaf61f4SDung Cao2. transport: Prevent sticking in waiting for response
631b01fb1ccSThu Nguyen3. transport: Match on response in pldm_transport_send_recv_msg()
632a3035938SRashmica Gupta4. requester: Add check before accessing hdr in pldm_recv()
633df02e360SAndrew Jeffery5. bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref
634