Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|