Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1390414img; Sat, 23 Mar 2019 01:27:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcM2y5f/mdSBrfpni6A/jQLDWRBmlB4AzqozU54bJRnREPMCqGady+tAMCpa0eArlyV/CA X-Received: by 2002:a17:902:b216:: with SMTP id t22mr14004024plr.39.1553329655351; Sat, 23 Mar 2019 01:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553329655; cv=none; d=google.com; s=arc-20160816; b=Nm+W5dEeq0aWD/nIinlJaG+DQYGZLmrPYaMHyxDDMihuByyTV5gNSmsQXsu67ez3gO GjfM9WDf+5qyGrybky3PS+B5ViJcp9PyQzUATE1NHCPRAcA0gDKpzAeG66WeE2J7hmtC 02Wu/V8+5nqgZ7kPvEURKclDJSB2fOVavoGRvDLUcOpUz7rwwnqNTdctbp1oJ2rTMspQ 9f+pQaN6qNA2mM86mAv7PherwVEN4yajCT+CIZkRLRPhkpEs/9fxBwtzLN3WpO9M25CA qlHcsTQgZ+SIlYBv9geHYeZyYN9kxG89lIOQ0lvpoaJD7IZnE6FruoeCjybFbHEkLGg1 1H6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:user-agent:in-reply-to:references :subject:cc:to:from:message-id:date; bh=yIUKqwrp/W9ebJ8mq0nonB/Bi0cd71ULqlijVV1zVno=; b=KBwOuMzKFlQ2eTI1/2DZx8PcwajtVpyt6iCSsohZij3VGp7wsByQKlOxUWlx0jbFbF FkIHLxngvq3sffcc5zqma51DiGnjXdvlW12ZjAfMODRPJi5AUwT4lrG32749owqo7Coi XDjO7DkjnFD8yM5WcJloUTL1HG3TPBwTknNQn98ejfQJ2Pl5JgM/2GGqyw7su+2a54bm UNfXaUktR1myUMCijWjp3LjP8Cr5K+VzJP7XNpB7SF5in5YzqE5C6maOmVf2618OEkF2 vXSx1f4c/IRbhXC5KVajOa+lw7NAXs6ynwxBnyAraO/F86tLd+gQPN0uxbjNUMWwgSyU U66w== ARC-Authentication-Results: i=1; mx.google.com; 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 x16si8933074pgg.335.2019.03.23.01.27.18; Sat, 23 Mar 2019 01:27:35 -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; 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 S1726256AbfCWI0o convert rfc822-to-8bit (ORCPT + 99 others); Sat, 23 Mar 2019 04:26:44 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:57429 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfCWI0n (ORCPT ); Sat, 23 Mar 2019 04:26:43 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44RDC462qgz9vCyN; Sat, 23 Mar 2019 09:26:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id VNlVHoa45lz0; Sat, 23 Mar 2019 09:26:40 +0100 (CET) Received: from vm-hermes.si.c-s.fr (vm-hermes.si.c-s.fr [192.168.25.253]) by pegase1.c-s.fr (Postfix) with ESMTP id 44RDC44wjLz9vCyM; Sat, 23 Mar 2019 09:26:40 +0100 (CET) Received: by vm-hermes.si.c-s.fr (Postfix, from userid 33) id 5157B437; Sat, 23 Mar 2019 09:26:40 +0100 (CET) Received: from arouen-653-1-146-8.w82-126.abo.wanadoo.fr (arouen-653-1-146-8.w82-126.abo.wanadoo.fr [82.126.129.8]) by messagerie.si.c-s.fr (Horde Framework) with HTTP; Sat, 23 Mar 2019 09:26:40 +0100 Date: Sat, 23 Mar 2019 09:26:40 +0100 Message-ID: <20190323092640.Horde.2lm4u26aZox5ialxuIRcYw2@messagerie.si.c-s.fr> From: LEROY Christophe To: Arnd Bergmann Cc: Linux ARM , linuxppc-dev , Andrew Morton , linux-mtd , Ingo Molnar , Paul Burton , Linux Kernel Mailing List , linux-mips@vger.kernel.org, the arch/x86 maintainers , Dave Hansen , linux-s390 , linux-arch , Masahiro Yamada Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.2.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann a écrit : > 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 Wouldn't it be useful to activate -Winline gcc warning to ease finding out problematic usage of inline keyword ? Christophe > > 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");