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=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 272BFC3A589 for ; Thu, 15 Aug 2019 20:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F385B2083B for ; Thu, 15 Aug 2019 20:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731303AbfHOUfc (ORCPT ); Thu, 15 Aug 2019 16:35:32 -0400 Received: from mga06.intel.com ([134.134.136.31]:35640 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731270AbfHOUfc (ORCPT ); Thu, 15 Aug 2019 16:35:32 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2019 13:34:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,389,1559545200"; d="scan'208";a="176982161" Received: from kropac-mobl.ger.corp.intel.com (HELO localhost) ([10.252.52.236]) by fmsmga008.fm.intel.com with ESMTP; 15 Aug 2019 13:34:34 -0700 Date: Thu, 15 Aug 2019 23:34:33 +0300 From: Jarkko Sakkinen To: Stephen Boyd Cc: Peter Huewe , linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, Andrey Pronin , Duncan Laurie , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , Guenter Roeck , Alexander Steffen Subject: Re: [PATCH v4 1/6] tpm: Add a flag to indicate TPM power is managed by firmware Message-ID: <20190815203433.fygcoj3arv5tpoz5@linux.intel.com> References: <20190812223622.73297-1-swboyd@chromium.org> <20190812223622.73297-2-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812223622.73297-2-swboyd@chromium.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Mon, Aug 12, 2019 at 03:36:17PM -0700, Stephen Boyd wrote: > 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. > > Cc: Andrey Pronin > Cc: Duncan Laurie > Cc: Jason Gunthorpe > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Alexander Steffen > Signed-off-by: Stephen Boyd LGTM Reviewed-by: Jarkko Sakkinen /Jarkko