Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbeABFB7 convert rfc822-to-8bit (ORCPT + 1 other); Tue, 2 Jan 2018 00:01:59 -0500 Received: from mga02.intel.com ([134.134.136.20]:23120 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbeABFB5 (ORCPT ); Tue, 2 Jan 2018 00:01:57 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,495,1508828400"; d="scan'208";a="6632726" From: "Shaikh, Azhar" To: Jason Gunthorpe CC: "jarkko.sakkinen@linux.intel.com" , "peterhuewe@gmx.de" , "linux-security-module@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v8 1/2] tpm_tis: Move ilb_base_addr to tpm_tis_data Thread-Topic: [PATCH v8 1/2] tpm_tis: Move ilb_base_addr to tpm_tis_data Thread-Index: AQHTg4Pc4iQT2sM6Nkm3KvpW3RJZT6NgBKmw Date: Tue, 2 Jan 2018 05:01:54 +0000 Message-ID: <5FFFAD06ADE1CA4381B3F0F7C6AF582898A03C@ORSMSX109.amr.corp.intel.com> References: <1514865944-95086-1-git-send-email-azhar.shaikh@intel.com> <1514865944-95086-2-git-send-email-azhar.shaikh@intel.com> <20180102044044.GA29208@ziepe.ca> In-Reply-To: <20180102044044.GA29208@ziepe.ca> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmMyYjBhYmYtZTJlOS00M2YwLTkwNmEtZGFiNWVlNDg4MzBjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJjTDNPU290XC9jd3VXTmpjeVZibTdQNnFrXC9YUVwvOFQxVFBjWFBKS2dSMU9ZbWtxcjRoUTFcL2VZNGtsRjFJd3hKRSJ9 dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: >-----Original Message----- >From: Jason Gunthorpe [mailto:jgg@ziepe.ca] >Sent: Monday, January 1, 2018 8:41 PM >To: Shaikh, Azhar >Cc: jarkko.sakkinen@linux.intel.com; peterhuewe@gmx.de; linux-security- >module@vger.kernel.org; linux-integrity@vger.kernel.org; linux- >kernel@vger.kernel.org >Subject: Re: [PATCH v8 1/2] tpm_tis: Move ilb_base_addr to tpm_tis_data > >On Mon, Jan 01, 2018 at 08:05:43PM -0800, Azhar Shaikh wrote: > >> - return tpm_chip_register(chip); >> + rc = tpm_chip_register(chip); >> + if (rc && is_bsw()) >> + iounmap(priv->ilb_base_addr); >> + >> + return rc; >> out_err: >> tpm_tis_remove(chip); >> + if (is_bsw()) >> + iounmap(priv->ilb_base_addr); >> + >> return rc; >> } > >I thought you were resending this to fix the above, why is is it still wonky? > Oh! I fixed it in the second patch ("tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()"). Should have fixed in this patch instead. My bad, didn't see it was introduced in this patch. I thought it was part of second patch. Will fix this. >Jason