Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2910512imu; Mon, 19 Nov 2018 07:58:31 -0800 (PST) X-Google-Smtp-Source: AJdET5fLzhT1Y7j0hgq65YBGXuGbWNWAUiT83tdkbrFLMVaJ0PGqmUX9Vl0J29P35TlGK2wdz9au X-Received: by 2002:a62:11c7:: with SMTP id 68mr23356340pfr.21.1542643111024; Mon, 19 Nov 2018 07:58:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542643110; cv=none; d=google.com; s=arc-20160816; b=da1/hKYTfjjMCnyXBmNGH/UCkkGZpe7g1uykq3WO8HkG/0cFPSY6NSOCFX7dku8SU6 vhRcmV29dZMJ+I2qdwSpxqQlLAiAjOdjTCl1gEfaUFMQJUlS8F28ubKgkTVdOdTZPyB5 88s5g3hJFTfZJXWRrEnMfaYA+JBE3nd5WC7JVFC7qs0ys3zwDEKwseRpslfrnMxGFSnQ 4ER6G+LWYwXlWFT9/75WUCZi2bbkw4R66d2OM8AuwjRGz59umSJ00Wr87P2oAft0LFbK ssVsNTFCS9Y/qRGfD9MICZFkryecB/CVOyiCdaKAS3CtKNTY75EcZaKxQuqbyx1WxsHk t+WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3nxVgczEez6zCeWv6W73QTNo/bhTdxpLK09yrmiPK2o=; b=09lFtGEP8jykHpqjgcrv6x48HPqGOE/q5mXVbf1jxX1Gy7ypyVDe83UG8UlNE3LzMq eq1oVF+mySTIV7c/QUO7VBXOPYyxFNN93DH0lUE65QnHVPE5zXB3RGSiFW9OO0+sdp1W 09aSXhdM5bkhDHEy/d4zjUJhTETLYbtf9Z79JHTltN8qdZvsfLsA5t2vZ81eSkCB+mbQ +Uk7pcj0z7q65xuNkEGHOyoByBMPbFi+OVuq2Ouj/yKHL0E7xq5+jtn1lZ3/KQOB1DpT 8cOi5QGp1GPpEX7bz1HAR0khf7AOhnd8duEL+7UlIUKqXWdIB1kLZA363Cwy/MQWJxeG FAHw== 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 g17si12706911pgi.578.2018.11.19.07.58.13; Mon, 19 Nov 2018 07:58:30 -0800 (PST) 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 S1729913AbeKTCUP (ORCPT + 99 others); Mon, 19 Nov 2018 21:20:15 -0500 Received: from mga11.intel.com ([192.55.52.93]:49118 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729759AbeKTCUP (ORCPT ); Mon, 19 Nov 2018 21:20:15 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Nov 2018 07:56:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,253,1539673200"; d="scan'208";a="275195815" Received: from tmuluk-mobl4.ger.corp.intel.com (HELO localhost) ([10.249.254.135]) by orsmga005.jf.intel.com with ESMTP; 19 Nov 2018 07:56:11 -0800 Date: Mon, 19 Nov 2018 17:56:10 +0200 From: Jarkko Sakkinen To: Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, James Bottomley , Tomas Winkler , Tadeusz Struk , Stefan Berger , Nayna Jain , Jason Gunthorpe , "moderated list:ARM/Microchip (AT91) SoC support" , open list Subject: Re: [PATCH v9 00/17] Removed nested TPM operations Message-ID: <20181119155610.GC13298@linux.intel.com> References: <20181118124753.18613-1-jarkko.sakkinen@linux.intel.com> <1393743e-7c54-4a83-ba2a-779a3a8a31e3@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1393743e-7c54-4a83-ba2a-779a3a8a31e3@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 19, 2018 at 09:23:03AM -0500, Stefan Berger wrote: > On 11/18/18 7:47 AM, Jarkko Sakkinen wrote: > > [was Detach TPM space code out of the tpm_transmit() flow but the scope > > expanded a bit.] > > > > Make the changes necessary to detach TPM space code and TPM activation > > code out of the tpm_transmit() flow because of both of these can cause > > nested tpm_transmit() calls. The nesteds calls make the whole flow hard > > to maintain, and thus, it is better to just fix things now before this > > turns into a bigger mess. > > Tested this series with the vtpm proxy test cases: > > > Tested-by: Stefan Berger Awesome, thank you! I'll add your tags to the next revision. /Jarkko