commit | adf056af63af67dff75065be810ba286bcea6e3a | [log] [tgz] |
---|---|---|
author | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | Thu Feb 25 12:44:08 2021 -0800 |
committer | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | Thu Feb 25 12:45:50 2021 -0800 |
tree | 2bd198ea28e894c29b3b277557b7c2440a91bcc7 | |
parent | bc641112abc99b4a972665aa984023a6713a21ac [diff] |
Fix PECI ioctl number PECI is dropped from dev-5.10 so it's a minimized fix to avoid ioctl number conflict in kernel v5.10. Intel keeps trying to upstream the PECI subsystem. Tested: PECI ioctl used 0xb8. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> Change-Id: Id63e569a77b66036cd53e497ef028c465d5d9e31
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.