Bug 102891 - HID Sensors cause 8-second resume delay
Summary: HID Sensors cause 8-second resume delay
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Srinivas Pandruvada
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 02:15 UTC by Len Brown
Modified: 2015-08-15 02:15 UTC (History)
0 users

See Also:
Kernel Version: 4.0
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
analyze_suspend results showing the delay and its cause on a Dell XPS11 laptop (195.68 KB, text/html)
2015-08-15 02:15 UTC, Len Brown
Details

Description Len Brown 2015-08-15 02:15:01 UTC
Created attachment 184941 [details]
analyze_suspend results showing the delay and its cause on a Dell XPS11 laptop

In Linux 4.0, there was a regression where run-time PM
support in the HID sensors caused resume from system suspend
to delay by 8 seconds (2-seconds each for 4 sensors).

The symptom is that the screen comes up, so the user
can see the system resumed, but it is un-responsive
for 8 seconds, waiting for the HID sensors to synchronously resume.

This regression was fixed upstream by this commit
(the same patch was checked in twice)

4.2-rc3 commit 1e25aa9641e8f3fa39cd5e46b4afcafd7f12a44b
4.2-rc4 commit 88cc7b4eee1e7b9bca1a64dae5adaa044cf72312

Author: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date:   Mon Jun 1 16:36:27 2015 -0700

hid-sensor: Fix suspend/resume delay


The same patch was checked into Linux stable for 4.1.4:
be43d21df90d10f5f10252c114f5fb024b7ba5ae

The purpose of this bug report is to document that
users of those releases need to run at least that
version to have the patch.  Note also, that Linux 4.0-stable
does not include the patch.

Note You need to log in before you can comment on or make changes to this bug.