commit | 3ece5b99026970e1cf9bc7e797aff4c1be81b2f3 | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Fri Jan 10 16:06:31 2025 -0600 |
committer | Chris Cain <cjcain@us.ibm.com> | Wed Jan 15 09:52:49 2025 -0600 |
tree | 1161a714b47a7cdb30201627e93d8e9e0e0e3195 | |
parent | 6f3fe1a7233dec049387c4f00a7ce91a1c22c3f4 [diff] |
Add processor callout when BMC has no comm to an OCC The non-informational PEL indicating that communication has been lost to the OCC did not have any callouts. This commit will add a callout for the processor that it was unable to communicate with. Example: ''' "Error Details": { "Message": "BMC failed to communicate with the OCC" }, "Valid Word Count": "0x09", "Reference Code": "BD572684", "Hex Word 2": "00000055", "Hex Word 3": "2E2D0010", "Hex Word 4": "00000000", "Hex Word 5": "00000000", "Hex Word 6": "00000000", "Hex Word 7": "00000000", "Hex Word 8": "00000000", "Hex Word 9": "00000000", "Callout Section": { "Callout Count": "1", "Callouts": [{ "FRU Type": "Normal Hardware FRU", "Priority": "Mandatory, replace all with this type as a unit", "Location Code": "U78DA.ND0.WZS003T-P0-C15", "Part Number": "F201110", "CCIN": "5C67", "Serial Number": "YA39AAAA1828" }] } ''' A Verified on Rainier. Change-Id: Ia26668af568238d78263b81d16fd30a849f67134 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