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
1 file changed
tree: 2bd198ea28e894c29b3b277557b7c2440a91bcc7
  1. linux/
  2. .clang-format
  3. .clang-ignore
  4. CMakeLists.txt
  5. LICENSE
  6. MAINTAINERS
  7. peci.c
  8. peci.h
  9. peci_cmds.c
  10. README.md
README.md

libpeci

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

peci_cmds

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.