From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F00EBC77B60 for ; Sun, 23 Apr 2023 15:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbjDWPeZ (ORCPT ); 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: Precedence: bulk List-ID: X-Mailing-List: linux-integrity@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