Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4649247imu; Tue, 18 Dec 2018 20:13:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/WIUTTlz+qwZiyM0tM0/lbyqPSJEe3VTARy2gOcjlmI8qxoo71+SjC3bV1GmOVyntvcAfhh X-Received: by 2002:a62:6503:: with SMTP id z3mr18525572pfb.169.1545192835068; Tue, 18 Dec 2018 20:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545192835; cv=none; d=google.com; s=arc-20160816; b=Ei8jU74u3p1f7OiqMb2CO7t+BPfCtGRoWR/jCVrFH6y/MFwlgB+YGxpbsAykzRElvC jDCrvXIvUNsXo2zxM0GKU1jdtfVBWqm8H5xwAAzcWMn2N4pfjpZ5CeXgawxGxN9xQgAz UYEG0dU31Excyui0xjV2rqywe8V7IBDzX4JKjzS9IZenSjnYWcPeJYRnB1k/M+VLbNzi 4XmqYNoINwAkoQTige6yLBqTJeXYxpyxF8291kN2h3Dg5Vb3uHgwjcCKkVOtmJba8HYc X5KuHRo3F5AZUKvHKuQMdy6j4o3MHbHAzvZmQwnS08P8w9lfiG9Snianp5d71teOPbwP 6UVw== 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=jbzD7gXSWc0jcrnZlHzfxSB1UoeRXShjreO3QuG9/xM=; b=wZvQEUEAEWV7wx42f3XauOYSkzT2GVWZiGbzFIbuf3e3/UfCLV4q4cxAJR6wZ/UkcZ 3Uj9ToAsj0Btnp0W0KdomY2dHTEjlOkbrpZnsRAHvw1eJruRg7hWvNP+xi4dn7UFXrGE KEpbB9kOdO1zkHwzc0GeAv0FUGnoyNq91oM6fk5iCctatMg1yqcMJQP2EDoJ3hmkVON6 3H/9PCbSGKVbJ/mqAPl3qXEQ04vvdOoZW9Fyn0exF485hF9rP5Pm/T/R/Qu6RdBlQXXs K+KkjbRFTaEUCtQjxiEZQqgAsBhsvHrQOhZhYZ9gyonjm1Nna3Bp3ALijldP6Cs3S1Pg sh0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=JkJ4OqhB; 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 c64si15057510pfg.239.2018.12.18.20.13.06; Tue, 18 Dec 2018 20:13:54 -0800 (PST) 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=JkJ4OqhB; 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 S1727636AbeLSDUG (ORCPT + 99 others); Tue, 18 Dec 2018 22:20:06 -0500 Received: from conssluserg-02.nifty.com ([210.131.2.81]:37561 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeLSDUF (ORCPT ); Tue, 18 Dec 2018 22:20:05 -0500 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (authenticated) by conssluserg-02.nifty.com with ESMTP id wBJ3Jn7I000981; Wed, 19 Dec 2018 12:19:50 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com wBJ3Jn7I000981 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1545189590; bh=jbzD7gXSWc0jcrnZlHzfxSB1UoeRXShjreO3QuG9/xM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JkJ4OqhBwDHQBNHIwpvGlrrblfEBqCt7Tx3QAnRFo6Jl2/6ZOFZruHgmtPBxIDHmL 24ZdqtoZ6ia1GEv6n5fV6meaV9ZUKxePPsE+UM/h6mzPT2m0Ip7gq5uVcsIdQHdfvh TELgmEtRWTLKcIblW8Rz50d6Fe9ZZ1BvlVSBPe2jyETUMC0oaJ1D5t7zAFvHwoWmoo OtKV0IRR6EVMUeu2XKLy1H6iKPsBEpreRJTNL0fgOnPUcgVhmaAALnPzPzPVRswGnQ rilNJG0IYgeupLTzqAt4DkEAXAUb2sQcEN5K3QZ8k8iuCU6Bm01wl+n24OqP+1eXvc BgC96UEYeGxBw== X-Nifty-SrcIP: [209.85.217.49] Received: by mail-vs1-f49.google.com with SMTP id v205so11393146vsc.3; Tue, 18 Dec 2018 19:19:50 -0800 (PST) X-Gm-Message-State: AA+aEWYDO9HyrIFkRaWVmMCRmUiaG/wUBut+XvXrbXYvXQYIO6ZI2y2a W4WeOaUmdY9CYlub2Luu/klDw92BwG40S88KegI= X-Received: by 2002:a67:485:: with SMTP id 127mr9707272vse.54.1545189589084; Tue, 18 Dec 2018 19:19:49 -0800 (PST) MIME-Version: 1.0 References: <1545062607-8599-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: From: Masahiro Yamada Date: Wed, 19 Dec 2018 12:19:13 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code To: Nadav Amit , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" Cc: Richard Biener , Segher Boessenkool , Peter Zijlstra , Juergen Gross , Josh Poimboeuf , Kees Cook , Linus Torvalds , Arnd Bergmann , Andrey Ryabinin , "virtualization@lists.linux-foundation.org" , Luc Van Oostenryck , Alok Kataria , Ard Biesheuvel , Jann Horn , linux-arch , Alexey Dobriyan , "linux-sparse@vger.kernel.org" , Andrew Morton , Linux Kbuild mailing list , Yonghong Song , Michal Marek , Arnaldo Carvalho de Melo , Jan Beulich , David Woodhouse , Alexei Starovoitov , "linux-kernel@vger.kernel.org" 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 On Wed, Dec 19, 2018 at 5:26 AM Nadav Amit wrote: > > > On Dec 17, 2018, at 8:03 AM, Masahiro Yamada wrote: > > > > This series reverts the in-kernel workarounds for inlining issues. > > > > The commit description of 77b0bf55bc67 mentioned > > "We also hope that GCC will eventually get fixed,..." > > > > Now, GCC provides a solution. > > > > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgcc.= gnu.org%2Fonlinedocs%2Fgcc%2FExtended-Asm.html&data=3D02%7C01%7Cnamit%4= 0vmware.com%7Cc43f433d8c6244de15f108d6643a49e4%7Cb39138ca3cee4b4aa4d6cd83d9= dd62f0%7C0%7C0%7C636806598899962669&sdata=3D88UJ25RoiHik9vTCJKZV6%2F7xp= zCGsvKb9LFg1kfEYL0%3D&reserved=3D0 > > explains the new "asm inline" syntax. > > > > The performance issue will be eventually solved. > > > > [About Code cleanups] > > > > I know Nadam Amit is opposed to the full revert. > > My name is Nadav. Sorry about that. (I relied on a spell checker. I should be careful about typos in people's n= ame.) > > He also claims his motivation for macrofying was not only > > performance, but also cleanups. > > Masahiro, I understand your concerns and criticism, and indeed various > alternative solutions exist. I do have my reservations about the one you > propose, since it makes coding more complicated to simplify the Make syst= em. > Yet, more important, starting this discussion suddenly now after RC7 is > strange. I did not think this was so sudden. When I suggested the revert a few weeks ago, Borislav was for it. I did not hear from the other x86 maintainers. Anyway, it is true we are running out of time for the release. > Anyhow, since it=E2=80=99s obviously not my call, please don=E2=80=99t ma= ke it > sound as if I am a side in the decision. > Not my call, either. That's why I put the x86 maintainers in the TO list, and other people in CC. The original patch set went in via x86 tree. So, its revert set, if we want, should go in the same path. Anyway, we have to do something for v4.20. Maybe, discussing short-term / long-term solutions separately could move things forward. [1] Solution for v4.20 [2] Solution for future kernel If we do not want to see the revert for [1], the best I can suggest is to copy arch/x86/kernel/macros.s to include/generated/macros.h so that it is kept for the external module build. (It is not literally included by anyone, but should work at least.) For [2], what do we want to see? --=20 Best Regards Masahiro Yamada