From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: tpmdd-devel@lists.sourceforge.net,
jgunthorpe@obsidianresearch.com,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 1/4] tpm: Remove all uses of drvdata from the TPM Core
Date: Mon, 25 Apr 2016 15:13:26 -0400 [thread overview]
Message-ID: <571E6C56.4080305@linux.vnet.ibm.com> (raw)
In-Reply-To: <20160422150645.GA21128@intel.com>
On 04/22/2016 11:06 AM, Jarkko Sakkinen wrote:
> On Mon, Apr 18, 2016 at 01:26:13PM -0400, Stefan Berger wrote:
>> From: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
>>
>> The final thing preventing this was the way the sysfs files were
>> attached to the pdev. Follow the approach developed for ppi and move
>> the sysfs files to the chip->dev with symlinks from the pdev
>> for compatibility. Everything in the core now sanely uses container_of
>> to get the chip.
>>
>> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
>> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
>
> Three configurations:
>
> * Haswell NUC with PTT (tpm_crb)
> * Another NUC with dTPM 2.0 chip
> * Dell E6420, which has TPM 1.2 chip
>
> Things seem to be unbroken.
>
> Stefan, have you verified that sysfs attributes work through routes:
>
> 1. From char device sysfs directory
> 2. Through link
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
>
> An also tried insmod/rmmod couple of rounds?
Works as-is in polling mode but requires Jason's patch "tpm: Fix IRQ
unwind ordering in TIS" for interrupt mode to not throw errors on 'rmmod'.
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
next prev parent reply other threads:[~2016-04-25 19:13 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 17:26 [PATCH v11 0/4] Multi-instance vTPM proxy driver Stefan Berger
[not found] ` <1461000376-2888-1-git-send-email-stefanb-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-04-18 17:26 ` [PATCH v11 1/4] tpm: Remove all uses of drvdata from the TPM Core Stefan Berger
2016-04-18 17:26 ` Stefan Berger
2016-04-19 10:12 ` Jarkko Sakkinen
[not found] ` <20160419101214.GA11574-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-04-19 10:36 ` Stefan Berger
2016-04-19 10:36 ` Stefan Berger
[not found] ` <57160A26.5040805-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-04-19 17:06 ` Jason Gunthorpe
2016-04-19 17:06 ` Jason Gunthorpe
[not found] ` <20160419170645.GA20844-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-20 5:33 ` Jarkko Sakkinen
2016-04-20 5:33 ` Jarkko Sakkinen
2016-04-19 17:21 ` Jarkko Sakkinen
[not found] ` <1461000376-2888-2-git-send-email-stefanb-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-04-22 15:06 ` Jarkko Sakkinen
2016-04-22 15:06 ` Jarkko Sakkinen
2016-04-25 19:13 ` Stefan Berger [this message]
2016-05-10 13:55 ` [BUG, bisect] " Jeremiah Mahler
2016-05-10 13:55 ` Jeremiah Mahler
2016-05-10 14:38 ` Jarkko Sakkinen
[not found] ` <20160510135523.GA1943-ZO/ZziT/ZXRSq9BJjBFyUp/QNRX+jHPU@public.gmane.org>
2016-05-10 15:05 ` Stefan Berger
[not found] ` <201605101505.u4AF5nHd032349@d03av04.boulder.ibm.com>
[not found] ` <201605101505.u4AF5nHd032349-2xHzGjyANq4+UXBhvPuGgqsjOiXwFzmk@public.gmane.org>
2016-05-11 1:26 ` Jeremiah Mahler
2016-05-11 1:26 ` [tpmdd-devel] " Jeremiah Mahler
[not found] ` <20160511012617.GA4657-ZO/ZziT/ZXRSq9BJjBFyUp/QNRX+jHPU@public.gmane.org>
2016-05-11 10:27 ` Stefan Berger
[not found] ` <201605111027.u4BARtQ4021061@d01av01.pok.ibm.com>
[not found] ` <201605111027.u4BARtQ4021061-4ZtxiNBBw+3ImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-05-11 14:29 ` Jeremiah Mahler
2016-05-11 14:29 ` [tpmdd-devel] " Jeremiah Mahler
[not found] ` <20160511142948.GA1715-ZO/ZziT/ZXRSq9BJjBFyUp/QNRX+jHPU@public.gmane.org>
2016-05-11 15:20 ` Stefan Berger
2016-05-11 15:20 ` [tpmdd-devel] " Stefan Berger
2016-04-18 17:26 ` [PATCH v11 2/4] tpm: Introduce TPM_CHIP_FLAG_VIRTUAL Stefan Berger
2016-04-18 17:26 ` Stefan Berger
2016-04-22 16:46 ` Jarkko Sakkinen
2016-04-18 17:26 ` [PATCH v11 3/4] tpm: Proxy driver for supporting multiple emulated TPMs Stefan Berger
2016-04-18 17:26 ` Stefan Berger
[not found] ` <1461000376-2888-4-git-send-email-stefanb-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-04-22 16:47 ` Jarkko Sakkinen
2016-04-22 16:47 ` Jarkko Sakkinen
2016-04-18 17:26 ` [PATCH v11 4/4] tpm: Add documentation for the tpm_vtpm_proxy device driver Stefan Berger
2016-04-18 17:26 ` Stefan Berger
2016-04-22 16:47 ` Jarkko Sakkinen
2016-04-22 16:54 ` [PATCH v11 0/4] Multi-instance vTPM proxy driver Jarkko Sakkinen
2016-04-22 16:54 ` Jarkko Sakkinen
2016-04-26 9:28 ` [tpmdd-devel] " Jarkko Sakkinen
[not found] ` <20160426092807.GA32066-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-04-26 11:30 ` Stefan Berger
2016-04-26 11:30 ` [tpmdd-devel] " Stefan Berger
2016-04-27 12:56 ` Jarkko Sakkinen
[not found] ` <20160427125621.GA3026-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-04-27 16:27 ` Stefan Berger
2016-04-27 16:27 ` [tpmdd-devel] " Stefan Berger
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=571E6C56.4080305@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=jgunthorpe@obsidianresearch.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=tpmdd-devel@lists.sourceforge.net \
/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.