From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5A9FC2D0C9 for ; Fri, 13 Dec 2019 00:17:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA3FA206E2 for ; Fri, 13 Dec 2019 00:17:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731428AbfLMARj (ORCPT ); Thu, 12 Dec 2019 19:17:39 -0500 Received: from mga06.intel.com ([134.134.136.31]:18547 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730882AbfLMARi (ORCPT ); Thu, 12 Dec 2019 19:17:38 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN 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; 12 Dec 2019 16:17:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,307,1571727600"; d="scan'208";a="415463764" Received: from dwidzins-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.21.195]) by fmsmga006.fm.intel.com with ESMTP; 12 Dec 2019 16:17:32 -0800 Date: Fri, 13 Dec 2019 02:17:31 +0200 From: Jarkko Sakkinen To: Guenter Roeck Cc: Sasha Levin , linux-kernel , "# v4 . 10+" , Stephen Boyd , Andrey Pronin , Duncan Laurie , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , Guenter Roeck , Alexander Steffen , Heiko Stuebner , linux-integrity@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.4 277/350] tpm: Add a flag to indicate TPM power is managed by firmware Message-ID: <20191213001654.GD7854@linux.intel.com> References: <20191210210735.9077-1-sashal@kernel.org> <20191210210735.9077-238-sashal@kernel.org> <20191211175651.GK4516@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Dec 11, 2019 at 10:05:52AM -0800, Guenter Roeck wrote: > On Wed, Dec 11, 2019 at 9:57 AM Jarkko Sakkinen > wrote: > > > > On Tue, Dec 10, 2019 at 01:32:15PM -0800, Guenter Roeck wrote: > > > On Tue, Dec 10, 2019 at 1:12 PM Sasha Levin wrote: > > > > > > > > From: Stephen Boyd > > > > > > > > [ Upstream commit 2e2ee5a2db06c4b81315514b01d06fe5644342e9 ] > > > > > > > > On some platforms, the TPM power is managed by firmware and therefore we > > > > don't need to stop the TPM on suspend when going to a light version of > > > > suspend such as S0ix ("freeze" suspend state). Add a chip flag, > > > > TPM_CHIP_FLAG_FIRMWARE_POWER_MANAGED, to indicate this so that certain > > > > platforms can probe for the usage of this light suspend and avoid > > > > touching the TPM state across suspend/resume. > > > > > > > > > > Are the patches needed to support CR50 (which need this patch) going > > > to be applied to v5.4.y as well ? If not, what is the purpose of > > > applying this patch to v5.4.y ? > > > > > > Thanks, > > > Guenter > > > > Thanks Guenter. I think not. > > > Thought so. In that case this patch should be dropped. > > Guenter I fully agree with you. /Jarkko