summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorPrakash, Prashanth <pprakash@codeaurora.org>2018-04-24 17:10:02 -0600
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-10 17:16:22 +0200
commit58e1c03536c959e0d45fde8261cb9c15da893fe6 (patch)
treeeee77e862fce70ff73394ed969b1303d8b3d21c1 /drivers/mailbox
parentb382bf885269bffaa8444a9310db680f2f0f4151 (diff)
downloadblackbird-op-linux-58e1c03536c959e0d45fde8261cb9c15da893fe6.tar.gz
blackbird-op-linux-58e1c03536c959e0d45fde8261cb9c15da893fe6.zip
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 <pprakash@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud