Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbcDOQmb (ORCPT ); Fri, 15 Apr 2016 12:42:31 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:41318 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608AbcDOQm3 (ORCPT ); Fri, 15 Apr 2016 12:42:29 -0400 Date: Fri, 15 Apr 2016 10:42:21 -0600 From: Jason Gunthorpe To: Stefan Berger Cc: tpmdd-devel@lists.sourceforge.net, jarkko.sakkinen@linux.intel.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 2/5] tpm: Introduce TPM_CHIP_FLAG_VIRTUAL Message-ID: <20160415164221.GA21359@obsidianresearch.com> References: <1460728216-19563-1-git-send-email-stefanb@linux.vnet.ibm.com> <1460728216-19563-3-git-send-email-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460728216-19563-3-git-send-email-stefanb@linux.vnet.ibm.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: 492 Lines: 14 On Fri, Apr 15, 2016 at 09:50:13AM -0400, Stefan Berger wrote: > Introduce TPM_CHIP_FLAG_VIRTUAL to be used when the chip device has no > parent device. > > Prevent sysfs entries requiring a parent device from being created. > > Signed-off-by: Stefan Berger > drivers/char/tpm/tpm-chip.c | 7 +++++-- > drivers/char/tpm/tpm.h | 1 + > 2 files changed, 6 insertions(+), 2 deletions(-) Reviewed-by: Jason Gunthorpe Jason