Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1361071ybl; Fri, 13 Dec 2019 14:04:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwb+bQwuhy/mCtZ087aQpiW5Ypk6U14Pz32JeFMj6dtv1SH6AHNhd28oUm4JTSQVG3zWU5P X-Received: by 2002:a9d:7e99:: with SMTP id m25mr16506893otp.212.1576274657546; Fri, 13 Dec 2019 14:04:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576274657; cv=none; d=google.com; s=arc-20160816; b=IbnFXVJm0Zl7dhgFNna4I3rRVJ2+pOlcOFu9LiBorCUUK57l+GnsSm4MC8085AUYZQ qHauiLhFrMJfmxihLP78k2+KBHiW6G/cofqr33+cfzQfdGJ5DYogxf0U0wbRuegZMEbv kEGKf7DMyXmtaH5aBkLXc9A0uFsdVXo+MZBzPMvEyvawKrlNq2MfVS4Hug0+fPr7rIv3 ycGSmxnC+0bM36O0+6q6yojotLFvr4Fwf4cpLn+uKbKMSseXYq8D0kgxUJWYnBfe+cRJ UFbD0iAlur3BTZRM9d+dUlhXspqj5W2Ko57FGhICNirI1BZj8c+AF2SQx+mcHHr2Y2RC aZNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zfICJ6KhaPZeol1tl5aqhZNB4nOYiiQp60xAzoCt3JU=; b=eJh53bg3L6dhySC2qOHCqL28fFm86jQ2eP6IObdYoTMWjFqhfKmRf0TiGCajYo4A+S t3Lo8EtM/HZgY5Mp0Jd6ZnfI8tq8PX+vGGzUuJ91yNizgKQOv03rmxq4VgBZd7vpMojC xwvm6h2boMWOP10dyo6He+tPweam6MXMihxx86RPl4JToMxrjTqfb6KD4/E0kAmBhTQ4 Kg/Tv1dkeKlFbKK2je+MYGviwh366Duo77TJRnncLvI1OLP6T3cu/wny1vIIcK0t+MRq al8kR/eO4Zx8CxfA6AwBtKZDCmshZgMyJ3LQswSluc6qoihR5DrGNx4MJO6Hx9lPuq1n 8aKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=OMLOqShW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si5978047otc.163.2019.12.13.14.03.39; Fri, 13 Dec 2019 14:04:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=OMLOqShW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbfLMWBb (ORCPT + 99 others); Fri, 13 Dec 2019 17:01:31 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46298 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbfLMWBa (ORCPT ); Fri, 13 Dec 2019 17:01:30 -0500 Received: by mail-lj1-f194.google.com with SMTP id z17so249462ljk.13 for ; Fri, 13 Dec 2019 14:01:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zfICJ6KhaPZeol1tl5aqhZNB4nOYiiQp60xAzoCt3JU=; b=OMLOqShWneJ3fe3UbyHRP01hVO4iIEtu+rKtip4uFYuny7eKWa9RVguRhdDXyGlazr Vu8irtlqDqkjSxlpxcEnR/mPZqGnWrv40jn+8NdgbI7DAtOpxmVjJ6hnmrSN7O80Gy2B 6ZEjjOYm27LL3/V26Z0KJqLy5QPWKtyS57u7I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zfICJ6KhaPZeol1tl5aqhZNB4nOYiiQp60xAzoCt3JU=; b=VJb0IP2wvO7QzJPwGjxK8bIEOL4fyeEXoUCzx0NjpXDMiDiRmO/j0XxV6pHsFTZxyl hhg9HiIH/pvVGAw/BW2lf7e53O3wzvlTd3ykeP4AGhNIcabxn4FsXThdhdpQ6pH7+iWD CM6Gqf3d98vUUEFtWAwJxg2XJiKjvLyCisdhmV6ELeeplkiL+cdIr78IwYym3ln16Qyw m00WUm1+nz0uPxYHtsoKOpyBCZoUZoGnRLdG29Vd/8ZkCjJPP5qN0REo3YleXejMGISZ QjuqUv1ExUELS+JYjDdNMOSZ130/sivcNe0U9Q0EMcUH4HsDNTOTZ3MK0cq8lI2txM4o lLfA== X-Gm-Message-State: APjAAAUwBlB5CQy4OAd7XBkX81QbGKAnMmrikVHYWyokMLw7cU2/kckH Rb8p9/1Mg8rxKZnlequGZqS/9rJbi0Q= X-Received: by 2002:a05:651c:112d:: with SMTP id e13mr9740546ljo.99.1576274488006; Fri, 13 Dec 2019 14:01:28 -0800 (PST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id q10sm5497456ljj.60.2019.12.13.14.01.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Dec 2019 14:01:27 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id b15so366100lfc.4 for ; Fri, 13 Dec 2019 14:01:26 -0800 (PST) X-Received: by 2002:a05:6512:1dd:: with SMTP id f29mr10402310lfp.106.1576274486558; Fri, 13 Dec 2019 14:01:26 -0800 (PST) MIME-Version: 1.0 References: <87blslei5o.fsf@mpe.ellerman.id.au> <20191206131650.GM2827@hirez.programming.kicks-ass.net> <875zimp0ay.fsf@mpe.ellerman.id.au> <20191212080105.GV2844@hirez.programming.kicks-ass.net> <20191212100756.GA11317@willie-the-truck> <20191212104610.GW2827@hirez.programming.kicks-ass.net> <20191212180634.GA19020@willie-the-truck> <20191212193401.GB19020@willie-the-truck> In-Reply-To: From: Linus Torvalds Date: Fri, 13 Dec 2019 14:01:10 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: READ_ONCE() + STACKPROTECTOR_STRONG == :/ (was Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.5-2 tag (topic/kasan-bitops)) To: Arnd Bergmann Cc: Will Deacon , Peter Zijlstra , Michael Ellerman , Daniel Axtens , Linux Kernel Mailing List , linuxppc-dev , Christophe Leroy , linux-arch , Mark Rutland , Segher Boessenkool , Christian Borntraeger Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 13, 2019 at 1:33 PM Arnd Bergmann wrote: > > A few hundred randconfig (x86, arm32 and arm64) builds later I > still only found one other instance: Just send me the pull request to READ_ONCE() and WRITE_ONCE() be arithmetic types, and your two trivial fixes, and let's get this over with. With that, you can remove the 'volatile' with my simple 'typeof(0+*(p))' trick, and we're all good, and we don't need to worry about compiler versions either. I'm willing to take that after the merge window as a "sanity fix". Linus