Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3879587yba; Tue, 9 Apr 2019 06:44:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqytWJPeRPFhniYdlpHE/jHyF8Iyw1mIMOARY3LSQDyuzAvt6LVUBuztkzyxdInzAww0U+hH X-Received: by 2002:a63:b03:: with SMTP id 3mr35377225pgl.267.1554817484571; Tue, 09 Apr 2019 06:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554817484; cv=none; d=google.com; s=arc-20160816; b=W7j1SUqqRHoGryFNvgM/cq2RXlFAyN4H03gT1TAyuvyLg39KUTMP9aK5KDu8xsYMQS lV7dnZ34oxYPm9AdyTqt9QccUxohHFZj1XBGj2deDVxWmIMeo1cFmCPsBLJJ4bfkCAWl 1LJILKo6gHbZ9Q7a4RaiqwlTxanUIsAfnOCxdHTmbHPFUALKo6pgBQnepLbnE74IgqKn 6+EJ5P239Ofkp8F+Q7s46tYE1e/yNNOVyk+BbQMz0333THdlyVjns8GdBN6pZm6jDCOz irxFZ3VOC1+Kg41rXv/TDo2EKQqP2Q2mBGO1dnRp1neZegG1UH+ZXOaFZLzCe7j7H41L fRwA== 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=vrjk6oRLrUqN49CBAo83xzsjG/oJv28gcCNm4ADcRyE=; b=YBQpGhSfY8ZO9MiLRrWyxG5zzyZALdTlVvC2KW9RUaqCeKHZiHUbjbLP/wfddxO5eA yszxH3Csxq5F82vTjd5Nxfciz4C1Qis7sE/jVYv5YUlpUnZ8YeOMko6UP4LGo0cRg2FI FnXSkM0An/lmqS/EZEC26YZ3Ltej83aYeErSj/CsgKaluGZ+ouaMr+pSTEjERGrGJXcK IPUQq/+GkMZYOYj3/pOqoqDCXnrzVy9Ub7wSMiUSkWilgfcAXe0srg7OSP/+5KUuSbWa bFzYl5pKL159Uc1X62YGbZHGmdql+/ldJkHcBEiT03bdxzEB7KG7eKVARNN/WUZuSzr4 3eSg== 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 f9si28154797pgq.347.2019.04.09.06.44.29; Tue, 09 Apr 2019 06:44:44 -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 S1727226AbfDINmf (ORCPT + 99 others); Tue, 9 Apr 2019 09:42:35 -0400 Received: from mga03.intel.com ([134.134.136.65]:53780 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbfDINmf (ORCPT ); Tue, 9 Apr 2019 09:42:35 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 06:42:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,329,1549958400"; d="scan'208";a="335177363" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.55.112]) by fmsmga006.fm.intel.com with ESMTP; 09 Apr 2019 06:42:33 -0700 Date: Tue, 9 Apr 2019 16:42:31 +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: <20190409134231.GC9759@linux.intel.com> References: <20190321134140.GA4603@linux.intel.com> <31f75727-d2c3-1afa-ab14-1dbc62a6315b@ginzinger.com> <233f44c3-9837-5da5-7d4c-8c0acff11e19@ginzinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <233f44c3-9837-5da5-7d4c-8c0acff11e19@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 11:04:22AM +0200, Martin Kepplinger wrote: > On 08.04.19 08:59, Paul Zimmerman wrote: > > On Sun, Apr 7, 2019 at 10:53 PM 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. > >> > > Hi Martin, > > Patch is here: https://patchwork.kernel.org/patch/10865495/ > > Don't know what the status of it is though. > > > > -- Paul > > > > thanks. lgtm. > > Tested-by: Martin Kepplinger Thank you for testing this. Unfortunately it is already pulled so cannot add new tags. /Jarkko