Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3878522yba; Tue, 9 Apr 2019 06:43:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUDUjbNbW9PUk8iyedo+3pJZoJvpW4i16Zj7PkM8eWR53g6T4gMD6sFIEJz5UD5eZQIYxh X-Received: by 2002:a17:902:854c:: with SMTP id d12mr37734613plo.150.1554817400797; Tue, 09 Apr 2019 06:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554817400; cv=none; d=google.com; s=arc-20160816; b=IuqG920C6d+ShaJYPtOwlTxiHfdL3jnkYn9yPMe3WvdHGGbu49OUh+ajEBjQ+12yy7 B+q9QA0r2+bjkMvqdR4wrza4Ts6K6sqqsIbfYikX+0PM2PM6WQ6oNvF5pAxYGK07f9dr 6mfPHtMfxO/VBO/JEp1W1FNJ7S28OcVdRnGF84gO/wRKcb7396YT3e3BH1mrnnrJwjUQ eWUjoF/zGovBNKeUWN5EWYyKTmanAqFm7zmKxCzhcj/985Yq3U6CrtvpTZGXW1VtQA6F v9uPoas4W1tryJBkGgoWttXaOegVtQ7zea3+fNo1up5/LyNCFz//sV53/jdOjC/sRM+s iDFg== 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=j2Z1Gkrab7YnqK/ZZwbpLHaB2FxMuYWLdCBbMlvf0WQ=; b=FTOd+ApxWwKzXZN157I0/otC+cTQDyZ/MzylkFZUAE+cePBgDYspac0MHAKFaEiBtN YHKFpLXQQ0WfSLlFUb6ybfLyxhNxB5RpNOdJlcaRo2XYgtQJl9iernt/viHNpV64IHCc v5vGEMF2AfJtXj1UJiKU+AmhUchcU/BGcSsd6DLemow5TfK/6pyJzus4jQ5frM/J5uX5 uyi2amR2zAqlKGe5pFAVf2Sj1N2NQDFFT7oEpCIrgHAXwH1Sy2Lgp9kK8UvlARJipOTj Nep7G6ConQnc+HEZyiuusDSNz3Cr2SXI49GfaPj34UsLt9xhYQTzsehidXZI9wFGnt13 d/1g== 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 h191si11581083pge.342.2019.04.09.06.43.04; Tue, 09 Apr 2019 06:43:20 -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 S1727311AbfDINl5 (ORCPT + 99 others); Tue, 9 Apr 2019 09:41:57 -0400 Received: from mga06.intel.com ([134.134.136.31]:55665 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfDINl5 (ORCPT ); Tue, 9 Apr 2019 09:41:57 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 06:41:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,329,1549958400"; d="scan'208";a="335177220" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.55.112]) by fmsmga006.fm.intel.com with ESMTP; 09 Apr 2019 06:41:42 -0700 Date: Tue, 9 Apr 2019 16:41:41 +0300 From: Jarkko Sakkinen To: Martin Kepplinger Cc: Paul Zimmerman , Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Regression in suspend-to-ram (TPM related) with 5.1-rc1 (BISECTED) Message-ID: <20190409134141.GB9759@linux.intel.com> References: <20190321134140.GA4603@linux.intel.com> <31f75727-d2c3-1afa-ab14-1dbc62a6315b@ginzinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31f75727-d2c3-1afa-ab14-1dbc62a6315b@ginzinger.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, Apr 08, 2019 at 07:53:34AM +0200, Martin Kepplinger wrote: > On 21.03.19 14:41, Jarkko Sakkinen wrote: > > On Tue, Mar 19, 2019 at 04:03:37PM -0700, Paul Zimmerman wrote: > >> So I bisected this down to: > >> > >> # first bad commit: [a3fbfae82b4cb3ff9928e29f34c64d0507cad874] tpm: > >> take TPM chip power gating out of tpm_transmit() > >> > >> but this doesn't revert cleanly on Linus' HEAD. Anyone have an idea what > >> could be wrong here? > > > > Sorry I've been in flu for the early week. I spotted the bug > > immediately. When I did these patches I did not have TPM 1.x at my > > hand. I used fTPM 2.0 and dTPM 2.0. Stefan did TPM 1.x testing but I > > probably forgot to ask him to try out suspend. > > > > Anyway, the bug is obvious and I'll send you a patch to try out. > > Thanks a lot for bisecting this! > > > > /Jarkko > > > > > Hi, > > Any news on this? It seems not to be fixed in -rc4. I'd happily test a > patch too. > > thanks a lot, > > martin I sent a PR to James last week with the fix. Probably has not landed yet. https://lore.kernel.org/linux-integrity/20190329115544.GA27351@linux.intel.com/ /Jarkko