#
cb80fa59 |
| 24-Jul-2023 |
Jonathan Doman <jonathan.doman@intel.com> |
Enable non unit-test.py docker build
Add subproject wraps for dependencies that aren't pre-built in the CI docker image. Trying to make things easier to build with less CI infrastructure.
Change-Id
Enable non unit-test.py docker build
Add subproject wraps for dependencies that aren't pre-built in the CI docker image. Trying to make things easier to build with less CI infrastructure.
Change-Id: Ic5aff12e1bc98f6c2fed1b1fdc4ae0c46197622e Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
show more ...
|
#
2f457593 |
| 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Iab54922e22722f7dbd4b0
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Iab54922e22722f7dbd4b01b09fce35c4a8ea6d17 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
83f9992c |
| 22-Jun-2022 |
Willy Tu <wltu@google.com> |
Recover Add ipmi response buffer size check for all commands
Use the ipmi::Context channel to get the max transfer size to make sure that we select the right size.
Also remove maximumReadSize since
Recover Add ipmi response buffer size check for all commands
Use the ipmi::Context channel to get the max transfer size to make sure that we select the right size.
Also remove maximumReadSize since the max reply size is checked instead
We already check the max reply size so maximumReadSize is not needed anymore. This will result in a bit of a different behavior when the size exceed the max. It will not fail - instead, it will return up to the max size.
Tested: Work with ipmi config that doesn't support the default interface (13). ``` cat /usr/share/ipmi-providers/channel_config.json { "0": { "name": "usb0", "is_valid": true, "active_sessions": 0, "channel_info": { "medium_type": "lan-802.3", "protocol_type": "ipmb-1.0", "session_supported": "multi-session", "is_ipmi": true } }, "8": { "name": "INTRABMC", "is_valid": true, "active_sessions": 0, "channel_info": { "medium_type": "oem", "protocol_type": "oem", "session_supported": "session-less", "is_ipmi": true } }, "11": { "name": "gbmcbr", "is_valid": true, "active_sessions": 0, "channel_info": { "medium_type": "lan-802.3", "protocol_type": "ipmb-1.0", "session_supported": "multi-session", "is_ipmi": true } } } ```
This read the blob count and always works now since it uses the right interface to get the max transfer size. ``` ipmitool raw 46 128 207 194 0 0 cf c2 00 4a ac 0e 00 00 00 ```
Change-Id: Ia65f80719a819e7d642eb7425463a56c179935ac Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
d92aee4d |
| 27-Jun-2022 |
Willy Tu <wltu@google.com> |
Revert "Add ipmi response buffer size check for all commands"
This reverts commit 88ca532a74375cc99bd979fbb037d07e5ee76cce.
Reason for revert: ipmi::getChannelMaxTransferSize is only using the defa
Revert "Add ipmi response buffer size check for all commands"
This reverts commit 88ca532a74375cc99bd979fbb037d07e5ee76cce.
Reason for revert: ipmi::getChannelMaxTransferSize is only using the default channel and may fail when using a different channel.
Change-Id: Ic080de6f51c05f86807b81dfd3dd38a87fc2dbf5 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
88ca532a |
| 14-Jun-2022 |
Willy Tu <wltu@google.com> |
Add ipmi response buffer size check for all commands
Add a response size check for all Blob command using the max transfer buffer size for the default ipmi channel.
The max size is fetched at the b
Add ipmi response buffer size check for all commands
Add a response size check for all Blob command using the max transfer buffer size for the default ipmi channel.
The max size is fetched at the beginning and assumed that it won't change. This is done instead of fetching it for all request to limit the amount of refactoring needed to make it work with existing codebase.
Change-Id: I66c506cab9c92a120e9fc75da4b6b74d5677120b Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
d5ed4099 |
| 16-Jun-2021 |
William A. Kennington III <wak@google.com> |
meson: Install headers This was missed when creating the initial meson build. Change-Id: I7bf85413d779d99e21e8cc2b5294ee4700d1d4fa Signed-off-by: William A. Kennington III <wak@
meson: Install headers This was missed when creating the initial meson build. Change-Id: I7bf85413d779d99e21e8cc2b5294ee4700d1d4fa Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|