Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp973472ybl; Tue, 13 Aug 2019 05:37:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKONZdljmibw2L+sVGsMaJE6De1izSOzlDkgcBpNF3qAhHPjfZzi6mZoXkWvLKDnPZhxT2 X-Received: by 2002:a62:1715:: with SMTP id 21mr15507948pfx.134.1565699858250; Tue, 13 Aug 2019 05:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565699858; cv=none; d=google.com; s=arc-20160816; b=i/U+Z1Dgc8KtkgIxOCFYQGyQULlEBrYGMmfJVGtk/KMMVkYjRN3KLHQaPvabzX8Thp yqQmdGhwOp0ZKWRDv7f4Hdgtfwk/YQDKKzaCucPPGv9Sm6uW0DypMthMvzNzasQYRGVB CBL5dp3axVY0NJKs2abuyvdND4ToluKSbtpZj47i0sJ/fRJPrgd6eqN0BnNpRR6s8rVQ 7hSqPiRjDKLk2kt/5FcVSv2OQrOjvLb1b1RQFVP5uFey6muPcfbhexc0B10LQ9M3YTCl CKQTLe1Wuxp/lD6+q7SVHENEzhb9iDTazZUnkQVoEbKB9p/8WcnpdCXJywClo10cphYb 50eg== 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=/4zbvSpEn2DpmCJ6tMtDBdGBohm95LMSJu2Rb3mH21k=; b=Er31W+qIYa+Kc+y6vtByJGB/o2WnprM91JZt1S+jpDchUajHInlOMzBgN1KT9b+vld MaJsiWTqMhpNHS1msHk7D0s4ps6s6GDgTmPp8/KCUwPjQhTx71RNWtIQ6p2bAxmaUtJa uR0vwP/j1If+dnxRdp3LJzpcMbZCL8yY/zE57VeKyEIXZ6/Dpu4N/AnKaLRB1cd3diZw uEz8qbfqu+kGm+xLWbZM7PA69tOG5WzbgRZLZgtV83UagtJAibQhXVlLzqcG6fn53chk /AZbJI9jwo/RXR59G0KRkWU/FljB0Ln047gLujZToymg9OuqoxfDxOpobw78UMkZgLvE 2GeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lrApJRtm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si868845pjs.58.2019.08.13.05.37.20; Tue, 13 Aug 2019 05:37:38 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=lrApJRtm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728213AbfHMMgU (ORCPT + 99 others); Tue, 13 Aug 2019 08:36:20 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42688 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbfHMMgT (ORCPT ); Tue, 13 Aug 2019 08:36:19 -0400 Received: by mail-lj1-f193.google.com with SMTP id 15so9619515ljr.9; Tue, 13 Aug 2019 05:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/4zbvSpEn2DpmCJ6tMtDBdGBohm95LMSJu2Rb3mH21k=; b=lrApJRtm6GOhWs3fCFPJSlcSNogP0GznPdE24vcG3Z/F5ysBIyHK4jr3TmLyVAenyu h+reeHqoCtu5DnUOonZfy2rp0wqpy0QvIWd1egLjw9T+fHOo9bX4D5YJplkiBANlzg+Z YxoJvdWuGbwSks5nTFsOOCwSZvZqkTUwflPOvOlwIZSX4gGr1CPhFztABch0yEq1LGEz niMncc0gUHJSPmGlCnp7eYd+vKKI1m13mmcPqKSQd33YlT2b2H8DFXOYUkcC6lFgsZvv RCcC5ce0ZlXrJuUsDAAaXHftEs3Uc66lwJtN2oFXfWLTEOEySRPJVNo9EtMHQqBQljfF I95w== 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=/4zbvSpEn2DpmCJ6tMtDBdGBohm95LMSJu2Rb3mH21k=; b=ombUIQlKZI4sna0UtPXjiTZdDEAjW09UgskoowRxZu6uQxgnjy0Or9pBdvwUOHwk5C I1qGrcmx4z/wr1bRHgnJBdXj8C2u7dBkgnBOme5FKqsMI1U/Gb8cz9fdqOBCQWazB0s7 Oir1/T7cJwCnIKCzYWuFZcDB6IQJ8bfPzPnkYge9zt4x9qXNfnVTLVhETB9dNNmS+Qm1 i8HReInxcLZ1xzp6o2kbMv77R+bdZ1I9GDYs/4jxQ8LvH4gqun31BF1XL1+Y6saZHoKv NVgCQuz0CRtId328AIkm/KT2+YFbYp0ZM24JRz2DMqGYCHKaiWPqRX2Caz6ccQAdWINH 7Nlw== X-Gm-Message-State: APjAAAUw0jGg8zSE+jLTDdABOj1U86GKjU0iDWivaBZyygEJFY4oI3cz TDMhrET9Ik98e8WBwRYofDL+83XFhwRl+lqkZPI= X-Received: by 2002:a2e:3a13:: with SMTP id h19mr21421766lja.220.1565699777265; Tue, 13 Aug 2019 05:36:17 -0700 (PDT) MIME-Version: 1.0 References: <20190812215052.71840-1-ndesaulniers@google.com> <20190812215052.71840-12-ndesaulniers@google.com> <20190813082744.xmzmm4j675rqiz47@willie-the-truck> In-Reply-To: <20190813082744.xmzmm4j675rqiz47@willie-the-truck> From: Miguel Ojeda Date: Tue, 13 Aug 2019 14:36:06 +0200 Message-ID: Subject: Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h To: Will Deacon Cc: Nick Desaulniers , Andrew Morton , Sedat Dilek , Josh Poimboeuf , yhs@fb.com, clang-built-linux@googlegroups.com, Catalin Marinas , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Andrey Konovalov , Greg Kroah-Hartman , Enrico Weigelt , Suzuki K Poulose , Thomas Gleixner , Masayoshi Mizuma , Shaokun Zhang , Alexios Zavras , Allison Randal , Linux ARM , linux-kernel , Network Development , bpf@vger.kernel.org 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 Tue, Aug 13, 2019 at 10:27 AM Will Deacon wrote: > > Hi Nick, > > On Mon, Aug 12, 2019 at 02:50:45PM -0700, Nick Desaulniers wrote: > > GCC unescapes escaped string section names while Clang does not. Because > > __section uses the `#` stringification operator for the section name, it > > doesn't need to be escaped. > > > > This antipattern was found with: > > $ grep -e __section\(\" -e __section__\(\" -r > > > > Reported-by: Sedat Dilek > > Suggested-by: Josh Poimboeuf > > Signed-off-by: Nick Desaulniers > > --- > > arch/arm64/include/asm/cache.h | 2 +- > > arch/arm64/kernel/smp_spin_table.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > Does this fix a build issue, or is it just cosmetic or do we end up with > duplicate sections or something else? This should be cosmetic -- basically we are trying to move all users of current available __attribute__s in compiler_attributes.h to the __attr forms. I am also adding (slowly) new attributes that are already used but we don't have them yet in __attr form. > Happy to route it via arm64, just having trouble working out whether it's > 5.3 material! As you prefer! Those that are not taken by a maintainer I will pick up and send via compiler-attributes. I would go for 5.4, since there is no particular rush anyway. Cheers, Miguel