summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mctp
AgeCommit message (Collapse)AuthorFilesLines
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>