Clone this repo:

Branches

  1. 127609c Spell out full codename of Intel CPUs by Jason M. Bills · 3 weeks ago master
  2. f6e3f16 build: use allowed over enabled by Patrick Williams · 5 months ago
  3. ed6264d Disable raw-peci by default by Jason M. Bills · 6 months ago
  4. f2a5fa2 Add sequenced version of peci_raw method by Zbigniew Kurzynski · 6 months ago
  5. 0621dc0 clang-format: copy latest and re-format by Patrick Williams · 6 months 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.