Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1873712rwb; Fri, 2 Dec 2022 02:17:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf77Fr6VLr1BKRZxSU9f93njIaFwUrUiQf/bsvXCOv5tHwgES1TRWIH9nLeFX6UeUrhSsDwD X-Received: by 2002:a17:906:524f:b0:7ae:59dd:e3f4 with SMTP id y15-20020a170906524f00b007ae59dde3f4mr48624525ejm.755.1669976223427; Fri, 02 Dec 2022 02:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669976223; cv=none; d=google.com; s=arc-20160816; b=DAhiVemg5ISXveE1PSJTBX8hEbSQVPixWai5UB+7B+TdbnOkcsvatCbR7YLqfKVTHz 5rUS8p9Vdu/GsrRUtgT4ZGvklJPpKEBYF8j3ST2U7H/mKFsxse6iDIVbiBr1Lx94D1CI ZunQSR4u/LAWG6zkp+VoDIXrS3BT26Ln6MGG8SM8cB8ObRTKVvCtcckkxSdB4kxCXqiD YfihIljPzqRYVjQRhU2mIUCCr1cFtZmqTu8A5kDcin1gA4O5iodKoEjFcZjN7lrsZqOr k0oir4BHFsmqw9wPa9TuMaVwNFd+M8qNcrE1csP7hd6pl8Qkigzq6rvDNx33Mmm46P0c I9PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uE3RHUY4qDJsuTo1Mm2gm/Dk1gjThhPaW9LXX2ZWWSs=; b=lGDiVTOHRtcI9r7x71A5dAHWsyqYkOPCnAGRRTciMHDtMlcvDtvYEd6y2pF756WNZv eb5xI2q6hNVhiBdTS8jDy8evSlbxFT1C7kxPwepZLDjCIfh/0VUUOEmF4LcklAqFQc3g 0XFV/h8j4HjFQWDFbbwBfxK0uC9VD/oL7sgaNqmqs56EUBFk3V0AlvQ2wzHHbxdWAosM eUhIT4aTdA7KilSDqhTUGko5KSsoAv0Woj1F4oOF9213DDhryD5YIsjuyu6f1VW4pe/l bsVjuyyz8Ht0qDiorOTqnfWD17gV2IEeXD2kwjyR35OV3AzbZXBvsNGZipwh5396pyPj vo5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=EPaBrLkZ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v18-20020aa7d652000000b0046bb35e06e6si5559024edr.149.2022.12.02.02.16.35; Fri, 02 Dec 2022 02:17:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@semihalf.com header.s=google header.b=EPaBrLkZ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232287AbiLBKKr (ORCPT + 99 others); Fri, 2 Dec 2022 05:10:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbiLBKJu (ORCPT ); Fri, 2 Dec 2022 05:09:50 -0500 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEBCCCFD3 for ; Fri, 2 Dec 2022 02:09:49 -0800 (PST) Received: by mail-yb1-xb2b.google.com with SMTP id z192so5496321yba.0 for ; Fri, 02 Dec 2022 02:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uE3RHUY4qDJsuTo1Mm2gm/Dk1gjThhPaW9LXX2ZWWSs=; b=EPaBrLkZ4fkUP8uopzdMzRKYOxEwG5iHDTNXIJo6PgmsZRA1iyJoLIYSxqm2silPbP newFWO815fXH4pW6+LlOBAbMLwouTSaU0vTKvV/sJOBzWqo/1G8v/STzmF56u1Exm+AH aZ4UVCOu7TgFAM2r+hlUrtQOfkRp1XnEYX7eup1XBXJBTTRKaVdrH3DhCWsat7R90TGX iwR7K7HI4vZO6bkWLbtvGlTxlexPWlM93Y+wuXspHHmMw1IM85Zj/OOx98p+NHHZkzw2 1oPbxzYORPuHQ4AWyG0tLc20X8uOiDPg6uo8c+9OHrdpOdfYyxVhyJEWAFRcgMWL4ETz D8xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uE3RHUY4qDJsuTo1Mm2gm/Dk1gjThhPaW9LXX2ZWWSs=; b=nDaNF8rY10ikBJeygn0acUq97DE6A2rJzBKwh+/9oQKYiDu8e6v0PlTs8u4BwfIq5g pIBBJFzgom+YCAr29BIuBNvXckXQ/LXPbstc1xt5RnzFpORIREJFOTjgdzxHSBw+fAC0 FaC0eqtIw1/zIiSYRvQSkG4/wzv1lKf6MQ5bOS2G1Q9biFoTyvgQlCmqtpcFrTTpag61 /U4B7WSIjr0GoNc9zutB1kd6crujbt7UfkbM0qHeD1qXNp/D8MZa7GMHtnkWidMVmxpR su/BcaL2GwgOyebuosg+uM+olDYEv/HZ0wKPy1tKDeT8/0s3BujeqAtCzY5n2hZRh88Q u8Xw== X-Gm-Message-State: ANoB5pkejXanxoy46RFpIIxf5+Ykmd6ZtqinVxkHMSXiIFAMi7yd+1Hk TzAl8aagolrMGQzolCUzFXoCfuOZMgrGV2wSYNORlw== X-Received: by 2002:a5b:505:0:b0:6e6:6f6e:95ff with SMTP id o5-20020a5b0505000000b006e66f6e95ffmr47433566ybp.582.1669975789182; Fri, 02 Dec 2022 02:09:49 -0800 (PST) MIME-Version: 1.0 References: <20221128195651.322822-1-Jason@zx2c4.com> <9793c74f-2dd0-d510-d8b6-b475e34f3587@leemhuis.info> In-Reply-To: From: =?UTF-8?B?SmFuIETEhWJyb8Wb?= Date: Fri, 2 Dec 2022 11:09:38 +0100 Message-ID: Subject: Re: [PATCH v3] char: tpm: Protect tpm_pm_suspend with locks To: "Jason A. Donenfeld" Cc: Thorsten Leemhuis , Jarkko Sakkinen , peterhuewe@gmx.de, stable@vger.kernel.org, Vlastimil Babka , linux-integrity@vger.kernel.org, jgg@ziepe.ca, gregkh@linuxfoundation.org, arnd@arndb.de, rrangel@chromium.org, timvp@google.com, apronin@google.com, mw@semihalf.com, upstream@semihalf.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-crypto@vger.kernel.org Hi Jason, Thanks for taking care of this! Re 2/3 and 3/3 as you mentioned earlier, will get back to this when I have some bandwidth and send it separately. Best Regards, Jan pt., 2 gru 2022 o 10:46 Jason A. Donenfeld napisa=C5=82(a= ): > > Thanks for handling this, Thorsten. I had poked Jarkko about this > earlier this week, but he didn't respond. So I'm glad you're on the case > now getting this in somewhere. Probably this should make it to rc8, so > there's still one week left of testing it. > > Jason