Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1357334ybl; Wed, 14 Aug 2019 15:37:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqRpQJygsIe4B2PcEcMckNEbmi7TXatSz6eiFvbiK3oldJg2nd7hfbx2W6e5jwWxN2Dugi X-Received: by 2002:a17:90a:b30f:: with SMTP id d15mr169766pjr.19.1565822222383; Wed, 14 Aug 2019 15:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565822222; cv=none; d=google.com; s=arc-20160816; b=zNGUJVZE1mUYABf0KG/PEirBiB6VgP+GW8Jhjcu+X79MKA8edC0ntxdiLYel5FLSaz h5qkS1D2KfY1wI4OszAZ7wUP+ZH8NyOuFl0TZU72fvGjK/wVy9L0Y+/iHDCcWIgVLpYt g6jzUXJQU/XgZ2nKxZ9OM/aXfHqNaaPRr3MZWHxhsJqZT4MAsIK37ziovFPh1/4Msmtl eeTyHl+MNXLen0YCHvCHSWvnUJCeoc23ChzTPtlU0zg0Ohlrm8lNlktIRqTG7QbHwSc2 wRrH9zW7cFf2IAEzBpmJ1Yuc2CvkZMYYuahtPKGviA7xUGZNzQ4uQDytJqn/JVuf5BDW qQXA== 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=3k2w+T8PpskZpxccjtIiizfMIZhjmdjjp0d3COyTRJs=; b=RyikusqTllzJSLBT0q0AyJtsQwpnwOARaaQotdKnA+jXCp77mob8j3LT/2UANRji93 kHn0BW6gE/ou8GWCU7A8EQ7/2+rVlEwpOcT2U63y+MjxXRZii9W4FViwVnUoteuRmNP8 VFSTILeea1za8FH3vu+vFx6B4sGMcYNP9Iz3oKJnqB4RGskOSssMn6arUC24bY+LNc4M udZHiexo+nCSXufTiEAsY66ziFVgzsuS7fiPvBZlUnbMIDLkxD5hQv1+fG9sJ99eox8s 9g6ldDlc5fm2c145m/fbqm8vo7rLvLHLftUpsI0F9/r+WaK6Btj/WQuXXuEujZRqBAgy eGbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bIzCRgoq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18si606964pfn.202.2019.08.14.15.36.46; Wed, 14 Aug 2019 15:37:02 -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=@google.com header.s=20161025 header.b=bIzCRgoq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728937AbfHNWUr (ORCPT + 99 others); Wed, 14 Aug 2019 18:20:47 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41038 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728461AbfHNWUp (ORCPT ); Wed, 14 Aug 2019 18:20:45 -0400 Received: by mail-pl1-f193.google.com with SMTP id m9so232450pls.8 for ; Wed, 14 Aug 2019 15:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3k2w+T8PpskZpxccjtIiizfMIZhjmdjjp0d3COyTRJs=; b=bIzCRgoqfzNuUan1EfvB7NRSozZHajM22ukZLoilzYM9sYiJ7YkDvmA7Uj+9V3whQX tVwoUOufC9BTkAMrQC/rHvkb/exsHErFgJVr/8W7KT829V0wEHH9QAxZdmZ/ErITekS6 xrKE/Bq6vysHbTrERMP3oECXC0pPuqF/A4lnVBELZNj6IgYErrd6+O2HP/vitjEgPg/G Vo3XjVH1cvHMNyp/jwUDdyb50ZiaJxDo6aTcH/2RYATRNkXzQBQZglJb7q5MJyn2amFZ e2uUqZNKxy7OtuBUudolHQGGHryuTumSWmufu1hM+Awk5W4Y9ddcKD4aXMaQEHtNXxkv B8Lw== 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=3k2w+T8PpskZpxccjtIiizfMIZhjmdjjp0d3COyTRJs=; b=ppVyGUmXQEZ5xp+/i9zgcpc/9iOpOc4Lg+JyjKYjU7L9GF37uV7Fsh1KpSBXNoKEpW 42HyR9WSeC9ti1Why/yUflVbaRGoOuMs/RN3LH1+FF2oxz5tjZx8zolLG64LC7NUgb3I pSetPTIWfVFOQm24Xn1I2AX0vfU/0H2rPAzQ1o1fISPSpZACuwQCSKHJAiJpAqdl0AgX /hyMJ5me/jZSVDwd87/t6cXAwnby/vIlEzk5woJPqn3mBDEQsQW8R4Uw4p++7gTipCPQ XtcCy+R69IyJMLbdMNvDSH5aLl5tbH7xFT3o/t8DhqIQNkoPxikYlxOswbwOX4+37WPF O0gg== X-Gm-Message-State: APjAAAWcMtxKQuJh9YDnRIVcge480uBUpCGuaLkb3DItlg/N9Y9ADXWi HJYBKtiE4Y/9AXs4NYtsd0dcz+hcLOq1XgL8Ty/mww== X-Received: by 2002:a17:902:a9c3:: with SMTP id b3mr1454831plr.179.1565821244245; Wed, 14 Aug 2019 15:20:44 -0700 (PDT) MIME-Version: 1.0 References: <20190812215052.71840-1-ndesaulniers@google.com> <20190812215052.71840-12-ndesaulniers@google.com> <20190813082744.xmzmm4j675rqiz47@willie-the-truck> <20190813170829.c3lryb6va3eopxd7@willie-the-truck> In-Reply-To: <20190813170829.c3lryb6va3eopxd7@willie-the-truck> From: Nick Desaulniers Date: Wed, 14 Aug 2019 15:20:33 -0700 Message-ID: Subject: Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h To: Will Deacon , Miguel Ojeda Cc: Andrew Morton , Sedat Dilek , Josh Poimboeuf , Yonghong Song , clang-built-linux , 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:08 AM Will Deacon wrote: > > On Tue, Aug 13, 2019 at 02:36:06PM +0200, Miguel Ojeda wrote: > > On Tue, Aug 13, 2019 at 10:27 AM Will Deacon wrote: > > > 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. This lone patch of the series is just cosmetic, but patch 14/16 fixes a real boot issue: https://github.com/ClangBuiltLinux/linux/issues/619 Miguel, I'd like to get that one landed ASAP; the rest are just for consistency. > > > > > Happy to route it via arm64, just having trouble working out whether it's > > > 5.3 material! Thanks! https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?h=for-next/core&id=80d838122643a09a9f99824adea4b4261e4451e6 > > > > As you prefer! Those that are not taken by a maintainer I will pick up > > and send via compiler-attributes. Miguel, how do you want to take the rest of these patches? Will picked up the arm64 one, I think the SuperH one got picked up. There was feedback to add more info to individual commits' commit messages. I kept these tree wide changes separate to improve the likelihood that they'd backport to stable cleanly, but could always squash if you'd prefer to have 1 patch instead of a series. Just let me know. -- Thanks, ~Nick Desaulniers