summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mctp
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12libmctp: srcrev bump eba19a3b12..9f5b47a584Andrew Geissler1-1/+1
Andrew Jeffery (2): astlpc: Ship udev rules to help with device and driver transition configure: Ensure udev rules are installed in rules.d Change-Id: I20c79cc6e61f939fbee03e6e5677fb1f5ff5e99b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-01libmctp: srcrev bump d88c969c97..eba19a3b12Andrew Geissler1-1/+1
Andrew Jeffery (3): astlpc: Make packet properties depend on protocol version libmctp: Split padding in pktbuf into header and trailer astlpc: Introduce protocol v3 with integrity checks Change-Id: I0c8f1ab07a43ab34669d8f8e0fa46391972f014b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-26libmctp: srcrev bump b1bf5493e8..d88c969c97Andrew Geissler1-1/+1
Andrew Jeffery (15): docs: vendor-ibm-astlpc: Improve readability with explicit line breaks docs: vendor-ibm-astlpc: References as a numbered list docs: vendor-ibm-astlpc: Reduce emphasis for definitions docs: vendor-ibm-astlpc: Reorder sections to improve flow docs: vendor-ibm-astlpc: Use numbered list for strictly ordered ops docs: vendor-ibm-astlpc: Add definitions for KCS registers docs: vendor-ibm-astlpc: Fix packet exchange order of operations docs: vendor-ibm-astlpc: Annotate {M,L}SB in Bit column docs: vendor-ibm-astlpc: Increase prominence of endianness docs: vendor-ibm-astlpc: Fix IDs in packet transmission sequences docs: vendor-ibm-astlpc: Style code snippets as C docs: vendor-ibm-astlpc: Tweak description of header magic docs: vendor-ibm-astlpc: Define v3 of the protocol astlpc: Fix whitespace in ops struct docs: bindings: Add a Makefile Change-Id: Ieb7b90b6a7a19567e28b80ea8b57c1d74fed4580 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-24libmctp: srcrev bump e889b19f4b..b1bf5493e8Andrew Geissler1-1/+1
Andrew Jeffery (2): docs: Rename astlpc binding to include vendor docs: vendor-ibm-astlpc: Remove intimidating header wording Change-Id: I0d03929210ad5f0481da74003f7179d111821d12 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-16libmctp: srcrev bump 192752301b..e889b19f4bAndrew Geissler1-1/+1
Andrew Jeffery (1): core: Make pkt_size and pkt_pad size_t Change-Id: Ief49682332bdeb95023b67ecddcfb10966c2fae8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-01-30libmctp: srcrev bump b4ae00b9f8..192752301bAndrew Geissler1-1/+1
Andrew Jeffery (9): core: Set n_busses appropriately on failure to start binding core: Introduce mctp_bus_destroy() core: Drop messages sent before binding enables transmission core: Validate binding MTU before allowing transmission astlpc: Warn on unexpected commands before binding has started astlpc: Initialise with at least a BTU-sized packet tests: astlpc: Exercise mctp_message_tx() before channel init mctp-demux-daemon: Warn about failed messages core: Fail bridge initialisation if a binding fails to start Change-Id: Ieef6dbc11f5dcb426edbbfee6b9f2dc70abd39a8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-01-20libmctp: srcrev bump b9fd597ca4..b4ae00b9f8Andrew Geissler1-1/+1
Andrew Jeffery (1): core: Remove Rube Goldberg sequence point in packet body assignment (From meta-phosphor rev: 834b47c99dc7fda518fde4285f7ee8a332dd5767) Change-Id: Ibe66f962cd4f73fb8a4ad7775b16d8c73128565a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-10libmctp: srcrev bump 52f4cb2992..b9fd597ca4Andrew Geissler1-1/+1
Andrew Jeffery (1): astlpc: Fix version test before assignment (From meta-phosphor rev: 0381404bc81732920580b19ec880f18cf2eb1339) Change-Id: Ibeb5ebcb71121510b5bc9bfa7a1264e907c1bbb3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-30libmctp: srcrev bump c2b833e40d..52f4cb2992Andrew Geissler1-1/+1
Andrew Jeffery (1): README: Prominently address API/ABI stability (From meta-phosphor rev: a9caaea2af0e6999c9675252ce35d608df964be6) Change-Id: I3f038f8a5e38d811b3487c11e61cc55088094208 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-10libmctp: srcrev bump b3b55a6bd5..c2b833e40dAndrew Geissler1-1/+1
Andrew Jeffery (4): tests: astlpc: Re-order astlpc ops struct definitions astlpc: Extract MIN()/MAX() to range.h core: Fix comment on size limits core: Fix large packet buffer overrun (From meta-phosphor rev: 120046768a933ab1b58574f54b87342d3d985394) Change-Id: I8fe5275eddfc6cea3ff7fa17e12e3a4194bc21fe Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-29libmctp: srcrev bump 96d5449211..b3b55a6bd5Andrew Geissler1-1/+1
Andrew Jeffery (1): astlpc: Clear OBF during binding initialisation (From meta-phosphor rev: 3bf9ad05a72e3afa315155fcff218e165b0a4c58) Change-Id: Ice3aa08a79acf8683eb77f2b8525c326a5baa070 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15libmctp: srcrev bump 3ac70d6257..96d5449211Andrew Geissler1-1/+1
Sumanth Bhat (3): core: Drop trivial length packets core: Limit maximum size of an assembled MCTP message core: handle memory allocation failures in mctp init (From meta-phosphor rev: 024576d7747ff1a68acef5191834e21348035016) Change-Id: Ia3d3379e758c235e4ed1e45f9ec146f007360636 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-08libmctp: srcrev bump b942e3a34d..3ac70d6257Andrew Geissler1-1/+1
Andrew Jeffery (1): core: Fix off-by-one assertion in mctp_pktbuf_alloc_end (From meta-phosphor rev: f27b5b27d4b573fbaac510c7455c3b5b80ba4466) Change-Id: Ic9e7a65e0b9f06cd2734c1b3bba29750a8125b54 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-01libmctp: srcrev bump 8737538e56..b942e3a34dAndrew Geissler1-1/+1
Andrew Jeffery (1): core: Return size_t for mctp_pktbuf_size() (From meta-phosphor rev: fc2fe9f91b0d16045e8afee83ee7b8bdc73f9a15) Change-Id: Iaa67c7cbcc78e6c966f8719c81ccc9f81ca9200f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-22libmctp: srcrev bump 8536cfcfbc..8737538e56Andrew Geissler1-1/+1
Andrew Jeffery (3): astlpc: Request maximum MTU in fileio constructor mctp-astlpc-demux: Explicitly construct a fileio astlpc instance clang-format: Enable AlignConsecutiveMacros (From meta-phosphor rev: 1b32596a08eb3993f7567eca849bcf314f765332) Change-Id: I958e41727f53792473bb23249ae9b8c1a174ad6f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-13libmctp: srcrev bump 5303d9c594..8536cfcfbcAndrew Geissler1-1/+1
Andrew Jeffery (6): docs: Describe operation of the astlpc binding docs: astlpc: Introduce scope, terms and reference sections docs: astlpc: Describe some implementation details docs: astlpc: Factor out KCS command and status sequences docs: astlpc: Document the behaviours of protocol version 2 libmctp: v0.10 (From meta-phosphor rev: 8691121a0e34490b5508b1eade9a309a5d71f044) Change-Id: I9fa5d0ad92cfd91b0680e0689c17c589b3ea3966 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12libmctp: srcrev bump df5f6b9593..5303d9c594Andrew Geissler1-1/+1
Andrew Jeffery (23): test_astlpc: Fix OBF flag behaviour in emulated KCS status byte test_astlpc: Instantiate a binding for each endpoint test_astlpc: Extract single test case to dedicated function test_astlpc: Add astlpc_test_simple_init test_astlpc: Add network_{init,destroy}() helpers test_astlpc: Introduce astlpc_assert_tx_packet() test_astlpc: Assert message expectations in rx_message() test_astlpc: Clean up debugging in KCS callbacks test_astlpc: Test simple message from BMC to host test_astlpc: Improve readability of test output test_astlpc: Add test for a simple message from host to BMC test_astlpc: Add test initialising the device before the bus owner astlpc: Consolidate direct vs indirect LPC access astlpc: Handle loss of bmc-ready state astlpc: Remove redundant KCS register name enumeration astlpc: Introduce KCS accessors test_astlpc: Add astlpc_test_poll_not_ready() test_astlpc: Add astlpc_test_undefined_command() astlpc: Remove redundant lpc_map_base member from context struct astlpc: Implement version negotiation astlpc: Introduce MTU negotiation astlpc: Make MTU configurable at binding instantiation astlpc: Bump protocol support to v2 (From meta-phosphor rev: 370620b594eb367f90de56a0c0b72b2048c4c6f8) Change-Id: I796b2bd35be8af547b07a951915f14e2fe452d30 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-11libmctp: srcrev bump 8d53b1c368..df5f6b9593Andrew Geissler1-1/+1
Andrew Jeffery (6): bootstrap: Ratchet up compiler strictness core: Cleanup after failing to start binding astlpc: Support the host-side binding interface astlpc: Introduce astlpc_pr{err,warn,info,debug}() test_astlpc: Make more functions static test_astlpc: Include astlpc.c for internal structures (From meta-phosphor rev: af96c5f2f969161cfb11f5a285643b0c261efb2c) Change-Id: Id4d783298951e6a78756c62f64545f3d07608c45 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03libmctp: srcrev bump ba6727e6d6..8d53b1c368Andrew Geissler1-1/+1
Andrew Jeffery (8): gitignore: Sort entries gitignore: Add build artefacts log: Make use of pr_fmt() core: Propagate binding start-up errors in mctp_register_bus() libmctp-astlpc: Fix comment typo astlpc: Remove unused txbuf member from struct mctp_binding_astlpc test_bridge: Clean up memory before exit configure: Enable valgrind support (From meta-phosphor rev: 894d9e422c943b049ac206401fb52e22cd8b44c6) Change-Id: I76dbdbc13b3e82bc25cec830502c5ac8b570c153 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03libmctp: srcrev bump 34b9b3d82b..ba6727e6d6Andrew Geissler1-1/+1
Andrew Jeffery (53): Add MAINTAINERS file bindings: Fix spaced-indentation serial: Fix unused result warning for write() mctp-demux-daemon: Fix erroneous call to memset() astlpc: Remove unused rc variable serial: Fix control reaching end of non-void function log: Allow disabling of stdio Add gitignore astlpc: Make sure fileio capability builds if we've requested it astlpc: Fix KCS read error mesage astlpc: Fix kcs_read() status check in mctp_astlpc_kcs_send() libmctp: Clarify BTU-related symbols mctp-demux-daemon: Explicitly disable verbose before option parsing configure: Add code coverage magic astlpc: mctp_astlpc_init_ops: constify ops struct tests: Add test_astlpc tests: Add test_serial core: Add packetisation debug statements astlpc: Add packet transmission debugging statements astlpc: Fix dummy byte IRQ trigger ordering test_serial: Fix assert triggered in core.c mctp-demux.service: Set a default binding to be overridden cmake: Avoid artifacts called liblibmctp* cmake: Register test executables with the build system cmake: Add new tests to test suite mctp-demux-daemon: Resolve uninitialised variable warning test_serial: Resolve control reaching end of non-void function alloc: Resolve control reaching the end of a non-void function test_bridge: Resolve control reaching the end of a non-void function test-utils: Resolve control reaching the end of a non-void function test-utils: Avoid undefined behaviour on indirect call core: Fix realloc() memory leak in packet reassembly libmctp: Add mctp_destroy() test-utils: Add mctp_binding_test_destroy() test_seq: Clean up after each test case test_eid: Clean up after test case astlpc: Add mctp_astlpc_destroy() test_astlpc: Clean up after test case serial: Add mctp_serial_destroy() test_serial: Clean up after test case bootstrap: Add a 'dev' mode mctp-demux-daemon: Silence warnings on remote close configure: Disable portability to cater to code-coverage bootstrap: Cleanup FLAGS definition bootstrap: Error on implicit function definitions astlpc: Use mctp_pr* inside libmctp astlpc: Conditionally include endian.h astlpc: Avoid requiring off_t configure: Expose optional features via AC_ARG_WITH() libmctp: Add .clang-format config clang-format: Disable AlignConsecutiveMacros libmctp: Add code formatting script test_astlpc: Do debug logging before asserts Iwona Winiarska (1): MAINTAINERS: Add Iwona Winiarska as a reviewer James Feist (1): CmakeLists.txt: Add missing flag Jeremy Kerr (1): serial,astlpc: only include unistd.h if we're using file IO Przemyslaw Czarnowski (1): Extract container_of definition out of individual bindings Sumanth Bhat (1): Add Sumanth and Richard to reviewers Wiktor GoĊ‚gowski (1): core: Support transport control commands Xiaochao Ma (1): Add MCTP service file (From meta-phosphor rev: b89f4aea500c1aa5aafb2a23a9cb8d732c1b6bf1) Change-Id: I8522dfa3138678e56465472d3dd601ea1364590e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-18mctp: Add MCTP package recipeJeremy Kerr2-0/+29
This change adds a recipe for the libmctp sources, which provide a library implementing the MCTP base protocol, plus a demulitplexer daemon to provide a socket-based interface for client applications. This is covered in the mctp design document: https://github.com/openbmc/docs/blob/master/designs/mctp.md (From meta-phosphor rev: 5c7f42ef14ab27aee7ec6166ecdc38a16076e7c1) Change-Id: I56f5c47aa0689fe57b21f8776b1ed8a86061c007 Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>