commit | f6e3f1629dd3d98d205707faa2a1c8267a0a38a7 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:45:02 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:45:02 2023 -0600 |
tree | e828b9d1b4ff2b51d89b60ea608912a01d23a27d | |
parent | ed6264d14ff763d8cfebc7cb519493608a6e60b7 [diff] |
build: use allowed over enabled Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto. Switch all uses of `enabled` to `allowed`. Change-Id: I0db07582db115b8f7511183e37a718dad23f04ca Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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.