All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linux PM list <linux-pm@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Subject: Re: [Regression] Commit "tpm: Introduce function to poll for result of self test" breaks suspend
Date: Mon, 16 Jan 2012 16:15:12 -0500	[thread overview]
Message-ID: <4F149360.70604@linux.vnet.ibm.com> (raw)
In-Reply-To: <201201162142.34096.rjw@sisk.pl>

On 01/16/2012 03:42 PM, Rafael J. Wysocki wrote:
> On Monday, January 16, 2012, Stefan Berger wrote:
>> On 01/15/2012 06:22 PM, Rafael J. Wysocki wrote:
>>> Hi Stefan,
>>>
>> Hi Rafael,
>>
> That doesn't show anything too.
>
> However, after reverting the above commit I get:
>
> $ find /sys/devices -name caps | xargs cat
> Manufacturer: 0x49465800
> TCG version: 1.2
> Firmware version: 1.2
>
> and system suspend works, although "find /sys/devices -name pcrs | xargs cat"
> still doesn't show anything.

My guess is your TPM is disabled and/or deactivated and it that mode 
doesn't like the sequence of commands we are sending to it. Well, I 
guess the best is to revert the patch for now. I'll send a patch for this.

What does

find /sys/devices -name active | xargs cat

currently show? If it shows a '0', can you try one other thing? Go into 
your machine's BIOS and find the TPM menu and enable/activate the device 
and try again the 'find's and suspend/resume again?

Thanks.

    Stefan


  reply	other threads:[~2012-01-16 21:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15 23:22 [Regression] Commit "tpm: Introduce function to poll for result of self test" breaks suspend Rafael J. Wysocki
2012-01-16  2:27 ` Stefan Berger
2012-01-16 20:42   ` Rafael J. Wysocki
2012-01-16 21:15     ` Stefan Berger [this message]
2012-01-16 22:05       ` Rafael J. Wysocki
2012-01-16 22:43         ` Stefan Berger
2012-01-16 22:50           ` Rafael J. Wysocki
2012-01-16 23:50             ` Stefan Berger
2012-01-17 22:13               ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F149360.70604@linux.vnet.ibm.com \
    --to=stefanb@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=srajiv@linux.vnet.ibm.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.