From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C022D2918 for ; Sun, 23 Apr 2023 15:34:21 +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== Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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: 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