From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751346AbdLUIFA (ORCPT ); Thu, 21 Dec 2017 03:05:00 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:32832 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750948AbdLUIE6 (ORCPT ); Thu, 21 Dec 2017 03:04:58 -0500 X-Google-Smtp-Source: ACJfBou0URdoFN90xDLVrwDqRuId9lHG+9mWWUGqFJHKQRU4uosj+VAChw/AVQ6idPcK4VZiBWcXETJfO4Bz9S0zR8M= MIME-Version: 1.0 From: Chris Chiu Date: Thu, 21 Dec 2017 16:04:56 +0800 Message-ID: Subject: TPM driver breaks S3 suspend To: peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgg@ziepe.ca, linux-integrity@vger.kernel.org, Linux Kernel , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, We have a desktop which has S3 suspend (to RAM) problem due to error messages as follows. [ 198.908282] tpm tpm0: Error (38) sending savestate before suspend [ 198.908289] __pnp_bus_suspend(): tpm_pm_suspend+0x0/0x160 returns 38 [ 198.908293] dpm_run_callback(): pnp_bus_suspend+0x0/0x20 returns 38 [ 198.908298] PM: Device 00:0b failed to suspend: error 38 However, the first suspend after boot is working although it still shows an interesting message during resume. [ 155.789945] tpm tpm0: A TPM error (38) occurred continue selftest The error code 38 in definition is TPM_ERR_INVALID_POSTINIT. I found some explanations which said this error code means that this command was received in the wrong sequence relative to a TPM_Startup command. Don't really know what happens here and how should I deal with this? Any suggestions? Please let me know what else information should I provide. Thanks Chris