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:
34https://www.ibm.com/downloads/cas/E7RL9N4E
35
36OCC Firmware Interface Spec for Power10:
37https://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:
44https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=49019149USEN&
45
46OCC Firmware Interface Spec for POWER9:
47https://github.com/open-power/docs/blob/P9/occ/OCC_P9_FW_Interfaces.pdf
48