From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936107AbdEYUoV (ORCPT ); Thu, 25 May 2017 16:44:21 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:33452 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdEYUoU (ORCPT ); Thu, 25 May 2017 16:44:20 -0400 Date: Thu, 25 May 2017 14:44:14 -0600 From: Jason Gunthorpe To: Stefan Berger Cc: jarkko.sakkinen@linux.intel.com, tpmdd-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: vtpm_proxy: Do not run tpm2_shutdown Message-ID: <20170525204414.GA13742@obsidianresearch.com> References: <1495717956-14252-1-git-send-email-stefanb@linux.vnet.ibm.com> <20170525155059.GA5151@obsidianresearch.com> <20170525200931.GA12733@obsidianresearch.com> <9ff88c24-ca7a-1867-7284-17689fdac655@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ff88c24-ca7a-1867-7284-17689fdac655@linux.vnet.ibm.com> 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 On Thu, May 25, 2017 at 04:32:50PM -0400, Stefan Berger wrote: > It doesn't hang. Everything is torn down immediately. What is primarily > annoying are these two log messages: > tpm tpm0: tpm_transmit: tpm_send: error -32 > tpm tpm0: transmit returned -32 while stopping the TPM I think it would be better to change the core to suppress that logging if the FD is closed. Jason