History log of /openbmc/smbios-mdr/tools/sst-compare-redfish-os.py (Results 1 – 4 of 4)
Revision Date Author Comments
# defbc2ac 14-Apr-2023 Jonathan Doman <jonathan.doman@intel.com>

Update sst-compare-redfish-os.py for TPMI based CPUs

The output of `intel-speed-select` is slightly different for TPMI-based
CPUs. Filter out some unnecessary info and check two possible JSON keys
f

Update sst-compare-redfish-os.py for TPMI based CPUs

The output of `intel-speed-select` is slightly different for TPMI-based
CPUs. Filter out some unnecessary info and check two possible JSON keys
for the SSE turbo buckets.

Change-Id: Ia6ceadf36cfafcdd5f3c3eb4a759ea8bacd5763c
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>

show more ...


# f5a2d2ad 04-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

sst-compare-redfish-os.py: fix flake8 and reformat with black

flake8 was reporting numerous issues in this script, some of which
were due to line lengths longer than desired. Fix the flake8 issues

sst-compare-redfish-os.py: fix flake8 and reformat with black

flake8 was reporting numerous issues in this script, some of which
were due to line lengths longer than desired. Fix the flake8 issues
and reformat with black.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5cc3bdbf2982858f3756ef81a6677a94ab619a55

show more ...


# a30229e1 13-May-2022 Jonathan Doman <jonathan.doman@intel.com>

tools:sst-compare-redfish-os: Handle missing properties

Turns out there are some properties not exposed by the
intel-speed-select tool, so we need to handle missing values without
failing the test.

tools:sst-compare-redfish-os: Handle missing properties

Turns out there are some properties not exposed by the
intel-speed-select tool, so we need to handle missing values without
failing the test.

Tested: Ran sst-compare-redfish-os.py:
...
Junction Temperature:
Redfish: 81
Linux: 81
SSE Max Turbo Speed: MISSING VALUE
Redfish: 3500
Linux: None
TDP:
Redfish: 250
Linux: 250
...
Everything matched! :)

Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: Ia34ee13879801eb0c351508ccc7d906bf5e122e0

show more ...


# 94c94bfb 06-Oct-2020 Jonathan Doman <jonathan.doman@intel.com>

cpuinfoapp: Add SST discovery feature

Retrieve Intel Speed Select Technology (SST) configuration values for
all CPUs via PECI (OS-PCode mailbox). Each CPU may have up to three
Performance Profiles (

cpuinfoapp: Add SST discovery feature

Retrieve Intel Speed Select Technology (SST) configuration values for
all CPUs via PECI (OS-PCode mailbox). Each CPU may have up to three
Performance Profiles (PP), each with accompanying Base Frequency (BF)
information.

Discovery is started immediately, but if no CPUs are found or any
unexpected PECI error is encountered, discovery is aborted and scheduled
for periodic retries until complete.

The profile data is published on D-Bus using two predefined interfaces:
- xyz.openbmc_project.Control.Processor.CurrentOperationConfig, which
is implemented on each "cpu" object in the inventory, and contains
mutable properties for OOB configuration (modifiying properties not
supported yet).
- xyz.openbmc_project.Inventory.Item.Cpu.OperationConfig, which is
implemented on separate "config" objects and contains the readonly
properties for each performance profile.

Tested:
- Profiled performance of PECI operations via code instrumentation
(takes ~2 min per CPU on ast2500 during BMC boot, ~2 sec during BMC idle).
- Validated Redfish output against Linux driver using included python
tool.
- Injected PECI failures in code to test error handling, and tested
with Linux OS idling on host to make sure WOP is working.

Change-Id: I0d8ae79655dfd2880cf3bae6abe600597740df7c
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>

show more ...