From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Berger Subject: Re: [PATCH] tpm: check for TPM_CHIP_FLAG_TPM2 before calling tpm2_shutdown() Date: Mon, 25 Apr 2016 15:09:15 -0400 Message-ID: <571E6B5B.6020701@linux.vnet.ibm.com> References: <1461576090-24813-1-git-send-email-jarkko.sakkinen@linux.intel.com> <20160425175720.GB7675@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160425175720.GB7675-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jason Gunthorpe , Jarkko Sakkinen Cc: "moderated list:TPM DEVICE DRIVER" , linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, open list List-Id: tpmdd-devel@lists.sourceforge.net On 04/25/2016 01:57 PM, Jason Gunthorpe wrote: > On Mon, Apr 25, 2016 at 12:21:30PM +0300, Jarkko Sakkinen wrote: >> Signed-off-by: Jarkko Sakkinen >> Reported-by: Stefan Berger >> drivers/char/tpm/tpm-chip.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-By: Jason Gunthorpe > Fixes: 20e0152393b41 ("tpm: fix crash in tpm_tis deinitialization") Tested-by: Stefan Berger ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933219AbcDYTJZ (ORCPT ); Mon, 25 Apr 2016 15:09:25 -0400 Received: from e17.ny.us.ibm.com ([129.33.205.207]:43681 "EHLO e17.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932699AbcDYTJX (ORCPT ); Mon, 25 Apr 2016 15:09:23 -0400 X-IBM-Helo: d01dlp02.pok.ibm.com X-IBM-MailFrom: stefanb@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org;linux-security-module@vger.kernel.org Subject: Re: [PATCH] tpm: check for TPM_CHIP_FLAG_TPM2 before calling tpm2_shutdown() To: Jason Gunthorpe , Jarkko Sakkinen References: <1461576090-24813-1-git-send-email-jarkko.sakkinen@linux.intel.com> <20160425175720.GB7675@obsidianresearch.com> Cc: Peter Huewe , linux-security-module@vger.kernel.org, Marcel Selhorst , "moderated list:TPM DEVICE DRIVER" , open list From: Stefan Berger Message-ID: <571E6B5B.6020701@linux.vnet.ibm.com> Date: Mon, 25 Apr 2016 15:09:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160425175720.GB7675@obsidianresearch.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16042519-0041-0000-0000-000003F766D0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/25/2016 01:57 PM, Jason Gunthorpe wrote: > On Mon, Apr 25, 2016 at 12:21:30PM +0300, Jarkko Sakkinen wrote: >> Signed-off-by: Jarkko Sakkinen >> Reported-by: Stefan Berger >> drivers/char/tpm/tpm-chip.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-By: Jason Gunthorpe > Fixes: 20e0152393b41 ("tpm: fix crash in tpm_tis deinitialization") Tested-by: Stefan Berger