Clone this repo:

Branches

  1. ebf958c clang-tidy: Initial commit by Jayanth Othayoth · 4 weeks ago master
  2. 631f261 clang-tidy:meson fix GCC-only warning flags by Jayanth Othayoth · 4 weeks ago
  3. 6ed4d17 clang-tidy: fix strict-prototypes in init by Jayanth Othayoth · 4 weeks ago
  4. 230b857 meson: use non-deprecated systemd packageconfig by Patrick Williams · 7 months ago
  5. e92985a clang-format: update latest spec and reformat by Patrick Williams · 1 year ago

libpeci

libpeci is a library that provides various APIs to interface with the IOCTLs provided by the PECI driver in the OpenBMC kernel. Currently available here:

https://github.com/openbmc/linux/blob/dev-5.4/include/uapi/linux/peci-ioctl.h

peci_cmds

This repo also includes a peci_cmds command-line utility with functions that map to the libpeci APIs. It can be used to test PECI functionality across the library, driver, and hardware.

dbus_raw_peci

This repo also includes dbus_raw_peci which provides a raw-peci daemon that exposes a raw PECI interface that is accessible over D-Bus. It can be used when an application needs to send a raw PECI command without loading the full PECI library.