Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2430155ybe; Tue, 3 Sep 2019 12:44:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYRRzX0DLwNZvwNAc5LiyYFUqIxTIS+Q7F2eUJ9dRNgK1GAcxoYKyowvQWSEXbyVBXpx7H X-Received: by 2002:a17:90a:c8a:: with SMTP id v10mr1004517pja.6.1567539895106; Tue, 03 Sep 2019 12:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567539895; cv=none; d=google.com; s=arc-20160816; b=V1nq7UIGK8b8k6OkViAF5YF6VUIh5/xt8CeIwLeNil1anzShTYoWYVQeWQptxvUvJN FEdx6x9r6ohCKqq3czoRNPYkutmJiWE3c35+PMd8d/ozwXJRMRrGAlqkHoyKSWch+TLY 0wD7Du1svpyzFr+04AMtikrdeoGYC4PyKDNbb5OynNLoZtWmbdtCISbputNrgOJVjvL8 UMyT9vT5nC362o+rLAciajbjemsNm6YGI3Lj5SFQMfREFhxI2iDMEpc1LGrUBaaJVzlM OtwLP3JVHDpNrD77d+AjRmriSQfZnJjgC3LnCD8y4fDuzO+vfWenTkfQdgpRNe06qxfn DxrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=0ESVl/7883ALTmqUKwxcmK0l2hXLq2Sodc9dTo4Ag8w=; b=k0CjoAhwCr5ef38pvrHm13TcfXY7KcgBD7rOoqqF0cC2S0XM/kRVdJcJW4ZTOheHqf y1NkT4EL/5L+rPOT0UHAWRblqUnS6MkkMSK2yXPpJIQaE/4RLTnvnyaY+t3H/qUJ6XMH qSSpryuRFE17Z+0mlwsFS4ta6BQziUaRk/nZukGCspkk9LNt4xbP3OMFksBhfIzaGVGv u3isfGpZ3qmPkTmlbNqu+LCu6y3Qk5mHN5Mk8+cr9z8duBUx8ScLw0MT9dUlPxrUz2lU cyyUq0zSYV+RszxSNcbNwYPxRBsoqk4y5KnfQZUxPmecQNK1ZMJCl4xe8BSohRwYDA36 a8+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ftd/sdeH"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si15117215pgj.71.2019.09.03.12.44.38; Tue, 03 Sep 2019 12:44:55 -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; dkim=pass header.i=@kernel.org header.s=default header.b="ftd/sdeH"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfICTni (ORCPT + 99 others); Tue, 3 Sep 2019 15:43:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:44002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbfICTnh (ORCPT ); Tue, 3 Sep 2019 15:43:37 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 701C02087E; Tue, 3 Sep 2019 19:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567539816; bh=siTmQhPkETqtbp5xDiGVSXlWmbm3jkAo5QqPaZswdwk=; h=Date:From:To:Subject:References:In-Reply-To:From; b=ftd/sdeH/M6lJzdqOq62eLGH9vEdeGeIY6gCxaTCsad8bcSKQ3l6DcvwdyyGereNS iveyAkOm/u8ZHgtLYM3G6eewK6WQ6XJnNU9T2SYEJ2cgRrUlagtGYQK3K/aj2PcpFm bgmmvk0tLXnQpZCOGb7YsMYOyuvl33mfNlTR0MtE= Date: Tue, 3 Sep 2019 15:43:35 -0400 From: Sasha Levin To: Doug Anderson , Jarkko Sakkinen , LKML , "# 4.0+" , Vadim Sukhomlinov , linux-integrity@vger.kernel.org, Jason Gunthorpe Subject: Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations Message-ID: <20190903194335.GG5281@sasha-vm> References: <20190903162519.7136-1-sashal@kernel.org> <20190903162519.7136-126-sashal@kernel.org> <20190903165346.hwqlrin77cmzjiti@cantor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190903165346.hwqlrin77cmzjiti@cantor> 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 Tue, Sep 03, 2019 at 09:53:46AM -0700, Jerry Snitselaar wrote: >On Tue Sep 03 19, Doug Anderson wrote: >>Hi, >> >>On Tue, Sep 3, 2019 at 9:28 AM Sasha Levin wrote: >>> >>>From: Vadim Sukhomlinov >>> >>>[ Upstream commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 ] >>> >>>TPM 2.0 Shutdown involve sending TPM2_Shutdown to TPM chip and disabling >>>future TPM operations. TPM 1.2 behavior was different, future TPM >>>operations weren't disabled, causing rare issues. This patch ensures >>>that future TPM operations are disabled. >>> >>>Fixes: d1bd4a792d39 ("tpm: Issue a TPM2_Shutdown for TPM2 devices.") >>>Cc: stable@vger.kernel.org >>>Signed-off-by: Vadim Sukhomlinov >>>[dianders: resolved merge conflicts with mainline] >>>Signed-off-by: Douglas Anderson >>>Reviewed-by: Jarkko Sakkinen >>>Signed-off-by: Jarkko Sakkinen >>>Signed-off-by: Sasha Levin >>>--- >>> drivers/char/tpm/tpm-chip.c | 5 +++-- >>> 1 file changed, 3 insertions(+), 2 deletions(-) >> >>Jarkko: did you deal with the issues that came up in response to my >>post? Are you happy with this going into 4.19 stable at this point? >>I notice this has your Signed-off-by so maybe? >> > >I think that is just the signed-off-by chain coming from the upstream patch. >Jarkko mentioned getting to the backports after Linux Plumbers, which is next week. Right. I gave a go at backporting a few patches and this happens to be one of them. It will be a while before it goes in a stable tree (probably way after after LPC). -- Thanks, Sasha