commit | 4b82f3e3575a2e85d73d8408ad27205e440f2c7d | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Mon Apr 22 14:44:29 2024 -0500 |
committer | Chris Cain <cjcain@us.ibm.com> | Mon Apr 22 14:48:12 2024 -0500 |
tree | b93cff51a513b539e594b1013267d22dc190334e | |
parent | 755af1029964f7706d52c4b473aa16f1c03995f6 [diff] |
Create PEL if unable to get the OCC PDRs The OCC PDRs are required so occ-control will know when the OCCs are available and ready to communicate. If the PDRs never become available there is currently no indication other than the OCC sensors not being available. This code change will create a PEL when the PDRs have not been found after 5 minutes. The service will continue looking for the PDRs after logging the PEL. Change-Id: Ia2200273d04b91cba9cad3cf8465cc9cada73428 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
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