Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5721453rwb; Wed, 9 Aug 2023 08:17:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGunYwij6a31aXP775PsEAhrNj9W9lVqUqwiSqAdNBbxJoxk6okKmD8JKcp/yhr6Wyua7SP X-Received: by 2002:a05:6870:82ab:b0:1ba:617f:5f26 with SMTP id q43-20020a05687082ab00b001ba617f5f26mr3670256oae.51.1691594269858; Wed, 09 Aug 2023 08:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691594269; cv=none; d=google.com; s=arc-20160816; b=o1fp70ktJPZ1mKKzrjTTV7V2HEg/V+Tw7ApDaL0qoC/70z+WI8EnxncHRBkMQYgW1H qU5w+K07NbpMLzhHEUaZL0CeToDkSW6kmwBqNOk2o1Klkmjpl2dWHIk6p0w1J1xBLtQc u+mIn4daC2bqr+4/ILOzYLRUtOJ+p9je5nlXaL7hCTbXZLdBrfvfEt/G6XXB0jHbcZJK oWnFojwfp3VP9c1qKFnd6WZUmDiRrj9YEGnt97bMiqEyU1t6XEauT9CyGdEyjRoWDzQJ ukSeqxTYo8FNrdXp2TZhpulAwkU/OpEGSHLs1kqlPb4NCfUr2xsXA3NoYbHvIqxaeUF0 sGTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=3msJaR5UXBLEoKC1HXIH2RtyP/pUMBgvaBbjwAf59DQ=; fh=/un5ABYdeEJg86gVcQlL/ChMcr89m6lJdQ/3FDYIzOU=; b=PSOQKvz+vEkz7aqJ4ociEIXtsiithFGnzmBwrmnsJmha8Aorr8yxXsh+66T8QPqDNG Rf+NihQBkpMBG05vksW8YIeg145x3U8fVeQ9YS43F/0K3qQdeUqQiNC7Bl3LsD5UBvvn 97rS61/lZvJlhhHNcKCFfhc5bwVUuFIbyTkor8S/mBTsKnKUwYZ3ZU/bStG5YoSs2N/4 h0V1RPPUflE/2TzP+d+G0vYnqeTlnGbjc4lL+Zf0RwT5Aa34R2/UybKaua0eKgKU95Pp 4lp+XPriQA7doFl8n/I8Zjx0PCWFjJM4kPZdnm5L/eXmKHgVdpmTNQPMNBqikLbGxBTf RKPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=tXn5xruI; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=B8Y1wPkI; 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 c37-20020a631c65000000b0055c868268f9si9453942pgm.462.2023.08.09.08.17.36; Wed, 09 Aug 2023 08:17:49 -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=@arndb.de header.s=fm3 header.b=tXn5xruI; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=B8Y1wPkI; 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 S229881AbjHINgc (ORCPT + 99 others); Wed, 9 Aug 2023 09:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjHINgb (ORCPT ); Wed, 9 Aug 2023 09:36:31 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1C861986 for ; Wed, 9 Aug 2023 06:36:30 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 9124B5C0135; Wed, 9 Aug 2023 09:36:27 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 09 Aug 2023 09:36:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1691588187; x=1691674587; bh=3msJaR5UXBLEoKC1HXIH2RtyP/pUMBgvaBb jwAf59DQ=; b=tXn5xruIL2ZWBIL+b/oduuBk+e8qnkdtDb4USof3cljLWqAcPfQ ML0TZbP9FLtBiOlaBdEruMwN7SRE/ot5fj7w9Eer0HyDE4QFAFyaruLNRsr1B2RQ cUqAYz7MNIVy1VTacX82SyQ97DVW4ELs/yT3+ttAyF0499IIBEPO+LGxWSGMz9my BV8Ec/wqBuED3TkSLK/5Fp2K8SnI5VktbbDtI74Ey654us5o4wh5OkeLEdMy/YjN 7fTniGBLzqSpHhUKhuuHv5iGRfLlgH0f8dCPMsVH1D9rz1HNUbpf7wnGM/O/Xd3Y IsRDYRUa817ub1msfWZOxnyJZgIBfoJoAIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1691588187; x=1691674587; bh=3msJaR5UXBLEoKC1HXIH2RtyP/pUMBgvaBb jwAf59DQ=; b=B8Y1wPkIrwz9wCwtgZC8ks1X8dcR//B5L4dPMtbSxacmki1+5lt FkMUZzIu6i3zuXuwdIWMtpVgx/P70TvCY14lr0Zw8DU28p95F+a/YaJ8j3NY4yQR dYZQYre++R7JTvXb3k8oRM48cAm7GbsDLMjXnlK8Uz7Reo0skA5hwgfFqMYXQqXv SjX1qmwGyxNzNMUgqQxTyVXyp17jZomWD1iQYgxSwN+EyheEZuDqEP317MagtXi2 N/dm+HTu23ZDECKdTomeRHLfIUczfdd1/Yix+3eI1wk2KkUtvVpvkLVqngcfX6J4 2C06ot7BCz+wv+XuHVWW6dXJFJ+/QCmlyLw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrleeggdeigecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepgfekueelgeeigefhudduledtkeefffejueelheelfedutedttdfgveeufeef ieegnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CD8E1B60089; Wed, 9 Aug 2023 09:36:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-624-g7714e4406d-fm-20230801.001-g7714e440 Mime-Version: 1.0 Message-Id: In-Reply-To: <66ca8677-6a8d-c2f6-f215-a49ae7248458@csgroup.eu> References: <20230809131024.2039647-1-arnd@kernel.org> <66ca8677-6a8d-c2f6-f215-a49ae7248458@csgroup.eu> Date: Wed, 09 Aug 2023 15:35:46 +0200 From: "Arnd Bergmann" To: "Christophe Leroy" , "Arnd Bergmann" , "Michael Ellerman" Cc: "Nicholas Piggin" , "Andrew Morton" , "Jiri Slaby" , "Maninder Singh" , "Hugh Dickins" , "Gustavo A. R. Silva" , "Nathan Lynch" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] powerpc: mark more local variables as volatile 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_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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 Wed, Aug 9, 2023, at 15:17, Christophe Leroy wrote: > Le 09/08/2023 =C3=A0 15:10, Arnd Bergmann a =C3=A9crit=C2=A0: >> From: Arnd Bergmann >>=20 >> A while ago I created a2305e3de8193 ("powerpc: mark local variables >> around longjmp as volatile") in order to allow building powerpc with >> -Wextra enabled on gcc-11. > > Should this be explained in=20 > https://docs.kernel.org/process/volatile-considered-harmful.html ? > My feeling is that these two files are special enough that we don't have to worry about it in general, there is only one other caller of setjmp in the kernel, and the setjmp() man page explicitly mentions this problem and the workaround. Arnd