commit | 67a96247869c85fdb5acf5958ae85778dc1155e7 | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@intel.com> | Fri Jul 28 15:04:45 2023 -0700 |
committer | Jason M. Bills <jason.m.bills@intel.com> | Fri Jul 28 15:04:45 2023 -0700 |
tree | f4b3a37580c3cb5f750f7bd0695a3e2b70d24568 | |
parent | b33f593d97cd814e73473376945d8bed27daeb37 [diff] |
Fix build warning When enabling build warnings as errors, this is causing the build to fail as an invalid conversion, so add a static_cast to avoid the warning. Tested: Confirmed that CI passes Change-Id: I37f9ca0e6bdbeadcfb5a804a36cac57efe296a6d Signed-off-by: Jason M. Bills <jason.m.bills@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.
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.