[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1489527771.19081.49.camel@HansenPartnership.com>
Date: Tue, 14 Mar 2017 14:42:51 -0700
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
Peter Huewe <peterhuewe@....de>
Cc: tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM
hardware version
On Tue, 2017-03-14 at 15:24 -0600, Jason Gunthorpe wrote:
> On Tue, Mar 14, 2017 at 07:58:37PM +0100, Peter Huewe wrote:
>
> > > In practice, I suspect that a single user space application won't
> > > support both TPMs.
> > Think of init scripts.
> > Which daemon should it start?
>
> Right, ideally we'd have a udev rule that triggers systemd to start
> the userspace daemons when a TPM is detected, as other hardware does.
>
> So whatever format we use has to be compatible with udev's matcher..
Technically, we have that already: my TPM2.0 detection stuff for udev
triggers off the presence of the SUBSYSTEM=="tpmrm" that matches any
TPM2 device but not a 1.x one.
James
Powered by blists - more mailing lists