Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1284997pxk; Fri, 2 Oct 2020 06:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybTvPyC/jzAcmJnTkrfwJpkSZ8TGwDP/UtTN1Bgv05gdQA2bTxjzdxAw8ZldNxJhfMXN1O X-Received: by 2002:a7b:c92c:: with SMTP id h12mr2815318wml.121.1601643725965; Fri, 02 Oct 2020 06:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601643725; cv=none; d=google.com; s=arc-20160816; b=z5g2jDa5fYAQUkmRmbdnZKyXr+EeyrP4Ip6TQ8nphG0V9diHI44FrWsmY7issTQdwz nOVahJrHXgj/077/4Q+R2RD+ZQsGhEwP/QxndkPeSvo/fw8ZBdf7jfDDjjM/FHwNG6m6 pn5ELrcLYHMlkMYuUV934kZMGI4NgyqA4rJJ1Uy5jivWFixC4Jl8A9y+FPYCputxxH5s KkXUI+ScU75gHD9psYYszXnvsc64TfsRwyi/IasmLxDrN0XFI83KmWpAA8apZEfqGc2a KbbTizTiR8C67Ge4F3nK4LDvfzfQ96d9ZnQi+r0SyBlLRm8X98n/X4wIlFBZn0OXY4Zl h+xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=61TCbnER6mpYy4uPhgF71FUDSjAsOn42TXohKIIcxn0=; b=1Cm6U65cfcb65Jz6R8GF/IBUmQe+J1yfa9/lG9pVkEy8XYTSt61RmmUjC+faCS+Rgi yL1or+0z9XKDZc5gQcl3j6xPCCPmMaT3PhgbZ4l1DLIxGL8qamHyKV2UMHSNWfTGALTW yC/EEn4KQSMXtULoRje9Vg3pmHfIPtO2SfzfOndH4LoUkfpesoxZeK+ArC3uq3ryqIsx 9Zl8JKJCR+HmlGKG4lBqZLlgUnXqZBypxgLRtUAwqX0Q/K4ns0Jmx1JoQSjA26VCFhDm vs9a+OOq6X7bUqtqFvC1ylEdZSIfDGdPdQsyT4aMZnmiePW9A8cVKe+GUYIDpQcaKRHW 0blQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si1026492edj.323.2020.10.02.06.01.41; Fri, 02 Oct 2020 06:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733260AbgJBNAU (ORCPT + 99 others); Fri, 2 Oct 2020 09:00:20 -0400 Received: from foss.arm.com ([217.140.110.172]:35464 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbgJBNAU (ORCPT ); Fri, 2 Oct 2020 09:00:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9A2FC30E; Fri, 2 Oct 2020 06:00:19 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.49.154]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7CA403F70D; Fri, 2 Oct 2020 06:00:18 -0700 (PDT) Date: Fri, 2 Oct 2020 14:00:08 +0100 From: Mark Rutland To: Paul Bolle , Peter Zijlstra Cc: Will Deacon , Boqun Feng , linux-kernel@vger.kernel.org Subject: Re: [PATCH] locking/atomics: Check atomic-arch-fallback.h too Message-ID: <20201002130008.GA2500@C02TD0UTHF1T.local> References: <20201001202028.1048418-1-pebolle@tiscali.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201001202028.1048418-1-pebolle@tiscali.nl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 01, 2020 at 10:20:28PM +0200, Paul Bolle wrote: > The sha1sum of include/linux/atomic-arch-fallback.h isn't checked by > check-atomics.sh. It's not clear why it's skipped so let's check it too. > > Signed-off-by: Paul Bolle This was an oversight; Peter and I forgot to add this when Peter added the arch fallbacks in commit: 37f8173dd84936ea ("locking/atomics: Flip fallbacks and instrumentation") ... for which we could arguably add a fixes tag. Either way: Reviewed-by: Mark Rutland Peter, I assume you'll pick this up (and also that the hash is up-to-date as it should be). > --- > It seems it never has been checked. So this does cast some doubt about > the usefulness of these tests. But I'm clueless about this atomic stuff > so what do I know? The tests have been useful to ensure people fixed up the scripts when altering other files, so I think it makes sense to keep this even if we did miss one file recently. Mark. > > scripts/atomic/check-atomics.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/atomic/check-atomics.sh b/scripts/atomic/check-atomics.sh > index 8378c63a1e09..82748d42ecc5 100755 > --- a/scripts/atomic/check-atomics.sh > +++ b/scripts/atomic/check-atomics.sh > @@ -16,6 +16,7 @@ fi > cat < asm-generic/atomic-instrumented.h > asm-generic/atomic-long.h > +linux/atomic-arch-fallback.h > linux/atomic-fallback.h > EOF > while read header; do > -- > 2.26.2 >