Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7942228rwr; Wed, 10 May 2023 15:13:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LBn1bFzby1LHS9SlPHVQoMfTxVpsoeESF7iPcIXlGaWllBYLGdWYpdILWx4b+/+kq0Ivk X-Received: by 2002:a05:6a00:2392:b0:645:ac97:5295 with SMTP id f18-20020a056a00239200b00645ac975295mr16498146pfc.9.1683756813043; Wed, 10 May 2023 15:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683756813; cv=none; d=google.com; s=arc-20160816; b=ATOfU/7Nx7xTmOlLsk1DsufNRsmrD1VGH7JRdmGrBScpPusAeEu7QvBabFKwIhAs1k 2DSi/3GJvVvA6tDUAfb5ndC43wm9Aaq8GwYIH96Da1C/pkYjsMrNooyS+9LmkJtHwnO6 W4fNeYmXhViktL2MFEbg4+0G5BV2/YsNFXOw/xc6X9El1LcowV+LOyMGgCg9B40WgGxS Hc71dhAgTa/bRPooCmLWljv7OZKGOpBNWyCQA+V6tBuOKS1E+15KLnJ0wHuN/XxrzWh1 txO6qdJps0Vhh6HhTrLZUIJVWE4TwSbrHFHnm1jEZuvqWmMUBxpk3aLjAkZ8+qgq1hus zX6g== 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:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=1bDzh6ersOGJxndFvMhrxZnGrOK+34QUS3Ly6iZ4gk4=; b=ELAJCQste+OjH7dMArjtKmC3ueiCQC5UAf8pLXOhQSBdej4R5hmypabDNCve8c4OR0 MpQQjvKssP2zODcG55vN8y9Jv2Qi1a22aUXUUcYC7RqmkUIgXiZh6maWIE+Eyq1MZBVC ix0yjFp78Rb9srhS/pmBn3K6pW9fIW67rXM2eBzIN5RHmhuWOUIXwzypkpkNtNwqZIce 2dOvFoDLY6mDPuoMLkMMap/XZk0VV3R4vP0Lf0TEANSccccehIZMbDR4BN3DzQEySenP Xb746+mKMT5iIGGGup6LRaIFl+fkLCW3axZ+keLXfxf/u64UFOfnjtk5f+7c9bGIqK9u PD8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYyVUBEP; 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 l128-20020a622586000000b00643aa8d8cb7si5822553pfl.185.2023.05.10.15.13.20; Wed, 10 May 2023 15:13:33 -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=sYyVUBEP; 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 S236082AbjEJWGt (ORCPT + 99 others); Wed, 10 May 2023 18:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjEJWGn (ORCPT ); Wed, 10 May 2023 18:06:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9A0E5B; Wed, 10 May 2023 15:06:42 -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 3B4B0636BC; Wed, 10 May 2023 22:06:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71E50C433D2; Wed, 10 May 2023 22:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683756401; bh=1bDzh6ersOGJxndFvMhrxZnGrOK+34QUS3Ly6iZ4gk4=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=sYyVUBEPapnvu/0Xegq9d7+1bb7lPbJhI8bdEd4srxvx9w45LIAa0NdwhjGadgeJT 1g9D/CmE/CAFuvp4rqI/GvPgMukEvMBAhEFmJkFAJZqWKW+Fzq7tyYs6xdsO0ENkeE W9zvGVpohwt8IfPK5tiSj1SDoZC6fWnYsuHki1kQftb+p48E3HainY5OGj+PHZGxBJ v7ONaJShZK+xrUywCftVp1g/Ky3kDwZM/LC/YC33lWdg0PhdjWzn1snsQujtB0pDUV theFABnmlOfi3zGQQexwodkBszjw2zD7qaBcw+t1e+k72qEYpO90E0dg1DgzpUL21f QimqqcmQDFDEA== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 11 May 2023 01:06:38 +0300 Message-Id: Cc: "Jason A . Donenfeld" , "Jason Gunthorpe" , "Jerry Snitselaar" Subject: Re: [PATCH v2 0/2] Fix TPM 1.2 resume From: "Jarkko Sakkinen" To: "Vlastimil Babka" , , X-Mailer: aerc 0.14.0 References: <20230502011558.10743-1-jarkko@kernel.org> <6b03aaf5-2017-a0c9-9c84-c8ee2aa4ba0e@suse.cz> In-Reply-To: <6b03aaf5-2017-a0c9-9c84-c8ee2aa4ba0e@suse.cz> X-Spam-Status: No, score=-7.1 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 Tue May 2, 2023 at 10:37 AM EEST, Vlastimil Babka wrote: > On 5/2/23 03:15, Jarkko Sakkinen wrote: > > During TPM 1.2 resume, the first PCR read operation used inside > > tpm1_do_selftest() fails. Fix the bugs preventing resume from working. > > Thanks for fixing this, unfortunately I can no longer test the fix as I'v= e > got a new laptop since when I was hitting the bug on the older one. I don't think these fixed make things worse, and I could reproduce the bug locally, so I'll put them to my PR :-) BR, Jarkko