commit | 755af1029964f7706d52c4b473aa16f1c03995f6 | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Tue Feb 27 16:09:51 2024 -0600 |
committer | Chris Cain <cjcain@us.ibm.com> | Wed Feb 28 17:10:07 2024 -0600 |
tree | 5391dcfccdd70c0021c1ed5be2e2a1ce60b7d1e9 | |
parent | 89e54faba95061fe361ccc38f5671198122431c8 [diff] |
Handle other PLDM_STATE_SET_OPERATIONAL states - Code will no longer assume the OCC is not running if an unexpected state is received. It will continue to look for a good/known state. - Added code that will throttle the occ-control pldm journal traces if unable to read the OCC active sensor states. In some error conditions, this tracing would flood the trace and the repeated traces are not helpful for debug. - Change some journal entries to ERR when the state indicated that the system was in safe mode (OCCs disabled) - If request for occ active sensor state was sent, and then a PLDM sensor event comes in for that instance, the event status is used and the response is ignored. - Added README for occ-control Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: Ic26f1d0c4dc59e7a61b965b052d649e4bc152fde
This service will handle communications to the On-Chip Controller (OCC) on Power processors. The OCC provides processor and memory temperatures, power readings, power cap support, system power mode support, and idle power saver support. OCC Control will be interfacing with the OCC to collect the temperatures and power readings, updating the system power mode, setting power caps, and idle power save parameters.
The service is started automatically when the BMC is started.
This project can be built with meson. The typical meson workflow is: meson builddir && ninja -C builddir.
The server will start automatically after BMC is powered on.
Server status: systemctl status org.open_power.OCC.Control.service
To restart the service: systemctl restart org.open_power.OCC.Control.service
Service files are located in service_files subdirectory.
IBM EnergyScale for Power10 Processor-Based Systems whitepaper: https://www.ibm.com/downloads/cas/E7RL9N4E
OCC Firmware Interface Spec for Power10: https://github.com/open-power/docs/blob/P10/occ/OCC_P10_FW_Interfaces_v1_17.pdf
OCC Firmware: https://github.com/open-power/occ/tree/master-p10
IBM EnergyScale for POWER9 Processor-Based Systems: https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=49019149USEN&
OCC Firmware Interface Spec for POWER9: https://github.com/open-power/docs/blob/P9/occ/OCC_P9_FW_Interfaces.pdf