Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5975837ybe; Tue, 10 Sep 2019 11:36:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzV/jO3wRueifCsaRxz6T9XvLlD0BffPYxP22sRyJvyOm75pSu+unpiTfAJUBWBH/xLm4Rf X-Received: by 2002:a17:906:a3d2:: with SMTP id ca18mr26110028ejb.194.1568140560306; Tue, 10 Sep 2019 11:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568140560; cv=none; d=google.com; s=arc-20160816; b=GWmqsDs33h+amiKSB0pUbNSivqUWyS+d5H7EUwpn+KQHmbh8kpVoOw6YkfkO+zpVXJ pOeF+4EWZ/Op7ZgFdToRj1s6L0naoe2jX4MWK0BxBrLmBAOMAPqf3fb8RwPKb4kAMhuK sZd6P3EE7mo96XVnTFH/Bb5hzrH8HcdpI8TG29LH3hWxg84tkHF6sAwWXCaYsFxnQJPq vE6IHatJ96wSIwEVpkdPraWcmsjKazhFG25elwDEV29TRhSeGY/cUYGw8cPRVbcpaAd1 N88YqGZ7jYgcgoUx//Ze2mTmIUp4otcJooPZwEvVwPCIUHuPhxp0zq5HwPWKsexfBd9t gCsg== 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=Mivr2fG474bhZJ35q8HfS636xrlaTeKjMem6qKefYMw=; b=QbveqnkVt0mrIv4bM+3Us9LU/O72/QSn3Hg89RFqpuyi4UFN3m/YLISfgtjrs/XhB9 uZNVBOodI2h5/8rsqhAa2eo4PaN3C3i0O+x0ED6eTGm7lpNx6iAiCTDn0p1e8u0GGV5v Okyas6BlrlJoWOi/0+hqN0irfVQ6+i38F3jFpWoNTjM6DvyZhv6w/WrSrLz7jqQ0dqvN GCACEvUPIPE2EjnOsmp/QCs8IjZU3iSW6EK4i+01NR1wKTD6u2X83iNs0mX7krddFqla GVYRkCgG4X9khn9fsv8KtkvUQZgOHGeyhklNIZj6Myi7cGfVQBgtQzQG2Ney4aDPiC1n +5NA== 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 e20si10003070ejl.225.2019.09.10.11.35.35; Tue, 10 Sep 2019 11:36:00 -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 S1728650AbfIIQ2O (ORCPT + 99 others); Mon, 9 Sep 2019 12:28:14 -0400 Received: from mga11.intel.com ([192.55.52.93]:61682 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfIIQ2N (ORCPT ); Mon, 9 Sep 2019 12:28:13 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Sep 2019 09:28:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,486,1559545200"; d="scan'208";a="213975881" Received: from pstarove-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.38.118]) by fmsmga002.fm.intel.com with ESMTP; 09 Sep 2019 09:28:09 -0700 Date: Mon, 9 Sep 2019 17:28:08 +0100 From: Jarkko Sakkinen To: Sasha Levin Cc: Doug Anderson , 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: <20190909162808.ggcnrtvbvor7deqy@linux.intel.com> References: <20190903162519.7136-1-sashal@kernel.org> <20190903162519.7136-126-sashal@kernel.org> <20190903165346.hwqlrin77cmzjiti@cantor> <20190903194335.GG5281@sasha-vm> <20190907220448.GB2012@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190907220448.GB2012@sasha-vm> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 07, 2019 at 06:04:48PM -0400, Sasha Levin wrote: > On Sat, Sep 07, 2019 at 09:55:18PM +0300, Jarkko Sakkinen wrote: > > On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: > > > 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). > > > > It *semantically* depends on > > > > db4d8cb9c9f2 ("tpm: use tpm_try_get_ops() in tpm-sysfs.c.") > > > > I.e. can cause crashes without the above patch. As a code change your > > patch is fine but it needs the above patch backported to work in stable > > manner. > > > > So... either I can backport that one (because ultimately I have > > responsibility to do that as the maintainer) but if you want to finish > > this one that is what you need to backport in addition and then it > > should be fine. > > If you're ok with the backport of this commit, I can just add > db4d8cb9c9f2 on top. Sure, I've already gave my promise to do that :-) /Jarkko