Re: [Bug 181381] New: Resume from suspend no longer works on Thinkpad X240
From: Rafael J. Wysocki
Date: Mon Oct 24 2016 - 16:35:29 EST
On Monday, October 24, 2016 08:28:18 PM bugzilla-daemon@xxxxxxxxxxxxxxxxxxx wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=181381
>
> Bug ID: 181381
> Summary: Resume from suspend no longer works on Thinkpad X240
> Product: Power Management
> Version: 2.5
> Kernel Version: 4.9.0-rc1
> Hardware: All
> OS: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Hibernation/Suspend
> Assignee: rjw@xxxxxxxxxxxxx
> Reporter: steinar+kernel@xxxxxxxxxxxx
> CC: jarkko.sakkinen@xxxxxxxxxxxxxxx
> Regression: No
>
> Hi,
>
> I have a Thinkpad X240, which suspends (to RAM) and resumes just fine with
> 4.7.4. However, in 4.9.0-rc1, it completely refuses to resume; when I try to
> press the power button to resume it from sleep, it just ignores the request
> completely and keeps pulsing the light.
>
> bisect gives the following culprit:
>
> commit 0c541332231e7957f23013e37f3720db33e7804c
> Author: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Date: Fri Jun 17 13:12:20 2016 +0200
>
> tpm: use tpm_pcr_read_dev() in tpm_do_selftest()
>
> Instead of a ad-hoc protocol message construction it is better to
> call tpm_pcr_read_dev().
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
>
> I haven't tried 4.9.0-rc2, because that just hangs directly off of GRUB from
> me.
Jarkko, Jason, any chance to have a look at this?
Thanks,
Rafael