Name Date Size #Lines LOC

..Today-

example/H07-Mar-2021-98

service_files/H09-Nov-2023-6554

subprojects/H29-Feb-2024-5238

test/H11-Dec-2024-507399

.clang-formatH A D27-Aug-20243.7 KiB137135

.gitignoreH A D27-Oct-202142 43

LICENSEH A D07-Mar-202111.1 KiB202169

OWNERSH A D02-May-20231.6 KiB4944

README.mdH A D29-May-20241.5 KiB4829

app.cppH A D06-Nov-20241.6 KiB5841

file.hppH A D04-Jan-2022931 4933

i2c_occ.cppH A D21-Sep-20212.5 KiB10677

i2c_occ.hppH A D21-Sep-20211.6 KiB7014

meson.buildH A D28-Aug-20244.7 KiB171147

meson.optionsH A D27-Aug-20241.2 KiB6959

occ-active.shH A D09-Feb-2023555 2115

occ_command.cppH A D06-Nov-20248.2 KiB285237

occ_command.hppH A D06-Nov-20244.9 KiB189116

occ_dbus.cppH A D06-Nov-20246 KiB248199

occ_dbus.hppH A D05-Nov-20245.2 KiB18360

occ_device.cppH A D06-Nov-20243.2 KiB161134

occ_device.hppH A D18-Oct-20248.4 KiB304173

occ_errors.cppH A D06-Nov-20245.1 KiB185139

occ_errors.hppH A D18-Oct-20244.4 KiB16178

occ_events.hppH A D04-Jan-2022650 3325

occ_ffdc.cppH A D06-Nov-202412.9 KiB422329

occ_ffdc.hppH A D27-Aug-20246.3 KiB23292

occ_manager.cppH A D06-Nov-202448.1 KiB1,6521,343

occ_manager.hppH A D18-Oct-202416.3 KiB499228

occ_pass_through.cppH A D06-Nov-20245.2 KiB197164

occ_pass_through.hppH A D15-Feb-20243 KiB11450

occ_presence.cppH A D06-Nov-20241.4 KiB6047

occ_presence.hppH A D27-Aug-20241.3 KiB5026

occ_sensor.mako.hppH A D07-Apr-2022701 3728

occ_status.cppH A D06-Nov-202421.7 KiB703536

occ_status.hppH A D18-Oct-202411.9 KiB402218

pldm.cppH A D06-Nov-202436.2 KiB1,1761,019

pldm.hppH A D18-Oct-202414.9 KiB444175

powercap.cppH A D12-Dec-202413.4 KiB469378

powercap.hppH A D12-Dec-20247.2 KiB243109

powermode.cppH A D06-Nov-202446.3 KiB1,4591,150

powermode.hppH A D23-Oct-202416.6 KiB543225

sensor_gen.pyH A D09-Sep-20231.1 KiB4330

utils.cppH A D06-Nov-20247.6 KiB253203

utils.hppH A D27-Aug-20242.8 KiB10237

README.md

1# OpenPOWER OCC Control Service
2
3This service will handle communications to the On-Chip Controller (OCC) on Power
4processors. The OCC provides processor and memory temperatures, power readings,
5power cap support, system power mode support, and idle power saver support. OCC
6Control will be interfacing with the OCC to collect the temperatures and power
7readings, updating the system power mode, setting power caps, and idle power
8save parameters.
9
10The service is started automatically when the BMC is started.
11
12## Build Project
13
14This project can be built with meson. The typical meson workflow is: meson
15builddir && ninja -C builddir.
16
17## Server
18
19The server will start automatically after BMC is powered on.
20
21Server status: `systemctl status org.open_power.OCC.Control.service`
22
23To restart the service: `systemctl restart org.open_power.OCC.Control.service`
24
25## Configuration
26
27Service files are located in service_files subdirectory.
28
29## References
30
31### Power10
32
33IBM EnergyScale for Power10 Processor-Based Systems whitepaper:
34<https://www.ibm.com/downloads/cas/E7RL9N4E>
35
36OCC Firmware Interface Spec for Power10:
37<https://github.com/open-power/docs/blob/P10/occ/OCC_P10_FW_Interfaces_v1_17.pdf>
38
39OCC Firmware: <https://github.com/open-power/occ/tree/master-p10>
40
41### Power9
42
43IBM EnergyScale for POWER9 Processor-Based Systems:
44<https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=49019149USEN&>
45
46OCC Firmware Interface Spec for POWER9:
47<https://github.com/open-power/docs/blob/P9/occ/OCC_P9_FW_Interfaces.pdf>
48