History log of /openbmc/google-ipmi-sys/ (Results 26 – 50 of 123)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1209ccc619-May-2023 Willy Tu <wltu@google.com>

cleanup: Reformat with clang

Also update required meson version to support
`get_variable` and remove deprecated get_pkgconfig_variable.

Change-Id: I1a0d5a9fce077d546cf56078b63c49ee52f1a816
Signed-o

cleanup: Reformat with clang

Also update required meson version to support
`get_variable` and remove deprecated get_pkgconfig_variable.

Change-Id: I1a0d5a9fce077d546cf56078b63c49ee52f1a816
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

59445f5e29-Mar-2023 Brandon Kim <brandonkim@google.com>

Update the default for "bm-signal-path" meson.option

Move to /run/ and make the file name more unix friendly.

This was poited out in:
https://gerrit.openbmc.org/c/openbmc/google-ipmi-sys/+/61987

S

Update the default for "bm-signal-path" meson.option

Move to /run/ and make the file name more unix friendly.

This was poited out in:
https://gerrit.openbmc.org/c/openbmc/google-ipmi-sys/+/61987

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7642e9ee54fc3671961eb15a16087ec485915cf5

show more ...

3f3ca03517-Mar-2023 Brandon Kim <brandonkim@google.com>

handler: Add check for file existence for BM mode

/tmp/BMReady.flag indicates that we are in BM mode.

Tested:
Verified both cases -
- Mar 21 11:17:52 ipmid[1130]: /tmp/BMReady.flag exists so we mus

handler: Add check for file existence for BM mode

/tmp/BMReady.flag indicates that we are in BM mode.

Tested:
Verified both cases -
- Mar 21 11:17:52 ipmid[1130]: /tmp/BMReady.flag exists so we must be in BM mode
- Mar 21 10:37:04 ipmid[1076]: Unable to find /tmp/BMReady so we must not be in BM mode

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I9fa99b40afea7e48ce7e1f9c47e8f081b71b897f

show more ...

b3af83db28-Mar-2023 Brandon Kim <brandonkim@google.com>

Fix presubmit failures with "prettier"

Ran `prettier` on README.md after failing on unrelated presubmit
failure.

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Id36ad868538cdef5b4c24

Fix presubmit failures with "prettier"

Ran `prettier` on README.md after failing on unrelated presubmit
failure.

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Id36ad868538cdef5b4c24502d0aaa7395a2b02bd

show more ...

2aaf2c0528-Oct-2022 Brandon Kim <brandonkim@google.com>

bmc_mode_enum: Add cstdint include to the header

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I47704b6684192cb1825682956b67b5ed3b41e911

8ec4106b24-Oct-2022 Nikhil Namjoshi <nikhilnamjoshi@google.com>

Move bmc mode enum to a header file

Tested:

Response in BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 01

Response in Non-BM Mode:
ipmitool raw 0x2e 0x32 0x79

Move bmc mode enum to a header file

Tested:

Response in BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 01

Response in Non-BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 00

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
Change-Id: I3e0ca730ccaed74c3195eb3a4002719077251745

show more ...

5e70dc8c15-Sep-2022 Nikhil Namjoshi <nikhilnamjoshi@google.com>

Add ipmi OEM handler to get the BMC mode

The response can indicate one of the BMC mode
below
0 -> Non Bare Metal Mode
1 -> Bare Metal Mode
2 -> Bare Metal Cleaning Mode

The Bare Metal Cleaning Mode

Add ipmi OEM handler to get the BMC mode

The response can indicate one of the BMC mode
below
0 -> Non Bare Metal Mode
1 -> Bare Metal Mode
2 -> Bare Metal Cleaning Mode

The Bare Metal Cleaning Mode is not
yet supported

Tested:

Response in BM Mode

ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 01

Response in Non-BM Mode

ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 00

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
Change-Id: I34474fd04f9aed35bd71725805ed52a5df8ab8c9

show more ...

4aa9317622-Sep-2022 Nikhil Namjoshi <nikhilnamjoshi@google.com>

Fix the license comment format

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
Change-Id: I0a40fa6c6be56ae1125d3f2ef90d61b4b0629df5

7e71a43d07-Jul-2022 Willy Tu <wltu@google.com>

fix typo: Prase -> Parse

Change-Id: I504db56f3e584a51350d63f94ca5487b73e05a98
Signed-off-by: Willy Tu <wltu@google.com>

0e928ac620-Jun-2022 Michael Shen <gpgpgp@google.com>

accel: rename `accelOobGetDbus` to `getBus`

accelOobGetDbus returns a dbus bus which can be leverage by others.
Rename it to a more common name.

Tested: Unittest passed.
Signed-off-by: Michael Shen

accel: rename `accelOobGetDbus` to `getBus`

accelOobGetDbus returns a dbus bus which can be leverage by others.
Rename it to a more common name.

Tested: Unittest passed.
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I0e48f7f6a49c09b397d52e9343bc3e32ca41d9d8

show more ...

e5a0667520-Jun-2022 Michael Shen <gpgpgp@google.com>

all: cleanup, prefer "ipmid/api-types.hpp" type to "ipmid/api.h" type

Tested: N/A
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: Id3e9f206516c55b3605835b32d6cd2b488c52a60

8659851c11-Feb-2022 Yunyun Lin <linyuny@google.com>

google-ipmi-sys: Move Warning to debug statement

Google-Bug-Id: 161573162
Signed-off-by: Yunyun Lin <linyuny@google.com>
Change-Id: I9e338347be4d9f5ea021fe627737e3043ea05dce

6c71b0f910-Oct-2021 Willy Tu <wltu@google.com>

pcie_bifurcation: Fetch bifurcation at a PCIe slot with hardcoded values

This will read a json config and return the bifurcation based on that.
It will read the configure file in a persistent file t

pcie_bifurcation: Fetch bifurcation at a PCIe slot with hardcoded values

This will read a json config and return the bifurcation based on that.
It will read the configure file in a persistent file to see if it is
valid machine config and return the bifurcation information
accordingly.

For example,
If it is valid config, it will return 8x8 for PE1,3,4,6.

Tested:
Unit tests passed.

Physical Tests.

PE0 -> no bifurcation
PE1 -> x8x8

```
$ ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x0f 0
79 2b 00 0b 00

$ ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x0f 1
79 2b 00 0b 02 08 08
```

Change-Id: I44aefbfb26372f8bc0069343c8a6d07d3cf6f42d
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

726ef31a19-May-2022 Willy Tu <wltu@google.com>

owners: Add wltu as owner/maintainer

Change-Id: I1f430661711cd464ba57de98c5342ef5751b1729
Signed-off-by: Willy Tu <wltu@google.com>

e4fddf4307-Apr-2022 Willy Tu <wltu@google.com>

google-ipmi-sys: Add SysPCIeSlotBifurcation subcommand placeholder

Set SysPCIeSlotBifurcation to 15 before the final implmentation is
finished to prevent it from changing as more systems depends on

google-ipmi-sys: Add SysPCIeSlotBifurcation subcommand placeholder

Set SysPCIeSlotBifurcation to 15 before the final implmentation is
finished to prevent it from changing as more systems depends on this
command.

Change-Id: Iea403571c65c4587c26adc09eb839768ff23a46d
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

c98db20307-Apr-2022 William A. Kennington III <wak@google.com>

systemd: Save random seed during powercycle

This allows us to better keep track of the last system time and
randomness information during subsequent "reboots".

Change-Id: I80235e6af2f87b9a28e6052f6

systemd: Save random seed during powercycle

This allows us to better keep track of the last system time and
randomness information during subsequent "reboots".

Change-Id: I80235e6af2f87b9a28e6052f6890d6288f03d632
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

03dbd3d815-Apr-2022 William A. Kennington III <wak@google.com>

systemd: Stop targets when unneeded

This is not a big deal normally because the BMC will powercycle, but
these targets should stop after being executed so they can be started a
second time if desire

systemd: Stop targets when unneeded

This is not a big deal normally because the BMC will powercycle, but
these targets should stop after being executed so they can be started a
second time if desired.

Change-Id: Ia8f4131db719c80b352cdac3b1161d344a1c955c
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

0e22d32a07-Apr-2022 William A. Kennington III <wak@google.com>

systemd: Handle PSU delay globally

Instead of requiring each reset service to handle reset delays, handle
them here.

Change-Id: Ibe452bf37fd81e386cbaacd789f957d519dfedfe
Signed-off-by: William A. K

systemd: Handle PSU delay globally

Instead of requiring each reset service to handle reset delays, handle
them here.

Change-Id: Ibe452bf37fd81e386cbaacd789f957d519dfedfe
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

4f0d1de620-Sep-2021 Steve Foreman <foremans@google.com>

Add IPMI interface for CustomAccel service

Change-Id: I28a8976e382b457233ac521e9ab71f75abe029d1
Signed-off-by: Steve Foreman <foremans@google.com>

e2679fba08-Feb-2022 Willy Tu <wltu@google.com>

google-ipmi-sys: Remove venture from reviewer

Change-Id: I504e729216609435a842884a87233cd664784236
Signed-off-by: Willy Tu <wltu@google.com>

40fe522210-Nov-2021 Willy Tu <wltu@google.com>

copyright: Add Google Copyright to test helper.cpp

Change-Id: Iacb456930e28d16ee6a8e399903edd09b2d9c44d
Signed-off-by: Willy Tu <wltu@google.com>

f647e99122-Oct-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Add OWNERS file

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Icb2ca1b4dda0123b94f8363d424b9892d620687d

b4e3704c12-Oct-2021 Willy Tu <wltu@google.com>

google-ipmi-sys: Convert input to use std::span<const uint8_t>

Change-Id: I533de34c04e3d2577cb9076add441153b2994c30
Signed-off-by: Willy Tu <wltu@google.com>

ff3cd8e915-Sep-2021 Willy Tu <wltu@google.com>

google-ipmi-sys: Refactor to use new version of OEM IPMI Handler

Using the new version of ipmi handler provide a higher level wrapper
over the same functionalities. It helps us parse the input and o

google-ipmi-sys: Refactor to use new version of OEM IPMI Handler

Using the new version of ipmi handler provide a higher level wrapper
over the same functionalities. It helps us parse the input and output to
have more control of the input/output we see.

The input and output will be
`std::uint8_t, std::optional<std::vector<uint8_t>>`.

This represents `subcommand` and any input data.

Changes to note,
- all subcommand in the request/response struct are removed. It will be
managed by the wrapper directly.
- Unit tests checking for input with only the subcommand are
removed.
- Move all reply struct to header files to be accessible in unit test.

Tested:
All IPMI OEM command still works the same as before this change.

Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

cad9eb8410-Oct-2021 Willy Tu <wltu@google.com>

test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD

Change-Id: If9d29d7a4706204dfda6b698388f72e442ab2d98
Signed-off-by: Willy Tu <wltu@google.com>

12345