Age | Commit message (Collapse) | Author | Files | Lines |
|
Andrew Jeffery (16):
pdr: Hoist record handle overflow test to avoid memory leak
pdr: Validate arguments to pldm_pdr_add_fru_record_set_check()
pdr: Allow record_handle to be NULL for pldm_pdr_add_check()
pdr: Introduce pldm_entity_association_pdr_add_check()
bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length()
bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum()
bios_table: Remove pldm_bios_table_attr_value_entry_encode_string()
bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer()
bios_table: Remove pldm_bios_table_append_pad_checksum()
fru: Remove get_fru_record_by_option()
pdr: Make is_present() static
pdr: Remove pldm_pdr_add()
pdr: Remove pldm_pdr_add_fru_record_set()
pdr: Remove pldm_entity_association_pdr_add_from_node()
pdr: Make find_entity_ref_in_tree() static
pdr: Make entity_association_tree_find() static
Thu Nguyen (1):
requester: Fix response buffer cast in pldm_send_recv()
Change-Id: Ibb0fbb49f961bdb41e40abb04affbfb66e9a61f3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (10):
bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer()
pdr: pldm_entity_association_pdr_extract(): Use a for-loop
pdr: pldm_entity_association_pdr_extract(): Use array notation
pdr: pldm_entity_association_pdr_extract(): Hoist assert() over malloc()
pdr: pldm_entity_association_pdr_extract(): Assign out params at exit
pdr: pldm_entity_association_pdr_extract(): Return early if necessary
pdr: pldm_entity_get_num_children(): Don't return invalid values
libpldm: Lift or remove asserts where a subsequent check exists
fru: Use inequality to judge table bounds check
libpldm: Release v0.4.0
Change-Id: If1fcad566097600cf7178b37d262e5660d94fa57
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (6):
abi: Update to remove pldm_close() from reference dumps
bios_table: Stabilise pldm_bios_table_append_pad_checksum_check()
fru: Stabilise get_fru_record_by_option_check()
pdr: Stabilise pldm_entity_association_pdr_add_from_node_check()
pdr: Stabilise pldm_pdr_add_check()
pdr: Stabilise pldm_pdr_add_fru_record_set_check()
Change-Id: I3ab382d1cb6e564fe8431f1354aaf36f207a3559
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (41):
bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow
bios_table: Transitive error handling for get_bios_attr_handle()
bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum()
bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string()
bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer()
bios_table: Introduce pldm_bios_table_append_pad_checksum_check()
bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc
tests: libpldm_bios_table_test: Fix 'Itearator' typo
bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration
fru: Introduce get_fru_record_by_option_check()
pdr: Always uphold expectations of get_next_record_handle()
pdr: pldm_pdr_init(): Return NULL on allocation failure
pdr: pldm_pdr_destroy(): Exit early if repo is NULL
pdr: pldm_pdr_find_record_by_type(): Exit early if repo is NULL
pdr: Document preconditions for trivial accessor functions
pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor
pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return
pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments
pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc
pdr: pldm_entity_association_tree_visit(): Document preconditions
pdr: pldm_entity_association_tree_visit(): Exit early on failure
pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument
pdr: pldm_entity_get_num_children(): Return zero for invalid arguments
pdr: pldm_is_current_parent_child(): Return false for invalid arguments
pdr: Deprecate is_present()
pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments
pdr: Deprecate find_entity_ref_in_tree()
pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments
pdr: pldm_pdr_remove_pdrs_by_terminus_handle(): Early exit on bad arg
pdr: pldm_pdr_remove_remote_pdrs(): Exit early on bad argument
pdr: Deprecate entity_association_tree_find()
pdr: pldm_entity_association_tree_find(): Early exit on bad arguments
pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg
pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments
pdr: Introduce pldm_entity_association_pdr_add_from_node_check()
pdr: Inline add_record() and make_new_record() into pldm_pdr_add()
pdr: Adjust condition to fix line wrap in get_new_record_handle()
pdr: Further constrain first and last pointer semantics
pdr: Inline get_new_record_handle() into pldm_pdr_add()
pdr: Introduce pldm_pdr_add_check()
pdr: Introduce pldm_pdr_add_fru_record_set_check()
Ed Tanous (1):
OWNERS: Remove Ed from reviewers
Rashmica Gupta (2):
transport: Update internal header file
transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init()
Change-Id: I19f18003f6f451254105616d9988eabf9efc8cb1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Define three categories of ABI configuration via PACKAGECONFIG:
1. abi-production: Only deprecated and stable symbols are exposed
2. abi-maintenance: Only stable and testing symbols are exposed
3. abi-development: All deprecated, stable and testing symbols are
exposed
This makes it relatively straight-forward to perform broad testing for
use of deprecated functions by setting
`PACKAGECONFIG = "abi-maintenance"` in a `libpldm_%.bbappend` in the
relevant meta layer.
However, build for abi-production by default.
Change-Id: I9df824e2543829dbe66a7203240e5367ffded3e3
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
The recipe lives at HEAD. Embedding the library version in the package
metadata is misleading.
Change-Id: I190e19f5a2f6e5b68897db2f9ac00144d27ddd12
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Andrew Jeffery (5):
changelog: s/Fixes/Fixed/ for the header in [Unreleased]
requester: Mark pldm_close() as LIBPLDM_ABI_TESTING
requester: Expose pldm_close() in header
transport: mctp-demux: Don't test socket for non-zero value
requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error
Pavithra Barithaya (2):
pdr: Return success for pldm_pdr_find_child_container_id_range_exclude()
pdr: Rework pldm_pdr_find_container_id_range_exclude() API
Change-Id: Ica58f2826e340b1154d10df11758a7120b7705ab
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
tests: pdr: Guard TEST(EntityAssociationPDR, testFindContainerID)
abi: Update for v0.3.0 tag
Change-Id: Icb636c8d6519429df7fffadf191b232a5e04e488
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
libpldm: Bump to v0.3.0
bios_table: Remove deprecated APIs sanitized by assert()
Change-Id: Icacdb666c0d3a38127f25341b02cfdc2463d3e13
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (10):
meson: Force inclusion of config.h via `-include`
bios_table: pldm_bios_table_attr_entry_enum_decode_pv_num_check() values
bios_table: pldm_bios_table_attr_entry_enum_decode_pv_hdls_check() values
bios_table: pldm_bios_table_attr_entry_enum_decode_def_num_check() values
bios_table: pldm_bios_table_attr_entry_string_decode_def_string_length_check() values
bios_table: pldm_bios_table_attr_entry_enum_encode_check() values
bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref
bios_table: Relax pldm_bios_table_string_entry_decode_string_check()
bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
bios_table: Deprecate APIs with arguments sanitized using assert()
Pavithra Barithaya (2):
pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle()
pdr: Add pldm_pdr_find_container_id_range_exclude() API
Rashmica Gupta (3):
requester: Add check before accessing hdr in pldm_recv()
transport: Make APIs work for all types of messages
transports: Resize socket send buffer if needed
Change-Id: Ia5c5c03562eb01f40a4ce2725e93f7626eecb3f8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (3):
bios_table: pldm_bios_table_string_entry_encode_check() values
bios_table: pldm_bios_table_string_entry_decode_string_check() values
bios_table: pldm_bios_table_attr_entry_string_encode_check() values
Change-Id: I4feca792a93ac44c5273756be8891640cda640bd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
changelog: Consistent ordering of sections
bios_table: s/stroe/store/
Change-Id: Iaf66b842805ae9461f4c5d804ac45e316b037b21
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
libpldm: Trailing comment formatting
meson: Reduce strength of oem-ibm requirements from enabled to allowed
ArchanaKakani (1):
pdr: Introduce remote_container_id and associated APIs
Pavithra Barithaya (2):
pdr: Add APIs for creating and locating remote PDRs
pdr: Add pldm_pdr_find_last_in_range()
Change-Id: I4fa8d97bfde90227edcd0aee870ad7b2918aff43
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
libpldm: Remove unused libpldm.pc.in
README: Add a section on working with libpldm
Change-Id: I12758ccb7084207366ad95a445b6da7d6adc8aff
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
As of [1] libpldm provides several controls for the symbols exposed as
part of its shared library ABI. Symbols in the testing set are not
considered stable and may be broken at any point in time while the APIs
are being refined. Once we think we've got a good grip on the shape an
API in the testing set it may be migrated to the stable set. Once in the
stable set its API and behaviour is set in stone and mustn't be changed.
Add PACKAGECONFIG[abi-testing] to the recipe to allow access to the
testing ABIs, but default to only exposing the deprecated and stable
sets.
[1]: https://gerrit.openbmc.org/c/openbmc/libpldm/+/63974
libpldm: srcrev bump 8085efe0f1..9d2a1c6ad0
Andrew Jeffery (1):
libpldm: Explicit deprecated, stable and testing ABI classes
Change-Id: Id81b1485a0185852b60ac1ec4912e95a7ffb7c0f
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Andrew Jeffery (4):
transport: mctp-demux: Refactor buffer handling in recv callback
include: Sort file lists in meson.build
libpldm: Remove the requester-api option
changelog: Note the removal of requester-api meson option
Thu Nguyen (1):
transport: Match on response in pldm_transport_send_recv_msg()
Change-Id: Ic3782af866cd01f60bfec0434d5495a6a8e7879b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
abi: Differentiate on architectures and compilers
meson: Allow absence of abi-compliance-check tools
Dung Cao (1):
transport: Prevent sticking in waiting for response
Change-Id: I6519b32ff1cf6c3067ba7ac5bb34dad5fc1b92ca
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
transport: Document the parameters to pldm_transport_poll()
Change-Id: I2acac722a918cb58bb15c9bbb41f92b114cb6c42
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
libpldm: Enable API/ABI compliance checks
Dung Cao (1):
Add encode/decode pldmMessagePollEvent data
Change-Id: I2bec29c23129ad13442c9261b5c695d22d0ce3b9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Rashmica Gupta (1):
include: Move installed transport.h under libpldm/
Change-Id: I76328e235598c764fb83cceb99ca905a857b89f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
clang-format: copy latest and re-format
Rashmica Gupta (1):
requester: Make pldm_open() return existing fd
Change-Id: Ia703ae5a24af65268031dc6f502311829718bc7b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
libpldm: Add a changelog
Change-Id: I0ea029f31576f84caa82a186ec7a2fc0f5cf6881
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Thu Nguyen (3):
msgbuf: Add insert and span APIs
requester: Add PollForPlatformEventMessage APIs
responder: Add PollForPlatformEventMessage APIs
Change-Id: Iec4c2cf31950d62e34bda84c51dbf51f84bc05ac
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Varsha Kaverappa (2):
oem-ibm : Adding file types for Dump, PCIE and other functionalities
oem-ibm : Define file type for new VPD record consumed by host via PLDM
Change-Id: I0950ca05b9135a666905b41d9aedbde9050d3768
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (5):
clang-tidy: Restrict analysis to libpldm headers
include: Move instance-id.h under libpldm/
tests: Add instance-id tests
instance-id: Track existing allocations for each db instance
instance-id: Ensure database is appropriately sized
Rashmica Gupta (2):
tests/instance-id: remove unneeded local variable
instance-id: Setup default database on install
Tom Joseph (1):
Add Tom Joseph to reviewers
Change-Id: I3ad01fb1970afb8a916b8d5d41dd103b05f91a7c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (23):
msgbuf: Add pldm_msgbuf_extract_array() for uint8
platform: pldm_msgbuf for decode_get_pdr_repository_info_resp()
platform: pldm_msgbuf for decode_get_pdr_resp()
platform: pldm_msgbuf for decode_set_numeric_effecter_value_req()
msgbuf: Add pldm_msgbuf_consumed()
platform: pldm_msgbuf for decode_get_state_sensor_readings_resp()
platform: pldm_msgbuf for decode_get_state_sensor_readings_req()
platform: pldm_msgbuf for decode_platform_event_message_req()
platform: pldm_msgbuf for decode_platform_event_message_resp()
platform: pldm_msgbuf for decode_event_message_buffer_size_resp()
platform: pldm_msgbuf for decode_event_message_supported_resp()
platform: pldm_msgbuf for decode_sensor_event_data()
platform: pldm_msgbuf for decode_sensor_op_data()
platform: pldm_msgbuf for decode_state_sensor_data()
platform: pldm_msgbuf for decode_numeric_sensor_data()
platform: pldm_msgbuf for decode_get_numeric_effecter_value_req()
platform: pldm_msgbuf for decode_get_numeric_effecter_value_req()
platform: pldm_msgbuf for decode_pldm_pdr_repository_chg_event_data()
platform: pldm_msgbuf for decode_pldm_pdr_repository_change_record_data()
platform: pldm_msgbuf for decode_get_sensor_reading_resp()
platform: pldm_msgbuf for decode_get_sensor_reading_req()
platform: pldm_msgbuf for decode_set_event_receiver_resp()
platform: pldm_msgbuf for decode_set_event_receiver_req()
Rashmica Gupta (3):
requester: Add new APIs for instance ID allocation and freeing
requester: Add new APIs to support multiple transports
requester: Add af_mctp transport
Change-Id: I8200f9bbe06d24ade997c2026a5818d891f143f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (8):
tests: platform: TEST(GetNumericEffecterValue, testGoodEncodeResponse) UB
utils: Fix integer promotion UB in dec2bcd{16,32} encoders
msgbuf: Handle pointer-overflow sanitization
tests: platform: Fix TEST(GetStateSensorReadings, testBadDecodeResponse)
platform: Fix LE encoding of present_reading
platform: Test invalid heartbeat conditions after assignment
platform: pldm_msgbuf for decode_set_state_effecter_states_req()
platform: pldm_msgbuf for decode_get_pdr_req()
Change-Id: I0abf1aff2407d4d8a33e82d59931f3ac8e861177
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (2):
Introduce a small msgbuf abstraction
Add numeric sensor PDR and sensor aux names PDR
Change-Id: I7d8abf317bc2877840754c0031c68a812ebdfa49
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (19):
clang-format: Specify AllowShort*OnASingleLine properties
utils: Remove redundant variable definition from bcd codecs
utils: dec2bcd8: Make calculation reflect bcd2dec8 in implementation
utils: Reimplement ver2str() for sanity
clang-tidy: Fix clang-diagnostic-strict-prototypes diagnostics
clang-tidy: Fix bugprone-branch-clone diagnostic
clang-tidy: Fix bugprone-macro-parentheses diagnostics
clang-tidy: Fix bugprone-narrowing-conversion diagnostic
clang-tidy: Fix bugprone-reserved-identifier
clang-tidy: Fix clang-analyzer-deadcode.DeadStores diagnostics
clang-tidy: Fix modernize-deprecated-headers diagnostic
clang-tidy: Fix readability-braces-around-statements diagnostics
clang-tidy: Fix readability-else-after-return diagnostics
clang-tidy: Fix readability-identifier-naming diagnostic
clang-tidy: Fix readability-inconsistent-declaration-parameter-name
clang-tidy: Fix readability-isolate-declaration diagnostics
clang-tidy: Fix readability-non-const-parameter diagnostic
Add clang-tidy file
pdr: Fix doxygen on pldm_pdr_remove_pdrs_by_terminus_handle()
Change-Id: I5d94286a7d03d7946e70cb684f9ea548206cd9ae
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
libpldm: Bump to v0.2.0
Thu Nguyen (2):
Correct the compact numeric sensor pdr struct name
Add day/week/month/year occurrence rate
Change-Id: Icf161544cfa845731be49b717cab302ef9d57c97
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patel-Kamalkumar (1):
Adding support for new bootprogress state
Change-Id: Ief6401333be9cd29587658bfe43cad4b12c17cb6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Dung Cao (2):
Add encode/decode for EventMessageBufferSize
Add encode/decode for EventMessageSupported
Gilbert Chen (2):
Added encode API for SetTID cmd
Add decode GetPDRRepositoryInfo resp API
Manojkiran Eda (4):
Sync OWNERS from openbmc/docs
Add manoj as a reviewer
Migrate libpldm documentation
Fix includes using iwyu tool
Patrick Williams (1):
reformat and fix markdownlint issues
Thu Nguyen (2):
Add compact numeric sensor PDR definitions
Add effecter aux name PDR struct
Change-Id: I52dcdc398e125c4279c66ee49a444673c539ef23
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
With the recent migration of libpldm out of pldm repository, we can now
point libpldm recipe to libpldm.git rather than pldm.git.
Also to note, we had lost all the commit history when we migrated
libpldm to libpldm.git because of the way we re-arranged the pldm code
to separate out the libpldm as a subproject.
This commit also includes the libpldm bump & it now points to the HEAD
of the newly created libpldm.git
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I2707353e6a0521ad1899d94970130dda583dd75d
|
|
Andrew Jeffery (1):
libpldm: Migrate to subproject
George Liu (1):
Fix the decode_get_sensor_reading_resp method
Sridevi Ramesh (1):
Add API to create fru records only for present frus.
Change-Id: I146e4698d513aa102ce7e6b280ce5d4a5c72b8f6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayashankar Padath (3):
oem-ibm: Dump entry delete support
oem: Fix to remove extra system dump
oem_ibm: Fix for dump offload issues
Pavithra Barithaya (1):
PLDM : Changes in setDateTime command
Change-Id: I7bb7e26cf67d362ff23477205920ea98e599b8f1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This is a dummy recipe which points to the existing pldm
repository but enables only building the libpldm shared library.
This recipe would point to the libpldm.git once the migration
is complete.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I1aef3702b5b05f389c6a24e752e44daff57afd6e
|