Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3275330ybi; Fri, 5 Jul 2019 04:49:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFX9EoYQ7sYDd/7bDg4UtghQ6ihpckJkpmaCFZ21yYick7Fu/yK45NHv4fXKWMlf2PMjB8 X-Received: by 2002:a17:902:a504:: with SMTP id s4mr5082081plq.117.1562327343123; Fri, 05 Jul 2019 04:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562327343; cv=none; d=google.com; s=arc-20160816; b=zQGVvmWcDTFro9EHffia2I9eicgWG7vWFDIyztbOA+YtX5tYM72l2OWtlBATIURhlG i+MbwkYpwqrerXlZXpQFa6FrgZJnN+VsOWd0OFNCD7xjZm77kOxK2AZE5ltLmgWw78As v0fYmZfGU0WS6Kb1GfQ0iO2+8f4kbPEKnu5Dx9eTjt/veIZkqz3AanP99rd9J9v7RYE0 tAq133co+ToSz/EjmYtys+JFS22HuteFnqEw9INK4iKIGsCiCVa+m58NDM+JxggPvYWx tCN6jEWAv4rwDhp0OCNEAdzm2y0ovk37NEFbiUy1FSLXBjCxhQA0OXYA4fx7g45BR1GT /9xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=UMN66UF20MphyLifr6uLviQZlROJSmrkZhYytzl+oSE=; b=ezYoEambKocpeDwCB1RxDAIoV2gtd2AGiCb9/yn+WhMTQJXYDhV/rC98IcPay3Q1XK yOpUSOkG9fQum8qT/i7kbdFH8apscYxhs5ZJWD4kSkUJX5bxWv295t9GsygLsyuM/PQY thdIY3xiT8xko+Kmi7I1eoTnpHq0Bx2ZImNCvSllplZzHtul0+o2C4+cBqsFxiP9BAnd XKZtUV8DM45y1NHz5ScTszgF6kHmukKCwyqYnT7W+vZCd9a4Yx5845I5VlKSbjUg3HG3 WrYqzhlVWh9vCQvSOh4Yo0wQR/TT6q3k3d6ZUvb28T8Kfs7j9X61AU2O7tB5BwQ3FgQV 1mPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si4036837pfk.197.2019.07.05.04.48.47; Fri, 05 Jul 2019 04:49:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728647AbfGELRH (ORCPT + 99 others); Fri, 5 Jul 2019 07:17:07 -0400 Received: from mga06.intel.com ([134.134.136.31]:51990 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726851AbfGELRG (ORCPT ); Fri, 5 Jul 2019 07:17:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2019 04:17:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,454,1557212400"; d="scan'208";a="339808382" Received: from jsakkine-mobl1.tm.intel.com ([10.237.50.189]) by orsmga005.jf.intel.com with ESMTP; 05 Jul 2019 04:16:59 -0700 Message-ID: Subject: Re: [PATCH] Revert "tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()" From: Jarkko Sakkinen To: Mimi Zohar , Roberto Sassu , Michal Suchanek , linux-integrity@vger.kernel.org Cc: Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , James Bottomley , David Howells , Tomas Winkler , Armijn Hemel , Stefan Berger , Jerry Snitselaar , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org Date: Fri, 05 Jul 2019 14:16:58 +0300 In-Reply-To: <1562240882.6165.78.camel@linux.ibm.com> References: <20190701131505.17759-1-msuchanek@suse.de> <8e4cc105b748c5395132b4d3d29d0d9b30a8720c.camel@linux.intel.com> <1562240882.6165.78.camel@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-07-04 at 07:48 -0400, Mimi Zohar wrote: > On Thu, 2019-07-04 at 13:28 +0200, Roberto Sassu wrote: > > On 7/4/2019 12:03 PM, Jarkko Sakkinen wrote: > > > On Mon, 2019-07-01 at 15:15 +0200, Michal Suchanek wrote: > > > > This reverts commit 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400 to avoid > > > > following crash: > > > > > > Thank you. I think this the right choice for the moment. I fixed > > > a trivial checkpatch.pl error and added the mandatory tags. Can > > > you check quickly v2 (just posted)? > > > > > > I already made it available in my master and next. > > > > Could you please wait few days? I would prefer to fix this issue instead > > of reverting the whole patch. > > Nayna posted a patch late yesterday titled "tpm: fixes uninitialized > allocated banks for IBM vtpm driver", which addresses this bug. With some minor changes it should be fine. /Jarkko