commit | ff44e549c44c7658ec11e0c19c13c4c45900cfe4 | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@linux.intel.com> | Mon Apr 05 08:11:52 2021 -0700 |
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | Tue Apr 20 14:28:37 2021 -0700 |
tree | be77c11993d65d091ed4c82e442f9f1a712d6ca4 | |
parent | 8fc53d7cef0dd7ac405b5d7d91a368f376cdb508 [diff] |
peci_cmds: add loop option This adds an option to loop a command multiple times and report the results. This option allows for stress testing and performance measurements on PECI commands. Tested: Confirmed that each command still works as expected and can be looped. Change-Id: If307bb0aec154028bf91453bfe9d091868cda587 Signed-off-by: Jason M. Bills <jason.m.bills@linux.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.