mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Stefan Berger <stefanb@linux.vnet.ibm.com>
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 23:05:15 +0100	[thread overview]
Message-ID: <201201162305.15662.rjw@sisk.pl> (raw)
In-Reply-To: <4F149360.70604@linux.vnet.ibm.com>

On Monday, January 16, 2012, Stefan Berger wrote:
> 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.

Thanks!

> What does
> 
> find /sys/devices -name active | xargs cat
> 
> currently show? If it shows a '0',

Yes, it does.

> 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?

Well, so the problem with that is that it requires Windows to be installed
to change the settings (i.e. the machine has no BIOS setup as we know it).
So, practically, I really can't do that.

Thanks,
Rafael

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15 23:22 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
2012-01-16 22:05       ` Rafael J. Wysocki [this message]
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=201201162305.15662.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=srajiv@linux.vnet.ibm.com \
    --cc=stefanb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®