Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2915708img; Sun, 24 Mar 2019 23:12:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8rXKSF7XHnok9tzXxYF0+tCrugvIWcqnIXkCCx6gWPUemh+Z+4Vhr7rAg5MAlejoAT7M7 X-Received: by 2002:a17:902:f302:: with SMTP id gb2mr24034622plb.51.1553494326415; Sun, 24 Mar 2019 23:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553494326; cv=none; d=google.com; s=arc-20160816; b=HfJWvwgGV4FEzs+gWTu+5zGjv7yZqC+lASp33rqHsxZcsaMhzGGt9FokzooxqIg6df 85otwCMsgDA7k6estUn6/cqJatiX08ylI1algr4n3q7mLh52E5YrpEnXBxwyskJHTvaG 7wCKMU8Vgd5bt16EUV5Qk9uwH8Ltixf0p3p0G4C9aNe6ed9wJ8tBuNOwlvpvofNmbZSp H9xGk+rF9GbiIr9NaX9aBYH97Uo2WdCTe91UYswdQK/D0FdO34I6bi7WjQpYwupObnkD ALzMH2BXcZ4RxR7gKaeZQTR/yaOCcdAexg4Qn5uMF/+c3CpDDC+977EcfkZ+kvwbpcBV bueQ== 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=M5yB2IL6rUVfb6KdDylKlG225AGtoW93SAI13OU0scI=; b=IH656u8GrUdvHtda/04WwDQAaAsY/i/M8NPfpsKGlYjlP4AzGmsn6pgftxA/ULdf+b 1FZ3jj//DTyZ+fK8MZa+icwSzhGFqCbXCYHsf7EN7pUBKqnPqWoekns83AHXHf6lkuWf wBerW+rKYUNYZf+Lm7hJq9ykw0aszHOxy9IoAZKVaOF7pbCVvIJy+G36l2sslJTUQXQW 6AkOCu4Fa8x1XLhxo6hUXZrDFYQLhKFWTa7VM3EVzHrEniuChsXiZ3KNi7a78u31D7DG 08l1bELBGG+AZKg73yCk1Kreq+m/iDMzUGARiciZUAT/lYZpyqjtrl3dVh90AmoxSElb L7jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="xX3/HJVi"; 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 x8si8350740pgx.484.2019.03.24.23.11.51; Sun, 24 Mar 2019 23:12:06 -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="xX3/HJVi"; 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 S1729641AbfCYGLQ (ORCPT + 99 others); Mon, 25 Mar 2019 02:11:16 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:52602 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729373AbfCYGLQ (ORCPT ); Mon, 25 Mar 2019 02:11:16 -0400 Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x2P6B3ao022765; Mon, 25 Mar 2019 15:11:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x2P6B3ao022765 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1553494264; bh=M5yB2IL6rUVfb6KdDylKlG225AGtoW93SAI13OU0scI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xX3/HJVi67ZE7O+YgUqY300T00eUjNmJmXP8bCXfoQHa5Air4JM6GFt/6oBaczpj/ u11TINIB7G2truNMRO5GcWSbfQSL1zf1IeAED2pmVCAzEPfwkett3y4nd6iZ8G0rHD gDwKNHBAnpvcqHz+cUlBgFdd2Dt3ZqYf/800h8o4bipHysPCxBBgReoo84esXAs2tE v3YifwN1shxb3mR95hOrNLP5oiGOjTO08WNyZOUo6iwL49DbeCPGekShiCb62o+ahl JdPg0gXqHCc2MEe1FgcA9Dnz0Zr7qfil5TTERII2lmrZR2L0Qb27qhVxDYEF1d632b o0O0IBkTWJ30Q== X-Nifty-SrcIP: [209.85.221.173] Received: by mail-vk1-f173.google.com with SMTP id s80so677281vke.6; Sun, 24 Mar 2019 23:11:04 -0700 (PDT) X-Gm-Message-State: APjAAAXATT4kBG7iBUkl0BTlawGZZctYVCOITH7RSX3A5RJqwxVlWKy/ e3GNVKgfzb9Pc5xuXP9ZGjeYVvxUBkvNOWfPHTM= X-Received: by 2002:a1f:9350:: with SMTP id v77mr13352129vkd.84.1553494263012; Sun, 24 Mar 2019 23:11:03 -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:10:27 +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 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, but is "__init __noreturn" more sensible than "__always_inline" here? -- Best Regards Masahiro Yamada