aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fsi
diff options
context:
space:
mode:
authorNgai-Mint Kwan <ngai-mint.kwan@intel.com>2018-10-15 12:18:27 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-10-31 10:31:24 -0700
commite69e40c8066c0e2fafd63a5919cb9b2fb9f81f2e (patch)
tree56fe6e2909ddf6d2644b24a0eda30c51d437353f /drivers/fsi
parentigb: shorten maximum PHC timecounter update interval (diff)
downloadlinux-dev-e69e40c8066c0e2fafd63a5919cb9b2fb9f81f2e.tar.xz
linux-dev-e69e40c8066c0e2fafd63a5919cb9b2fb9f81f2e.zip
fm10k: fix SM mailbox full condition
Current condition will always incorrectly report a full SM mailbox if an IES API application is not running. Due to this, the "fm10k_service_task" will be infinitely queued into the driver's workqueue. This, in turn, will cause a "kworker" thread to report 100% CPU utilization and might cause "soft lockup" events or system crashes. To fix this issue, a new condition is added to determine if the SM mailbox is in the correct state of FM10K_STATE_OPEN before proceeding. In other words, an instance of the IES API must be running. If there is, the remainder of the flow stays the same which is to determine if the SM mailbox capacity has been exceeded or not and take appropriate action. Signed-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions