Name Date Size #Lines LOC

..--

example/H--96

service_files/H--6150

subprojects/H--5238

test/H--288229

.clang-formatH A D01-Feb-20253.7 KiB137135

.gitignoreH A D21-Oct-202142 43

LICENSEH A D16-Mar-201711.1 KiB202169

OWNERSH A D01-May-20231.6 KiB4944

README.mdH A D28-May-20241.5 KiB4829

app.cppH A D01-Aug-20252.2 KiB7352

file.hppH A D27-Dec-2021931 4933

meson.buildH A D09-Jul-20254.1 KiB160137

meson.optionsH A D10-Jun-2025862 4840

occ-active.shH A D11-Jan-2023555 2115

occ_command.cppH A D31-Oct-20248.2 KiB285237

occ_command.hppH A D31-Oct-20244.9 KiB189116

occ_dbus.cppH A D17-Jan-20257 KiB280228

occ_dbus.hppH A D17-Jan-20255.7 KiB19665

occ_device.cppH A D10-Jun-20253.2 KiB159132

occ_device.hppH A D10-Jun-20257.9 KiB276143

occ_errors.cppH A D31-Oct-20245.1 KiB185139

occ_errors.hppH A D10-Jan-20254.6 KiB16580

occ_events.hppH A D27-Dec-2021650 3325

occ_ffdc.cppH A D10-Jan-202513.3 KiB434341

occ_ffdc.hppH A D01-Feb-20256.4 KiB23593

occ_manager.cppH A D01-Aug-202555.6 KiB1,8161,455

occ_manager.hppH A D01-Aug-202516.1 KiB478196

occ_pass_through.cppH A D10-Jun-20255 KiB183150

occ_pass_through.hppH A D10-Jun-20253 KiB10844

occ_presence.cppH A D31-Oct-20241.4 KiB6047

occ_presence.hppH A D16-Aug-20241.3 KiB5026

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

occ_status.cppH A D10-Jun-202521 KiB676510

occ_status.hppH A D10-Jun-202511.6 KiB368183

pldm.cppH A D16-Apr-202537.5 KiB1,2071,040

pldm.hppH A D16-Apr-202515.4 KiB456179

powercap.cppH A D10-Dec-202413.4 KiB469378

powercap.hppH A D10-Dec-20247.2 KiB243109

powermode.cppH A D04-Mar-202546.5 KiB1,4671,157

powermode.hppH A D10-Jun-202516.6 KiB541223

sensor_gen.pyH A D21-Apr-20231.1 KiB4330

utils.cppH A D01-Aug-20258.4 KiB286232

utils.hppH A D01-Aug-20253.1 KiB11339

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