Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4842432ybl; Mon, 26 Aug 2019 17:20:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGBL02p1mLHRdZOPBAytr2WhOMfu/fePZ3QZrTndvlDkSvWZWULgbc8qhUat9aZb+vsqsI X-Received: by 2002:aa7:9682:: with SMTP id f2mr22905047pfk.256.1566865258579; Mon, 26 Aug 2019 17:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566865258; cv=none; d=google.com; s=arc-20160816; b=WzCNE8RvtnM4zs76ysJfx8Rg8ZO/BSb8JNmCxLRhaRhZ+fYoZp1esk4EhQNJG4td0y Fyj4ff5ULtGklPLsnuuTadYij8Kj7yaquQNeCfYtwEwq2zgVAdOaLzpje1KEz6yt6i9S YZLJefkQ6NexRxPeseFlQE1M1iZAj6iQbWxX1RZRK96uThZc/ZmaNAqgCOLEtGCIKPQN /A2sgqgScx7C4t74mkns4wxMIuWWJgcgi39IQDJ7SdxGtph5KK9AfAFwPf+H1KFNZBEY u4UepvqppUJbPZKLHgDnkbmikG0NZpruwTygkPbEYlSvh3gUbrIZC7d8BkqxDXv3W3MX qDQA== 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=hEEzzkdeRsczZgOxP6fZZQbk+BsAjtf5i89GMJdNvlE=; b=EcJtVjpszdL7TlZa6weshllIrHgHIowAvKEASWOQEjBpK/FXe1fSG/Q/S+PuhOClgv nM7edcyiQxkLuweGxKNq7n1D0dRrYfEle5mNujFykwuUf6OnAss9B+Q1VdxT4kT1+/fi GSKFtG/UmC4D6duGi7kXcTE54Oxm5xXOv3h6mX1cruYMV//vIIJDf/y/phOfT/yffzeJ 8EocjpNs+ScREtAyBsaMVMBZlXuP3CljMp9uQw1adx+GUUUraIxFPfusHpNtr0U1ZU/k kSFwzgK+snIVaPSHI5SygtZJqQGPtRVu8b3SvlWmf0Iy6H8umLiWurhTADjRDT4dIobh V9Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rlLf2ah1; 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 u3si10134101pgm.122.2019.08.26.17.20.43; Mon, 26 Aug 2019 17:20:58 -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=rlLf2ah1; 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 S1727926AbfH0AT4 (ORCPT + 99 others); Mon, 26 Aug 2019 20:19:56 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34516 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbfH0ATz (ORCPT ); Mon, 26 Aug 2019 20:19:55 -0400 Received: by mail-pg1-f195.google.com with SMTP id n9so11587840pgc.1 for ; Mon, 26 Aug 2019 17:19:55 -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=hEEzzkdeRsczZgOxP6fZZQbk+BsAjtf5i89GMJdNvlE=; b=rlLf2ah1lkpxv0U4sCKox8teYypFOsXhPw8Tiz+SNCVDdyx4vxv9LfOgcNYsNS+y83 Yg8HzPGc8JUgeBKk3Y2PX+C6aGW6qoUtel5U5CIfMXnlcd+S/IBtU0XpZ+qJ/JOjxarD j/OE/JjfpvfD8gTDgShCI4D93Zslm+cAAMdMy5AuO8bY0ovqd1N4Eeqw/ZZsB+cV9KZk E95+VcgDt12U1PKk6YwfKBE5UyiBXuEZffnmHhZNAIc1BMj+PhulPKqKi9XAS5AhiLce gMt9DGZc8pfbPA6NP32hvvW4qr5XdG4+KzQDbnE6bP2somHVDqq+XLFb24EFtCnMTeMn gJaw== 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=hEEzzkdeRsczZgOxP6fZZQbk+BsAjtf5i89GMJdNvlE=; b=OU91QUYoMU3w6LI8pSHIxN609K2o1Ppvqz8G4K/eBtra+C4CUrI+bl/4ryeCAyVmXH uAZC1BJg497w9r1/aMIQyQIYhJHF6YSi3I77iam+NbsZA6qEJd8DE95SX0sHDVbFkOBS 7TPkHPEASERLvSc50qyyOqNRgHXhGOptFjBrz5kQJUY5+XfJ0+mJZMsKjlx7FfXx1Pws EoYr1oJzWpoZS40dEblOo3XJ5JuZDJ6mknDl0urjTPqSYFfogZQ6Ey7scA5+pGaPvKGP TgOYT5del5Jn9G4SK2ksi8A5LIQESxbvZj/3wv3mso0q6ZUKYC0s3A7J9Z/HTBm6OoMu oP+w== X-Gm-Message-State: APjAAAUjikzxdterYyWr4Y8NLIsQbhWIM6A64cYX9uAak7iBsuCfRIXN 1tKDRzt5VmZ0VwaQHxvReINExEFoeg1AvS1O9FrKjg== X-Received: by 2002:aa7:8085:: with SMTP id v5mr21870548pff.165.1566865194432; Mon, 26 Aug 2019 17:19:54 -0700 (PDT) MIME-Version: 1.0 References: <20190812215052.71840-1-ndesaulniers@google.com> <20190812215052.71840-8-ndesaulniers@google.com> <20190815093848.tremcmaftzspuzzj@pburton-laptop> In-Reply-To: <20190815093848.tremcmaftzspuzzj@pburton-laptop> From: Nick Desaulniers Date: Mon, 26 Aug 2019 17:19:43 -0700 Message-ID: Subject: Re: [PATCH 08/16] mips: prefer __section from compiler_attributes.h To: Paul Burton Cc: "akpm@linux-foundation.org" , "sedat.dilek@gmail.com" , "jpoimboe@redhat.com" , "yhs@fb.com" , "miguel.ojeda.sandonis@gmail.com" , "clang-built-linux@googlegroups.com" , Ralf Baechle , James Hogan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "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 Thu, Aug 15, 2019 at 2:38 AM Paul Burton wrote: > > Hi Nick, > > On Mon, Aug 12, 2019 at 02:50:41PM -0700, Nick Desaulniers wrote: > > Reported-by: Sedat Dilek > > Suggested-by: Josh Poimboeuf > > Signed-off-by: Nick Desaulniers > > It would be good to add a commit message, even if it's just a line > repeating the subject & preferably describing the motivation. > > > --- > > arch/mips/include/asm/cache.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h > > index 8b14c2706aa5..af2d943580ee 100644 > > --- a/arch/mips/include/asm/cache.h > > +++ b/arch/mips/include/asm/cache.h > > @@ -14,6 +14,6 @@ > > #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT > > #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) > > > > -#define __read_mostly __attribute__((__section__(".data..read_mostly"))) > > +#define __read_mostly __section(.data..read_mostly) > > > > #endif /* _ASM_CACHE_H */ > > -- > > 2.23.0.rc1.153.gdeed80330f-goog > > I'm not copied on the rest of the series so I'm not sure what your > expectations are about where this should be applied. Let me know if > you'd prefer this to go through mips-next, otherwise: > > Acked-by: Paul Burton Thanks Paul, going to send this up via Miguel's tree, if you don't mind. Updating my series now. (Will probably avoid running get_maintainer.pl on every patch...too hard to cc everyone on the whole series). -- Thanks, ~Nick Desaulniers