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 900B7C25B06 for ; Sun, 14 Aug 2022 17:59:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239967AbiHNR7U (ORCPT ); Sun, 14 Aug 2022 13:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiHNR7S (ORCPT ); Sun, 14 Aug 2022 13:59:18 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A4AA23BE7; Sun, 14 Aug 2022 10:59:17 -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 sin.source.kernel.org (Postfix) with ESMTPS id C3253CE0B6B; Sun, 14 Aug 2022 17:59:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD92AC433C1; Sun, 14 Aug 2022 17:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660499954; bh=WUnkyF/jNFURTckY2gWMqvZYLn4P0jY1yB4UNrr5PG8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U0G/IUM2CzBKuMP32GF2DT+SpuIncGNSM+suuHYblDIDY2fPihRaurMmpVkUZvngp S74HNwTNETAdQS9b3P++XwJUBRZ8ROSQURUoXwhKxW3TSAxkhRPkiQbxydz5nlYg8a BBtUqhH1dWa6TdIWyk6qRcxsvr3Snx+xh6fEaubt8oYZx8/evaW/vV7Mv9r2u9bagU blTyOdDObZPQaZck18EqfU5hR+q0b5O1dXaCCvmfMAfDP5eXhpp5rH3cHwFtzjeuZC VY7I+VPpMfR1KywGhWKk+WPzWRO4ug8kTVen4NcY3dYETebpxiyKypFE8TPkxvEuoD vSF6PvlXaKYow== Date: Sun, 14 Aug 2022 20:59:10 +0300 From: Jarkko Sakkinen To: Sven van Ashbrook Cc: Peter Huewe , Jason Gunthorpe , Hao Wu , Yi Chou , Andrey Pronin , James Morris , stable@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: fix potential race condition in suspend/resume Message-ID: References: <20220809193921.544546-1-svenva@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 11, 2022 at 09:09:38AM -0400, Sven van Ashbrook wrote: > On Thu, Aug 11, 2022 at 1:02 AM Jarkko Sakkinen wrote: > > > > What about adding TPM_CHIP_FLAG_SUSPENDED instead? > > Thank you for the feedback, Jarkko. After thinking this over, I > believe this patch only moves kernel warnings around. Will re-post > soon with a fresh approach, intended to fix the underlying issue > rather than the symptom. > > So please disregard this patch. np BR, Jarkko