Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5088745rwl; Wed, 28 Dec 2022 12:51:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXsW6TJ7ShgYxyKVtm1M87YlbQiJrQPaldqlSzFOW1C7O1BDSWh7hyxqvVf+b97+wKDNvU+z X-Received: by 2002:a17:90a:8a91:b0:223:ed95:656d with SMTP id x17-20020a17090a8a9100b00223ed95656dmr29085313pjn.19.1672260685110; Wed, 28 Dec 2022 12:51:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672260685; cv=none; d=google.com; s=arc-20160816; b=KT3UBtPDYVS+z4SmIIUwYNx3xkiogXO86l314Lvn1OnbOYM7Dbn7jszVjxNTPmwaP6 1yA9n9x1uDucK++q4IU1RwTANPZgyyGGkJlpwLG0m5LavsdnVJCUnhvUL0swDvNx0p18 xQLlPLnv7iguGOtBMbQKg5sqHYAd88NSmmSj8iB+Uy43xRHlkpbrYXT4rc40LzRYB4LD foWMCgxU9aO19TmewhBXvzH8Z9zthkpjIThrV8EwRVbtnyHIK/vE2wpL0Ri2aGMXeMvh Cu0/9Ne6rZhjpL843JcifufIglD/cVglMX+OdVz0Mqe6OGBEJW/yNhbhRRqGpAQo6sLn LgIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=PNZQeMoVy7KGBZd3TY/hjBMsT8Wahi2q2P3jL0HXUCM=; b=AjgvVCgdchoZ2CUeJ9S9nBaXHm2VQ0+AjnwKup/f7tcWhsvZuUvqB9Pn1e8wUQrGns 2ldMY4WBydtkOL/n8czgBKaBo8XZyE1veJYIEQjsWCbrbtKMZbr/wyvVlI6+yhNK9GZ3 8dLiGnCXaQU8YlBJaZvIyrs+PhjK9T3AJa0Npw4GdVYd8mXQDvw6f5cGAedkEMTfMiee ryiRALF47Y2Hx7yMb3TG8y2vlv/xepE6jFMmxSv/5MHPCN5KU9Y5I607e1rYI4Ln9GsD fIkOPckg9HJEOOUOxYfK1KwI8Vqfr9ExSf+VfDr5J1aKj5PNglUJeYslx3eWFGHff19z nQtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=tM2qJZhf; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=FXKd3ScY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lr3-20020a17090b4b8300b00213dce992c1si18849365pjb.7.2022.12.28.12.51.16; Wed, 28 Dec 2022 12:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=tM2qJZhf; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=FXKd3ScY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbiL1UYu (ORCPT + 62 others); Wed, 28 Dec 2022 15:24:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbiL1UYs (ORCPT ); Wed, 28 Dec 2022 15:24:48 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6548B1573E; Wed, 28 Dec 2022 12:24:47 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BBA5C21A21; Wed, 28 Dec 2022 20:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1672259084; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PNZQeMoVy7KGBZd3TY/hjBMsT8Wahi2q2P3jL0HXUCM=; b=tM2qJZhfi+SXzV27m5JEZd9GV5wClY52zAhFoccQlN8dpIzzvNouvfILmLE8cQzFBjYvVM Up8RcjucQd8KQncfBVF95Rg7GDne7MDMkFzQrY7GZqjh3YsvAq3svw8ba8J0AJSonHr6nO /18RRjOBU7cGfGUGEH/FzUPKCKsWyxI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1672259084; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PNZQeMoVy7KGBZd3TY/hjBMsT8Wahi2q2P3jL0HXUCM=; b=FXKd3ScYdOkNc6F3uKQe/h4ql4UCQ6G+bOr0MMaKzWX4QuYZRE2kDI+6DyTGkmuOehsMUE pbMZ/jPF58AUBODw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6F496134F5; Wed, 28 Dec 2022 20:24:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6y7VGQymrGNrRQAAMHmgww (envelope-from ); Wed, 28 Dec 2022 20:24:44 +0000 Message-ID: <7cbe96cf-e0b5-ba63-d1b4-f63d2e826efa@suse.cz> Date: Wed, 28 Dec 2022 21:22:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 From: Vlastimil Babka Subject: [REGRESSION] suspend to ram fails in 6.2-rc1 due to tpm errors To: Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Jan Dabros Cc: regressions@lists.linux.dev, LKML , linux-integrity@vger.kernel.org, Dominik Brodowski , "Jason A. Donenfeld" , Herbert Xu , Linus Torvalds Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ugh, while the problem [1] was fixed in 6.1, it's now happening again on the T460 with 6.2-rc1. Except I didn't see any oops message or "tpm_try_transmit" error this time. The first indication of a problem is this during a resume from suspend to ram: tpm tpm0: A TPM error (28) occurred continue selftest and then periodically tpm tpm0: A TPM error (28) occurred attempting get random and further suspend to ram attempts fail: tpm tpm0: Error (28) sending savestate before suspend tpm_tis 00:08: PM: __pnp_bus_suspend(): tpm_pm_suspend+0x0/0x80 returns 28 tpm_tis 00:08: PM: dpm_run_callback(): pnp_bus_suspend+0x0/0x10 returns 28 tpm_tis 00:08: PM: failed to suspend: error 28 PM: Some devices failed to suspend, or early wake event detected Unfortunately I doubt I would be able to bisect it as any "good" kernel might be a false negative. [1] https://lore.kernel.org/all/c5ba47ef-393f-1fba-30bd-1230d1b4b592@suse.cz/ #regzbot introduced: v6.1..v6.2-rc1