Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp264925ybb; Tue, 24 Mar 2020 22:11:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvQNpJDYMrWeFRkmAhoAZSiAzMyn9xGmJuYvO0MYPZTDGDfn/q1hEDRLijqCBCsFC/EU+ha X-Received: by 2002:a54:478a:: with SMTP id o10mr1291409oic.45.1585113065258; Tue, 24 Mar 2020 22:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585113065; cv=none; d=google.com; s=arc-20160816; b=YZFeT9OiBMORZ7guQCnisW7NWPecUejHDACDNfEkcjXNxOuu6HKvVF+pTIiPJ5PyMp IEQ6QSpvF1b0IzAKsFITBL9izU+JiCfh3Gd4SWlcYSvkQykqH2Dk5gQNmeKisYFsPrcA WLMJmYBgRWHHM4oN8Uk/Z8wV7Rvdsb0qQqHDCa/3n04zfJNRmp3AU2cFPdccJmi5xQeh 0rJBwVOlslYsJNvuPkcNqyBdx1O0x4cm04kMJz2mIeMkGju2pQUaB8suuuxAgQKctciQ sTRmKqA9ranj+kvpSrmJwX/K7bFdw27jtqPHUvhhaSiLHlWQeeuVP3zLdlsi4uK82eEG NJ7Q== 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=goHEK+Svl1j1CHZ8RGvjblzdAWdDcWxFnIuljEdud0o=; b=p7zw+D6lil49AxDq6qCq0amA/eC/NUyYLuHSXxxVJ6hveuyzlfbd9UH8PX6HZKqthK l5nEz3IR1psptLJHBlE3I8Lo1gi4Ikpdk23XB4D5c7/Y3DSloyXnuHtgTfmi35gK94iR ZPAeyDIgyCE6MCic7HVE9fGsn6T8Pdd9xd0GlRtjXeJofSCg8KRTUuR/rR+WTX+xBwNz H7cmbr5pD+2XgUlwX11Wpv5bSQmKQRluVgucgLJ8hAVCHPSw3ajxotNlYzXIliFSGVJj mJsVLojTxGclovgYg0MB/6NsihymzZVQOJFZ4jRErUdg5eysb/3C8e3c2tvqIhJG2j+x c4yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=DnT5KzDt; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si1211126oob.87.2020.03.24.22.10.45; Tue, 24 Mar 2020 22:11:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=DnT5KzDt; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725832AbgCYFKn (ORCPT + 99 others); Wed, 25 Mar 2020 01:10:43 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:23447 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbgCYFKn (ORCPT ); Wed, 25 Mar 2020 01:10:43 -0400 Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 02P5ABfc011337; Wed, 25 Mar 2020 14:10:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 02P5ABfc011337 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1585113012; bh=goHEK+Svl1j1CHZ8RGvjblzdAWdDcWxFnIuljEdud0o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DnT5KzDtk1VZ4bX5jz1F2rsdqsISqFkA3UcZ8xsfhN86oNs2j/XPmD5P0cCs/JhpC 4djo10x3J7e7VKuxZ6VaqctGHnlh7v8Y2a60Ld7EPdInTe+DqQnV3Yv2mMRbEtWync MiWlzZhvtXqwbjoutaboaVOvFnOMo0MJcs+5uYk6RNu52LFYtiOci3i1kOmUu1RoBi xhqivkrrBXMFOs8hfcQ/k+Do1CGoUI92UhBVNthIcvYQO4wcMswpJWLXGNNqUdh7Tw n7tev83ZNX9rklVlt+woYh25RkzUKyFRAAw9ucZjUiaVa3CirJ/T2AZaRCO80gKTwU bP6ZfZcCxvw5g== X-Nifty-SrcIP: [209.85.217.46] Received: by mail-vs1-f46.google.com with SMTP id u11so785408vsg.2; Tue, 24 Mar 2020 22:10:11 -0700 (PDT) X-Gm-Message-State: ANhLgQ2vNbc2TrzjPxjgBIKbjx7jdeRQw5e6nOYp13rqZwpbzX8EPZmU sPc59FID1rTdNjijqL5feN1mlNAWFqqvWJEvY4M= X-Received: by 2002:a67:2d55:: with SMTP id t82mr1251970vst.215.1585113010953; Tue, 24 Mar 2020 22:10:10 -0700 (PDT) MIME-Version: 1.0 References: <20200324084821.29944-1-masahiroy@kernel.org> <20200325045940.GA24974@gmail.com> In-Reply-To: <20200325045940.GA24974@gmail.com> From: Masahiro Yamada Date: Wed, 25 Mar 2020 14:09:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles To: Ingo Molnar Cc: Linux Kernel Mailing List , "David S . Miller" , Linus Torvalds , Kees Cook , clang-built-linux , Herbert Xu , Linux Crypto Mailing List , Ingo Molnar , Thomas Gleixner , Borislav Petkov , Peter Zijlstra , "H . Peter Anvin" , X86 ML , Linux Kbuild mailing list , Daniel Vetter , David Airlie , Jani Nikula , Jim Kukunas , Jonathan Corbet , Joonas Lahtinen , NeilBrown , Rodrigo Vivi , Yuanhan Liu , dri-devel , intel-gfx@lists.freedesktop.org, "open list:DOCUMENTATION" , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Ingo, On Wed, Mar 25, 2020 at 1:59 PM Ingo Molnar wrote: > > > * Masahiro Yamada wrote: > > > This series of cleanups was prompted by Linus: > > https://lkml.org/lkml/2020/3/12/726 > > > > First, this series drop always-on CONFIG_AS_* options. > > Some of those options were introduced in old days. > > For example, the check for CONFIG_AS_CFI dates back to 2006. > > > > We raise the minimal tool versions from time to time. > > Currently, we require binutils 2.21 > > (and we plan to bump it to 2.23 for v5.7-rc1). > > > > After cleaning away the old checks, > > as-instr calls are moved to Kconfig from Makefiles. > > (patch 11) > > > > This allows more Kconfig / Makefile cleanups. > > Patch 12 is complex, but I double-checked it does the equivalent. > > > > Patch 14 bumps the binutils version to 2.23, > > and patch 15 removes more CONFIG_AS_* options. > > > > I folded all relevanet patches into this series, > > as suggested by Jason A. Donenfeld. > > > > If x86 maintainers take care of this series, that's good. > > > > If it is OK to queue this up to Kbuild tree, > > I will send a pull request to Linus. > > > > Thank you. > > LGTM. I've got these four from Jason A. Donenfeld queued up in > tip:WIP.x86/asm: > > bd5b1283e41c: ("crypto: Curve25519 - do not pollute dispatcher based on assembler") > 829f32d78588: ("crypto: X86 - rework configuration, based on Kconfig") > 95ef9f80ed63: ("x86/build: Probe assembler from Kconfig instead of Kbuild") > 1651e700664b: ("x86: Fix bitops.h warning with a moved cast") > > I suppose these might interact (maybe even conflict), and are topically > related. > > Would you like to pull these into the kbuild tree? You can find them in: > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/asm > > Thanks, > > Ingo I did not know that these had already landed in tip tree. They are immature version. (In fact CONFIG_AS_CFI and AS_ADX are false-negative if GCC that defaults to 32-bit is used.) Can you simply discard the WIP.x86/asm branch, and only reapply 1651e700664b: ("x86: Fix bitops.h warning with a moved cast") ? -- Best Regards Masahiro Yamada