Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2918116img; Sun, 24 Mar 2019 23:15:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO9A3hlypPjj6f0fKBogMERpBrQTY1HsCwYC1yZlWlzxOX24HYkDdkAeIKg0HqgWhA6YkL X-Received: by 2002:a17:902:421:: with SMTP id 30mr23168012ple.142.1553494553001; Sun, 24 Mar 2019 23:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553494552; cv=none; d=google.com; s=arc-20160816; b=vZd9l9rS7POg9zAM/jPVch/S6StZjYeaCNtBGrqath87P0/mgesDvhcUP3u+ij96aX s6r4JFlVuqJJrJ+GSN0is5BfRJJHin9M4QrdW8V/l0cgVqUUyDpzrARbH5q/ojIDkOgB zHFhYC5U8GIqgVirKlDE/wpGwDhh009qkJUrUizdTrBRFVCpg3RgIuN3bSJIZmVTR/FU /IwMeUcAHKjK0CzVE94nvWAXbuwhJmHIhxN3RhWKEJmhAlwYkumQbWz/CRWLMMBSyEgi 4dIgPbyBtPmt4FSIBFIfkDiSDm4rgKKfEl8PwgaOQ3Nl/wkx+MFS9bqJi/B91aEfPxEG fd6w== 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:dkim-filter; bh=Sx+F89ZCL+7I7bmEi4KU1fUncjZk/BW8NVT+rzg4YZM=; b=n4XLyNbypFPtA9zqIu0Rk2V4St7bCxA1iPI8meY7DRwg1BNM74ps3tpGCoWPAf0r86 0QkhhAgpWXhcsvUG6jlrq4JoTL9qRTk4zuzzra3+O1i1SjqQnCGKD7atClMJCwfH0htx cCrMcA9Ba7KyOV+sBGupHcV+T46J5Y+2gHhHKSRBnGMxYgqYadKgUGhYBugvHZCHb665 alo2obnOG08meu2kAocgBAHoilPANtwpyLTT03cWvQQEqN2hlGpXtXW9JwLTlz8R+5i3 HaWceB/MG63etnHGcPqHPXHOeijFJekgcG71lJfDIO3IXK02/1YfKIJCPnRsTDZjtoqW AvpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M5yNkfWq; 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 i7si9942210plt.332.2019.03.24.23.15.36; Sun, 24 Mar 2019 23:15:52 -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=@nifty.com header.s=dec2015msa header.b=M5yNkfWq; 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 S1729693AbfCYGNg (ORCPT + 99 others); Mon, 25 Mar 2019 02:13:36 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:18954 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729400AbfCYGNg (ORCPT ); Mon, 25 Mar 2019 02:13:36 -0400 Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x2P6DD5W021460; Mon, 25 Mar 2019 15:13:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x2P6DD5W021460 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1553494394; bh=Sx+F89ZCL+7I7bmEi4KU1fUncjZk/BW8NVT+rzg4YZM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=M5yNkfWqCZM61EfciI7aYwtMPdtHOgHCnWG7sAtBa01Yc3VAyopkSzeXY0q5UTSDx xeqhv4xcdKYHOUOagTdXmlsTYoqrxNtVogm4r1yn+OP0WEdrb1tU7NZkE/m14eDLMu UTdfbRtROPFjFBs6CgsxACemjQfyyrhRZa67i60+BlqdqVhCjc7Gy0M8A5FF7lcjPz WCEdYKv8UXuykajnwJuc7FSjDyFHrSAVPmrWU7yBe5HavbJeYT7zVteHfRn5kDjGmb G2Q5FGKAK68/GE3xqtCi3K916oI4lKIdXV6zURC3UF+0KRX4aHrmJjawz5lVS3DOUI hw6/1aChaZADw== X-Nifty-SrcIP: [209.85.217.54] Received: by mail-vs1-f54.google.com with SMTP id w26so3643617vsk.13; Sun, 24 Mar 2019 23:13:14 -0700 (PDT) X-Gm-Message-State: APjAAAW/1Ui+SMF53HANBP8vYzjiSBLEedWJLxWcGmpWPC93GF8ymAYQ YTogkdMiHb67ZWoKzfZjL+AE5T/cvAcxYHHTeRM= X-Received: by 2002:a67:7c04:: with SMTP id x4mr14129809vsc.155.1553494393497; Sun, 24 Mar 2019 23:13:13 -0700 (PDT) MIME-Version: 1.0 References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: From: Masahiro Yamada Date: Mon, 25 Mar 2019 15:12:37 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING To: Arnd Bergmann Cc: linux-arch , linux-s390 , Dave Hansen , Michael Ellerman , "the arch/x86 maintainers" , linux-mips@vger.kernel.org, Linux Kernel Mailing List , Paul Burton , Ingo Molnar , linux-mtd , Andrew Morton , linuxppc-dev , Linux ARM 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 Mon, Mar 25, 2019 at 3:10 PM Masahiro Yamada wrote: > > Hi Arnd, > > > > > On Wed, Mar 20, 2019 at 10:34 PM Arnd Bergmann wrote: > > > > On Wed, Mar 20, 2019 at 10:41 AM Arnd Bergmann wrote: > > > > > > I've added your patch to my randconfig test setup and will let you > > > know if I see anything noticeable. I'm currently testing clang-arm32, > > > clang-arm64 and gcc-x86. > > > > This is the only additional bug that has come up so far: > > > > `.exit.text' referenced in section `.alt.smp.init' of > > drivers/char/ipmi/ipmi_msghandler.o: defined in discarded section > > `exit.text' of drivers/char/ipmi/ipmi_msghandler.o > > > > diff --git a/arch/arm/kernel/atags.h b/arch/arm/kernel/atags.h > > index 201100226301..84b12e33104d 100644 > > --- a/arch/arm/kernel/atags.h > > +++ b/arch/arm/kernel/atags.h > > @@ -5,7 +5,7 @@ void convert_to_tag_list(struct tag *tags); > > const struct machine_desc *setup_machine_tags(phys_addr_t __atags_pointer, > > unsigned int machine_nr); > > #else > > -static inline const struct machine_desc * > > +static __always_inline const struct machine_desc * > > setup_machine_tags(phys_addr_t __atags_pointer, unsigned int machine_nr) > > { > > early_print("no ATAGS support: can't continue\n"); > > > > > I do not know why to reproduce it, "how to" > but is "__init __noreturn" more sensible than > "__always_inline" here? > > > -- > Best Regards > Masahiro Yamada -- Best Regards Masahiro Yamada