Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4591240rwr; Sun, 23 Apr 2023 08:43:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aCd2P+g+pFBrz8v2szf7lnHykyRj4Is/JjwBMn/nyJu85YC7VzunK49oh7+8dBQQqFCEUJ X-Received: by 2002:a05:6a00:2305:b0:63d:287f:fdf5 with SMTP id h5-20020a056a00230500b0063d287ffdf5mr14397765pfh.27.1682264597477; Sun, 23 Apr 2023 08:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682264597; cv=none; d=google.com; s=arc-20160816; b=iTQ3j3Me4zZYtNOV2swGBbrj8U4oAWkNWl57wWSwKZvCxedCTjUkiU8cBcraljATFS ASTaU18wqd9yGD3ADaucGIjec5Oq3y8Pm1f9qgnvAFzFvUNpFZjuz6RE5dtZkZHAsUww 1r+32mEBwGBWJI/fCI3CPrVnj5Btl2dRhjouJ4bhaai7dgs1dWeELZT/vHBfZcR17qUT 8MbViYfG1zxR9QTXLBIvP+hJMq+xc2kOZAaUR5H4/obhMU6vaFEYsfdbYjDJG7Om+jTG C/7i3ITrcmR+zdGkug5wdY/71W/vHkfx7TcaXNHIn3akGpjnBqklAu4S32huFras4C5j dzjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:cc:to:from:subject :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=xp8nnUmdF2oYe6j/37sUSatOt2cJfegS0GpIhI5IfnM=; b=BVfgXJ5MbOH3bnfGsJejwF+B2Ceq6Ubvi1Xe7ME6aBmitbqZswI2LJsYcaox7rifw/ gwVGwYvdPnaMgXujHX/IaK2elD9w6Lhk2vmcAaoHSV7rfNWe/CA3CJDLKpp3d1h3f061 c3YLgLTPba29KhVAbL0TE1tnYopg+qBmKCf1NfFO+25vLDqBr63Rmk8cLn5w8+1WTtxc 51/h+xBd2iSTg/MFBJyTFGdbM1VJBZRhAM1Nmbge3pKgcILX2NESndPFxMLb6o15N7eP 0PBu+qaFQAWleIziaOk+IQV4Mz2KFe+ymdZjweia+Ra3VTWtw+/RpmoB/pWtorPXg3pt FWMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=slZTVFbL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 132-20020a63018a000000b0050f89421524si8551453pgb.319.2023.04.23.08.43.06; Sun, 23 Apr 2023 08:43:17 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=slZTVFbL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229797AbjDWPeZ (ORCPT + 99 others); Sun, 23 Apr 2023 11:34:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjDWPeX (ORCPT ); Sun, 23 Apr 2023 11:34:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B56CB10EC; Sun, 23 Apr 2023 08:34:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0882C60F89; Sun, 23 Apr 2023 15:34:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA166C433EF; Sun, 23 Apr 2023 15:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682264061; bh=DuWcZ8Ufpqix6AGju65ri+2BRYftUvhxEIwzm6NEAso=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=slZTVFbLQyx6CNX8Li67ohcNIbdE533otTVdexrwqUOsdpTxpVagp2SofdXZxRdI2 nJV4+Wsyl0Sqrq+ltn5X8F2Tda/fGEerUPQs9s3NmLsxQj+mP2xjx2tGZiw+QjQk3a ScLwJWffrrBMkvAtA8Bt02F71ksoCF/jdI3Q1dds5WSNqF8GEWuBhzmUUXxZ8dqH5v G9UMPERRRfbwFyu1mxvdxJrQo2XHdsm7TWXJPe9CXFNv/sTZrk+zD2qghphOXTRy5L FlDow6mGoU0EptwYca2lF1UEgVglYS6wq+UBFjN2Ixtdmc6uygaFht8T9UVjlZCY38 KmNVBSNT/cDEg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 23 Apr 2023 18:34:16 +0300 Message-Id: Subject: Re: [REGRESSION] suspend to ram fails in 6.2-rc1 due to tpm errors From: "Jarkko Sakkinen" To: "Jason A. Donenfeld" Cc: "Thorsten Leemhuis" , "James Bottomley" , "Vlastimil Babka" , "Peter Huewe" , "Jason Gunthorpe" , "Jan Dabros" , , "LKML" , , "Dominik Brodowski" , "Herbert Xu" , "Linus Torvalds" , "Johannes Altmanninger" X-Mailer: aerc 0.14.0 References: <7ebab1ff-48f1-2737-f0d3-25c72666d041@leemhuis.info> <4268d0ac-278a-28e4-66d1-e0347f011f46@leemhuis.info> In-Reply-To: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri Apr 21, 2023 at 9:27 PM EEST, Jason A. Donenfeld wrote: > Did you use the patch I sent you and suspend and resume according to > the instructions I gave you? If not, I don't have much to add. Finally, I got it reproduced at my side with TPM 1.2: [ 0.379677] tpm_tis 00:00: 1.2 TPM (device-id 0x1, rev-id 1) [ 32.453447] tpm tpm0: tpm_transmit: tpm_recv: error -5 [ 33.450601] tpm tpm0: Unable to read header [ 33.450607] tpm tpm0: tpm_transmit: tpm_recv: error -62 I'll look at this further after I've sent v6.3 PR. BR, Jarkko