aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2021-05-12 17:15:14 -0500
committerRafael J. Wysocki <[email protected]>2021-05-17 17:05:30 +0200
commit65ea8f2c6e230bdf71fed0137cf9e9d1b307db32 (patch)
treeaed14846338ad4ffcc7e88133adfbbca528a74cf /tools/perf/scripts/python/bin/export-to-postgresql-report
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc (diff)
ACPI: processor idle: Fix up C-state latency if not ordered
Generally, the C-state latency is provided by the _CST method or FADT, but some OEM platforms using AMD Picasso, Renoir, Van Gogh, and Cezanne set the C2 latency greater than C3's which causes the C2 state to be skipped. That will block the core entering PC6, which prevents S0ix working properly on Linux systems. In other operating systems, the latency values are not validated and this does not cause problems by skipping states. To avoid this issue on Linux, detect when latencies are not an arithmetic progression and sort them. Link: https://gitlab.freedesktop.org/agd5f/linux/-/commit/026d186e4592c1ee9c1cb44295912d0294508725 Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1230#note_712174 Suggested-by: Prike Liang <[email protected]> Suggested-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions