commit | f2a5fa2623e550fcb9d4d9ee4942d21e3c3c90c2 | [log] [tgz] |
---|---|---|
author | Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> | Mon Nov 06 13:48:11 2023 +0100 |
committer | Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> | Mon Nov 06 14:17:19 2023 +0100 |
tree | c82a8d4fd17f5b792422cfac42b77b4501c3f64e | |
parent | 0621dc0a3abf455846bad7f6a7f399b790b96082 [diff] |
Add sequenced version of peci_raw method Most of libpeci methods have its sequenced version, in case of intensive peci method usage it allows to avoid unnecessary file opening and closing with each function call. This change adds such sequenced version of peci_raw because for some reason it was not implemented before. Tested: I have successfully use this new method with my tesing application. Change-Id: Id3d8e3459e8c5f17efc803b3847ff0ae700b74d1 Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@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.