Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932746AbcCJWM0 (ORCPT ); Thu, 10 Mar 2016 17:12:26 -0500 Received: from quartz.orcorp.ca ([184.70.90.242]:44377 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932441AbcCJWMZ (ORCPT ); Thu, 10 Mar 2016 17:12:25 -0500 Date: Thu, 10 Mar 2016 15:12:20 -0700 From: Jason Gunthorpe To: Jarkko Sakkinen Cc: Stefan Berger , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs Message-ID: <20160310221220.GB9735@obsidianresearch.com> References: <1457545170-30120-1-git-send-email-stefanb@linux.vnet.ibm.com> <1457545170-30120-9-git-send-email-stefanb@linux.vnet.ibm.com> <20160310163915.GA4863@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160310163915.GA4863@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.160 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 346 Lines: 9 On Thu, Mar 10, 2016 at 06:39:15PM +0200, Jarkko Sakkinen wrote: > Some might want to use this in a way that the created virtual device > is not closed when /dev/vtpmx is closed. No, there is no reason to create an API like that - TPM's are stateful, one cannot close the server side and re-connect and expect things to continue to work. Jason