Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4399717rwd; Tue, 30 May 2023 05:05:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ty5h1/RbnGPzszEK0LzTVtuCjdaOzdwvvVliI/woGGB3muk/T3NVXm1Vru912ZjwfNJ16 X-Received: by 2002:a17:90b:3908:b0:256:48a5:4fd0 with SMTP id ob8-20020a17090b390800b0025648a54fd0mr2420713pjb.1.1685448345997; Tue, 30 May 2023 05:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685448345; cv=none; d=google.com; s=arc-20160816; b=iUod8++FOILJwrXBO1WqiU0UTGFPj/861VK3a2tI4PKVBnLVK7ir11M+WzYYuRiYer 8eBZplXoXtBSrnKXfr+J5pzwnlHJpvJPR/iDkYcqTSulMgLrZrSU0ohEYdOqna0TpOXF VOTPk/kHVlfr+/yk9+AGQVIEci7P2ON+dk+vi2ShyR8FLJQAuSuO7Pb4nt6Z9gRd5nSn yZ4UA5QqxNb45gRQxnKKCcSIHr5JC+zKa77k5WK5Dmglak8e0SVhb+SjYRuZLl6dMTF0 5gvTAqdJFN404xSBGvXEyTth4ucnjHrS+PZeS3bYE23ym50ngLDAcIrUjgn99vcScfdA GKBg== 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=VXw2bJhZ/bTyaEyxNQlJ8soVao7954SJAKnERIc09i4=; b=eybfb3szfvn5rylVxSXs581S11sfYCyU/s3yENYKMe08cpcxAR46cE3BR++5WI3VUt Ba53ildohOYU9q7M3fqqR8w/uxioOWfHR1pEWO0yjQR/2SyK1EzeeJ7tAJrGjuFgM9/r L2fk3rf4Ibp59THTrEQxmnV38DOiLYTE8+fMHr0eiQCMFroyUonjJ+ZhB2c9t1XPw/dC 6AlL/4ptQzRErT/us+xTH9Yu+jpUpHTH8Od7Os+To6p28WgSnXieo1swi8oPNDSSoQId KltKU9JMKMnIefu7W8FCarcYKcQPgk4mKG7BRvYM5doDStpzwjYk0luitHor76iH0Vqs tYXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=autIVxQ3; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a17090aa10800b002532f02f026si497577pjp.57.2023.05.30.05.05.30; Tue, 30 May 2023 05:05:45 -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=@linux-foundation.org header.s=google header.b=autIVxQ3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231758AbjE3LvP (ORCPT + 99 others); Tue, 30 May 2023 07:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231749AbjE3LvO (ORCPT ); Tue, 30 May 2023 07:51:14 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C94E8 for ; Tue, 30 May 2023 04:51:10 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-96f818c48fbso809205266b.0 for ; Tue, 30 May 2023 04:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685447469; x=1688039469; 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=VXw2bJhZ/bTyaEyxNQlJ8soVao7954SJAKnERIc09i4=; b=autIVxQ3xlvfVjTszY4j7+kzC2GuU0njfhIYohgWpp1qmD6xio9ea4zY0tbwtCd7Pk Cp3DjJqyNpteL0lGjtfZLLq18W210AQ+o7/oK1DpZxDqbJ4cNjOHvGDtVQMlFifBkNzb 4AZEqwfIIoWEvuYWgOSyjyZ0AzjiTnaMh5JUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685447469; x=1688039469; 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=VXw2bJhZ/bTyaEyxNQlJ8soVao7954SJAKnERIc09i4=; b=F0k1jP4A/9TWgYWBajxXYNJpvzQ4FkeJI35Ox4FMEFxlGPNUtNx4LI7/Mr8P3tCPSN WD4okxlLMmBbGLuryvz89nemJ8tFXPb2alLEvXYDeDq3syxQC0iktpExDjLXnVP6KDP2 X++DMTPZ99moHv5QSBGJUQOCbOFgddcpjh38UaX2nqtSGc9BSt9id77ehhkicszvHeqX vSWq1EP8s5tuhFWw+nCfammG6gIeIkqETO8utxIVwgH2wSzAXjWDxMe/+HWc1R0raisb iOWKXHS+qRXe8mWeR0L4QEv2Atkl9Q10fljC+Eg7ZaFn7G1vREJutVYLTgHpwIDKA6qr J9Lg== X-Gm-Message-State: AC+VfDxJrzSAsNn4qKswWfJW2yXb5KuI/MQ7qtdJv89KRTU2KmXmVv0w az/DJuKE1TNhZN0ILHbeJsQ0c45NqiibxMT3v2R8d29r X-Received: by 2002:a17:907:3e01:b0:970:1a15:62d1 with SMTP id hp1-20020a1709073e0100b009701a1562d1mr2374318ejc.34.1685447468945; Tue, 30 May 2023 04:51:08 -0700 (PDT) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com. [209.85.218.54]) by smtp.gmail.com with ESMTPSA id t7-20020a1709064f0700b009531d9efcc4sm7323229eju.133.2023.05.30.04.51.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 May 2023 04:51:08 -0700 (PDT) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-9700219be87so805493766b.1 for ; Tue, 30 May 2023 04:51:08 -0700 (PDT) X-Received: by 2002:a17:907:3f11:b0:961:b0:3dfd with SMTP id hq17-20020a1709073f1100b0096100b03dfdmr2439731ejc.7.1685447467702; Tue, 30 May 2023 04:51:07 -0700 (PDT) MIME-Version: 1.0 References: <20230528190835.386670951@linuxfoundation.org> In-Reply-To: From: Linus Torvalds Date: Tue, 30 May 2023 07:50:50 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Wrong/strange TPM patches was Re: [PATCH 6.1 000/119] 6.1.31-rc1 review To: Pavel Machek Cc: Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, l.sanfilippo@kunbus.com, jarkko@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 30, 2023 at 6:46=E2=80=AFAM Pavel Machek wrote: > > > Lino Sanfilippo > > tpm, tpm_tis: Avoid cache incoherency in test for interrupts > > Description on this one is wrong/confused. Yes. Commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts") in mainline. The change to test_bit/set_bit may be a good one (and adding the IRQ_TESTED case to the bit flags), but that commit wasn't it. As you say, the enum should now enumerate bits, not bitmasks. Linus