Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
example/ | H | 07-Mar-2021 | - | 9 | 8 | |
service_files/ | H | 09-Nov-2023 | - | 65 | 54 | |
subprojects/ | H | 29-Feb-2024 | - | 52 | 38 | |
test/ | H | 11-Dec-2024 | - | 507 | 399 | |
.clang-format | H A D | 27-Aug-2024 | 3.7 KiB | 137 | 135 | |
.gitignore | H A D | 27-Oct-2021 | 42 | 4 | 3 | |
LICENSE | H A D | 07-Mar-2021 | 11.1 KiB | 202 | 169 | |
OWNERS | H A D | 02-May-2023 | 1.6 KiB | 49 | 44 | |
README.md | H A D | 29-May-2024 | 1.5 KiB | 48 | 29 | |
app.cpp | H A D | 06-Nov-2024 | 1.6 KiB | 58 | 41 | |
file.hpp | H A D | 04-Jan-2022 | 931 | 49 | 33 | |
i2c_occ.cpp | H A D | 21-Sep-2021 | 2.5 KiB | 106 | 77 | |
i2c_occ.hpp | H A D | 21-Sep-2021 | 1.6 KiB | 70 | 14 | |
meson.build | H A D | 28-Aug-2024 | 4.7 KiB | 171 | 147 | |
meson.options | H A D | 27-Aug-2024 | 1.2 KiB | 69 | 59 | |
occ-active.sh | H A D | 09-Feb-2023 | 555 | 21 | 15 | |
occ_command.cpp | H A D | 06-Nov-2024 | 8.2 KiB | 285 | 237 | |
occ_command.hpp | H A D | 06-Nov-2024 | 4.9 KiB | 189 | 116 | |
occ_dbus.cpp | H A D | 06-Nov-2024 | 6 KiB | 248 | 199 | |
occ_dbus.hpp | H A D | 05-Nov-2024 | 5.2 KiB | 183 | 60 | |
occ_device.cpp | H A D | 06-Nov-2024 | 3.2 KiB | 161 | 134 | |
occ_device.hpp | H A D | 18-Oct-2024 | 8.4 KiB | 304 | 173 | |
occ_errors.cpp | H A D | 06-Nov-2024 | 5.1 KiB | 185 | 139 | |
occ_errors.hpp | H A D | 18-Oct-2024 | 4.4 KiB | 161 | 78 | |
occ_events.hpp | H A D | 04-Jan-2022 | 650 | 33 | 25 | |
occ_ffdc.cpp | H A D | 06-Nov-2024 | 12.9 KiB | 422 | 329 | |
occ_ffdc.hpp | H A D | 27-Aug-2024 | 6.3 KiB | 232 | 92 | |
occ_manager.cpp | H A D | 06-Nov-2024 | 48.1 KiB | 1,652 | 1,343 | |
occ_manager.hpp | H A D | 18-Oct-2024 | 16.3 KiB | 499 | 228 | |
occ_pass_through.cpp | H A D | 06-Nov-2024 | 5.2 KiB | 197 | 164 | |
occ_pass_through.hpp | H A D | 15-Feb-2024 | 3 KiB | 114 | 50 | |
occ_presence.cpp | H A D | 06-Nov-2024 | 1.4 KiB | 60 | 47 | |
occ_presence.hpp | H A D | 27-Aug-2024 | 1.3 KiB | 50 | 26 | |
occ_sensor.mako.hpp | H A D | 07-Apr-2022 | 701 | 37 | 28 | |
occ_status.cpp | H A D | 06-Nov-2024 | 21.7 KiB | 703 | 536 | |
occ_status.hpp | H A D | 18-Oct-2024 | 11.9 KiB | 402 | 218 | |
pldm.cpp | H A D | 06-Nov-2024 | 36.2 KiB | 1,176 | 1,019 | |
pldm.hpp | H A D | 18-Oct-2024 | 14.9 KiB | 444 | 175 | |
powercap.cpp | H A D | 12-Dec-2024 | 13.4 KiB | 469 | 378 | |
powercap.hpp | H A D | 12-Dec-2024 | 7.2 KiB | 243 | 109 | |
powermode.cpp | H A D | 06-Nov-2024 | 46.3 KiB | 1,459 | 1,150 | |
powermode.hpp | H A D | 23-Oct-2024 | 16.6 KiB | 543 | 225 | |
sensor_gen.py | H A D | 09-Sep-2023 | 1.1 KiB | 43 | 30 | |
utils.cpp | H A D | 06-Nov-2024 | 7.6 KiB | 253 | 203 | |
utils.hpp | H A D | 27-Aug-2024 | 2.8 KiB | 102 | 37 |
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