diff options
| author | Clive Lin <[email protected]> | 2023-07-31 06:03:54 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-22 19:37:29 +0000 |
| commit | 5f55836ab41671e005038255fdd60482718d2ca2 (patch) | |
| tree | bbe60899d0d135eba0c3e6e9f88b8472ea69beb9 /tools/perf/scripts/python/libxed.py | |
| parent | Linux 6.5-rc7 (diff) | |
| download | kernel-5f55836ab41671e005038255fdd60482718d2ca2.tar.gz kernel-5f55836ab41671e005038255fdd60482718d2ca2.zip | |
PM: QoS: Add check to make sure CPU latency is non-negative
CPU latency should never be negative, which will be incorrectly high
when converted to unsigned data type.
Commit 8d36694245f2 ("PM: QoS: Add check to make sure CPU freq is
non-negative") makes sure CPU frequency is non-negative to fix incorrect
behavior in freqency QoS.
Add an analogous check to make sure CPU latency is non-negative so as to
prevent this problem from happening in CPU latency QoS.
Signed-off-by: Clive Lin <[email protected]>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
