Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409AbdCNVYk (ORCPT ); Tue, 14 Mar 2017 17:24:40 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:40765 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751707AbdCNVYi (ORCPT ); Tue, 14 Mar 2017 17:24:38 -0400 Date: Tue, 14 Mar 2017 15:24:25 -0600 From: Jason Gunthorpe To: Peter Huewe Cc: tpmdd-devel@lists.sourceforge.net, Ken Goldman , linux-kernel@vger.kernel.org Subject: Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version Message-ID: <20170314212425.GA29359@obsidianresearch.com> References: <1489382517-9078-1-git-send-email-Meng.Li@windriver.com> <29B2C361-A0C0-410E-ACCA-07AFA382A251@gmx.de> <9f67321b-50bd-9e6f-61f8-c29ae14f261f@linux.vnet.ibm.com> <074515F2-51E7-485B-B1AB-11B913CC4B46@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <074515F2-51E7-485B-B1AB-11B913CC4B46@gmx.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.156 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 427 Lines: 13 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.. Jason