Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3161202yba; Mon, 22 Apr 2019 21:41:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqydycInbfbZOHxSXaklENo6m4tmTWWfVjp/BT8yu8Oh1kthxFGakXdF34Fa0ZTrEy89HWB+ X-Received: by 2002:a63:224b:: with SMTP id t11mr5928557pgm.161.1555994468687; Mon, 22 Apr 2019 21:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555994468; cv=none; d=google.com; s=arc-20160816; b=cHkAk+lt3bUqYegfxj7wb92jcjqRRFPw9KUX2QzLQdNOT+HaWIybwktYTPAHq418nA +0pu1jVSdSNpMyFKltZ7mpycjEn500ChQchUiIAWuZPOUvZCz3OSJ+S9IPuBzZIcfNGq byhdnjS7w1qnjshsCeOt+4vZc6p+GCPYF7Y4jr4HYIHtaVxeE3OmhzKkbfUfGEwe/gOb 89QsWmGy2EC4nr8rMlYMS9N7WImz9/C0O/CFKPqtj27ScKMuc9zPBqb3w1ddXt8Nh21l obU5FtCvzcZcZuDi9q4BzoUZwprN4Y7ct+n3jyQrSGA2tV6KnntxkGPXP1RFmitaSvQN i4nQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=+sM4okn7en/aXLTxk39Iv8cVSFLO5kMp2OmxveFMPqA=; b=f7FePcW62KtyZ/zIf9tuf1Bf9ks6sZjWfUPgOD6tTdLYr1lH+oPL8zEAR6QJz9MsT4 evVcFn92V5PpCsKfIGXcuflFAcEc4x9arDvbljdah5SOr3r3PtOhFgVd2bXPyeFj8IIB 8PulxQzmpcPehL+h2WJCA7i9MXSdUwhWqt8QJaz/bpXY3kzpF6kbcYiIcpMnvbX49bky +RNiiRLhaICMHSIeGyys8+21giI3UFc81Qv2iIID9VlIBiwSJUzQxbQfM/KTeY6ReLSZ qTpQ5jlue20BzMj5x6DGynrH+olSI5SFxb7EbkoWbcyHegmd0Ndw5ZJv1dXqbuZmD9du RzVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rpBNEm11; 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 s2si9330711pgp.69.2019.04.22.21.40.53; Mon, 22 Apr 2019 21:41:08 -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=rpBNEm11; 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 S1729195AbfDWD07 (ORCPT + 99 others); Mon, 22 Apr 2019 23:26:59 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:23029 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbfDWD07 (ORCPT ); Mon, 22 Apr 2019 23:26:59 -0400 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x3N3Qe1M022811; Tue, 23 Apr 2019 12:26:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x3N3Qe1M022811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555990001; bh=+sM4okn7en/aXLTxk39Iv8cVSFLO5kMp2OmxveFMPqA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rpBNEm11sedr4ZTTqn4DWKErS1jmsxU0wCFi0W4J5QIhcrg6UGyXJ0GPxeGxBm2Jk N7PzxyYAsMY4p5A9/yTYYmkUiTB/C40RxrMyYLm0K/gSEp1+Sdckyco7gus660Fi4g hgd9pqYd3Vm0IzUma7z1q8AyPdVLgj2QT6VDXVlH+pMpEzVZlRC+ecL0v37PFOYYVs IJ8mDqVFUteeWnZ5OpEcPkL3bDFH5tIMVernuNZGtxY9FSVumMNFqIUs5StTOolLap eGnxFSaCr2Z9sKcTYd4qXq1WFFQTcMV4kS7yRB9DDQWVOyaQo01I/QkYsKcqnkLrTK rPxED8Ccb4PXQ== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id e2so7418299vsc.13; Mon, 22 Apr 2019 20:26:40 -0700 (PDT) X-Gm-Message-State: APjAAAXgK6QlEV1g+m1VhV85T/FV3SojGzrRcCmALAmx7ACPtAlecWhk 9yBFU+ZTZ4XSe0w8vSDRoihpQzJrHfV0Xxhu8QM= X-Received: by 2002:a67:ea89:: with SMTP id f9mr1367458vso.179.1555989999934; Mon, 22 Apr 2019 20:26:39 -0700 (PDT) MIME-Version: 1.0 References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> <20190323092640.Horde.2lm4u26aZox5ialxuIRcYw2@messagerie.si.c-s.fr> <686abdd5-863a-02ce-5ac9-f573208b8315@c-s.fr> In-Reply-To: <686abdd5-863a-02ce-5ac9-f573208b8315@c-s.fr> From: Masahiro Yamada Date: Tue, 23 Apr 2019 12:26:03 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING To: Christophe Leroy Cc: linux-arch , linux-s390 , Dave Hansen , Arnd Bergmann , "the arch/x86 maintainers" , Linux Kernel Mailing List , linux-mips@vger.kernel.org, Paul Burton , Ingo Molnar , linux-mtd , Andrew Morton , linuxppc-dev , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christophe, On Tue, Mar 26, 2019 at 3:03 PM Christophe Leroy wrote: > > Hi Masahiro, > > Le 25/03/2019 =C3=A0 07:44, Masahiro Yamada a =C3=A9crit : > > Hi Christophe, > > > > > > On Sat, Mar 23, 2019 at 5:27 PM LEROY Christophe > > wrote: > >> > >> Arnd Bergmann a =C3=A9crit : > >> > >>> 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 ? > > > > > > Yes, it is useful to find out > > which function is causing the error. > > Thanks for the tip. > > > > I did a mass build on kisskb. Almost ok, see results at > http://kisskb.ellerman.id.au/kisskb/head/203d912edf8dde291977c71aa6402406= 5e197f79/ > > ps3_defconfig with GCC 5 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742711/) with: > > arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:148:2: error: impossible constraint in 'asm' > arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > > ps3_defconfig with GCC 4.6 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742591/) with: > > arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > > randconfig with GCC 4.6 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742698/) with: > > arch/powerpc/mm/tlb-radix.c:104:2: error: impossible constraint in 'asm' Thanks. I fixed these ppc errors, and separate out arch-fixes. Now, the latest version is v3. --=20 Best Regards Masahiro Yamada