commit | 7ef5a55777bb4d0c403a4eca98c487fa4e9c7bd1 | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@linux.intel.com> | Mon Apr 06 14:58:44 2020 -0700 |
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | Mon Apr 06 15:18:36 2020 -0700 |
tree | 9fda1a14e76bf05b4a48f4cdb5ef9e08ea91dc85 | |
parent | bd3347becee32682eb8290e13df88d4bf1b2c4b6 [diff] |
Add PECI library and peci_cmds utility source This adds the PECI library and peci_cmds utility source ported from Intel-BMC. Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
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
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.