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 <apro...@chromium.org> > Cc: Duncan Laurie <dlau...@chromium.org> > Cc: Jason Gunthorpe <j...@ziepe.ca> > Cc: Arnd Bergmann <a...@arndb.de> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Guenter Roeck <gro...@chromium.org> > Cc: Alexander Steffen <alexander.stef...@infineon.com> > Signed-off-by: Stephen Boyd <swb...@chromium.org>
LGTM Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> /Jarkko