Bug 196851
Summary: | Lenovo Yoga 3 Pro: rmi_reset_attn_mode() consumes 5seconds during resume | ||
---|---|---|---|
Product: | Drivers | Reporter: | Lv Zheng (lv.zheng) |
Component: | Input Devices | Assignee: | drivers_input-devices |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | aduggan, benjamin.tissoires, dmitry.torokhov, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.11 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 178231 | ||
Attachments: |
4.8 analyze_suspend.py result w/o ftrace enabled
4.12 analyze_suspend.py result w/o ftrace enabled 4.11 analyze_suspend.py result w/o ftrace enabled (v1 applied) |
Description
Lv Zheng
2017-09-07 01:24:13 UTC
Created attachment 258233 [details]
4.8 analyze_suspend.py result w/o ftrace enabled
No 5 retries.
Created attachment 258237 [details]
4.12 analyze_suspend.py result w/o ftrace enabled
5 retries, each of which consumes 1 second.
It sounds like this delay is the result of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1431375 Once this issue is fixed there won't be a delay. A patch has been posted with a fix, but it looks like there hasn't been a v2 patch submitted yet. https://www.spinics.net/lists/stable/msg182033.html But, in the failure case we can definately reduce the timeout. One second is probably excessive. Also, we can probably get away with less retries. It looks the issue can be fixed by https://www.spinics.net/lists/stable/msg182033.html. Let me paste new test results. Created attachment 258361 [details]
4.11 analyze_suspend.py result w/o ftrace enabled (v1 applied)
|