Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679976

Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation
Date 2017-07-03 15:00 +0200
Message-ID <tZ97j-1Az-13@gated-at.bofh.it> (permalink)
References <tWVUR-7zY-1@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Tue, Jun 27, 2017 at 12:27:23PM +0200, Enric Balletbo i Serra wrote:
> Add a new powered-while-suspended property to control the behavior of the
> TPM suspend/resume.
> 
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
> Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
> Changes since v3.
>   - Rebased on top of linux-next
>  Rob Herring
>   - Split DT binding from code patch as is preferred. 
> 
> Did not exist on previous versions.
> 
>  Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt
> index 8cb638b..85c8216 100644
> --- a/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt
> +++ b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt
> @@ -8,6 +8,12 @@ Required properties:
>                     the firmware event log
>  - linux,sml-size : size of the memory allocated for the firmware event log
>  
> +Optional properties:
> +
> +- powered-while-suspended: present when the TPM is left powered on between
> +                           suspend and resume (makes the suspend/resume
> +                           callbacks do nothing).
> +
>  Example (for OpenPower Systems with Nuvoton TPM 2.0 on I2C)
>  ----------------------------------------------------------
>  
> -- 
> 2.9.3
> 

So... should I apply this?

/Jarkko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-06-27 12:30 +0200
  [PATCH v4 RESEND 2/2] tpm: do not suspend/resume if power stays on Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-06-27 12:30 +0200
    Re: [PATCH v4 RESEND 2/2] tpm: do not suspend/resume if power stays  on Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-07-03 15:10 +0200
  Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add  powered-while-suspended binding documentation Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-07-03 15:00 +0200
    Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended  binding documentation Sonny Rao <sonnyrao@chromium.org> - 2017-07-05 19:20 +0200
      Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add  powered-while-suspended binding documentation Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-07-09 09:10 +0200
      Re: [PATCH v4 RESEND 1/2] Documentation: tpm: add  powered-while-suspended binding documentation Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-07-16 13:30 +0200

csiph-web