All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: "Winkler, Tomas" <tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
	<tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Possible issue with tpm_crb runtime PM
Date: Thu, 22 Sep 2016 18:51:40 +0300	[thread overview]
Message-ID: <20160922155140.GA28886@intel.com> (raw)
In-Reply-To: <5B8DA87D05A7694D9FA63FD143655C1B542EC0CB-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>

On Tue, Sep 20, 2016 at 07:26:08PM +0000, Winkler, Tomas wrote:
> > On Tue, Sep 20, 2016 at 01:30:58PM +0000, Winkler, Tomas wrote:
> > >
> > > >
> > > > Hi
> > > >
> > > > I get this (probably every time) when I do rmmod:
> > > >
> > > > [ 4372.725616] tpm tpm0: A TPM error (325) occurred stopping the TPM
> > > >
> > > > That is probably caused by failing TPM2_Shutdown. My guess is that
> > > > runtime PM patches cause this.
> > > >
> > > > I'll verify that the problem does not occur with the next branch,
> > > > which does not include runtime PM patches.
> > >
> > > Can you produce the full log?
> > 
> > I just compiled kernel from the 'next' branch and it doesn't have this issue. If
> > you want, I can recompile the kernel but that's the only error message that is
> > emitted and it is obviously emitted by tpm2_shutdown().
> > This is a Skylake m7-6Y75 machine that I use for ad-hoc testing (runs Ubuntu
> > 16.04 LTS, usually I test kernel with buildroot initramfs) of TPM and SGX.
> 
> If you can just revert the last patch, so the device  will be always up, see if  this helps? 

This error does not occur with

0c22db435bf7 ("tpm/tpm_crb: open code the crb_init into acpi_add")

/Jarkko

------------------------------------------------------------------------------

  parent reply	other threads:[~2016-09-22 15:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-20 13:15 Possible issue with tpm_crb runtime PM Jarkko Sakkinen
     [not found] ` <20160920131522.GA950-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-20 13:30   ` Winkler, Tomas
     [not found]     ` <5B8DA87D05A7694D9FA63FD143655C1B542EBE42-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-20 17:47       ` Jarkko Sakkinen
     [not found]         ` <20160920174712.GA12175-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-20 19:26           ` Winkler, Tomas
     [not found]             ` <5B8DA87D05A7694D9FA63FD143655C1B542EC0CB-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-22 15:51               ` Jarkko Sakkinen [this message]
     [not found]                 ` <20160922155140.GA28886-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-25 12:38                   ` Winkler, Tomas
     [not found]                     ` <5B8DA87D05A7694D9FA63FD143655C1B542EEC58-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-26 22:14                       ` Jarkko Sakkinen
     [not found]                         ` <20160926221427.GA2212-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-28  5:48                           ` Jarkko Sakkinen

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=20160922155140.GA28886@intel.com \
    --to=jarkko.sakkinen-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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.