aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPrakash, Prashanth <[email protected]>2018-04-24 17:10:02 -0600
committerRafael J. Wysocki <[email protected]>2018-05-10 17:16:22 +0200
commit58e1c03536c959e0d45fde8261cb9c15da893fe6 (patch)
treeeee77e862fce70ff73394ed969b1303d8b3d21c1 /tools/perf/util/scripting-engines/trace-event-python.c
parentb382bf885269bffaa8444a9310db680f2f0f4151 (diff)
ACPI / CPPC: Fix invalid PCC channel status errors
Replace the faulty PCC status register polling code with a iopoll.h macro to fix incorrect reporting of PCC check errors ("PCC check channel failed"). There were potential codepaths where we could incorrectly return PCC channel status as busy even without checking the PCC status register once or not checking the status register before breaking out of the polling loop. For example, if the thread polling PCC status register was preempted and scheduled back after we have crossed the deadline then we can report that the channel is busy even without checking the status register. Signed-off-by: Prashanth Prakash <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions