Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2395296pxb; Sat, 27 Feb 2021 23:11:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZW0L11LB6mr2sPJGOk4/C3lsWcbUPXKz7ilQ0O/XBIazBGjq3GIuSd3GzivvcF9ovJ/3B X-Received: by 2002:a17:906:4b02:: with SMTP id y2mr10588515eju.475.1614496273747; Sat, 27 Feb 2021 23:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614496273; cv=none; d=google.com; s=arc-20160816; b=sTxXEOJTIP78oQttToRfzhC168lD+ZQghm14vaan3k2UANrPA00iG2WEKrm7eKcGc6 knu19FNsZIoCrsoxI4tCOqF1VD5byKtfDn2NYxn2J+jIh04Qp7OiPYq+mgWT24o1fQwK /oI/uIQ8yzCTC33SNBeHydD0F6/DAhd7BHblsnUFS9ZtWZESGW0lza72en4FO8bzcEEG /RxEbqq0qdcJVqajdOKrVLRMR9Tug1deFr8vvxTRPcgzteMeXPcsCX01mFrbHPTuZzIh Nrts+1bzxxH+WgPAgCtWYNqyKk1U1glcz7aiS/c3UqQLZQhaFc/xO9533YDYPiqHjoK5 cdxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=ldg+O7sE55to+alrJE10yp3zvi7BbH+3v1wNoAJS4q4=; b=ITrZPP0A+yGlk4Kgg8JC5qra2nnbfA8oQ/vGfY+2u5/zQBpeNC8/jMkdxqVqY51iLx QOL+S1DB+il/IC4w+2SZ01x7YGvd6hmvOXT9BlxzRj2Tm309iVGsGG8kAAunwd/Scn1E rdH55gypFbLuPsG8IsxPJTyPYrfY1qOyW2J0y7XQ90jHxwMJaTnmfObfUocWic8F9Y1k +40R4H+MeSn1QWz2v2xuWdePVwBZRXi5l26JxZFbZC5DXbg8MLP8qBnYageyAu5M7v9G dvfgOvrTmbkW7+KZGkIaq606RW51MiUj/tcbsr0qLxOFqP6HPc2vYa/xAFCKSPL8dFpa MPFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=I0VcDFnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id le28si9195068ejc.175.2021.02.27.23.10.51; Sat, 27 Feb 2021 23:11:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=I0VcDFnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbhB1HJC (ORCPT + 99 others); Sun, 28 Feb 2021 02:09:02 -0500 Received: from conssluserg-03.nifty.com ([210.131.2.82]:50809 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbhB1HJA (ORCPT ); Sun, 28 Feb 2021 02:09:00 -0500 Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 11S786F3000515; Sun, 28 Feb 2021 16:08:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 11S786F3000515 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1614496087; bh=ldg+O7sE55to+alrJE10yp3zvi7BbH+3v1wNoAJS4q4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=I0VcDFnKJ9ZI1vl7gD1o63BMh27v5/xoqXdGImvPu9vZui8he0MXNPPjpWB3VH5h8 654FJ/8jnrBo5STG+/dhi9ANpCEbDnnwjbd5y3G4dTTUQynxO8grRRui6E3F/8oQyh LVGCXb3weyzFn+tAxU2lGl/B6t88CGfK8MlFdkikbfr/LWyyTbZYpUX5HDGNbqKd/v 0J81h/U6rkVmP7Z6SOzLA0CYTB8S0P2KiESCBYDf1jW2gkaVrbX7qEHgIU71bsJZ57 XpgCdgTR4vuY6aBffaqXg5pBsk4wN4Anr1btjcelqzm78oqpfWaWnnl94figzXnxGZ JUHqBEMIi8z6A== X-Nifty-SrcIP: [209.85.167.173] Received: by mail-oi1-f173.google.com with SMTP id m25so1692836oie.12; Sat, 27 Feb 2021 23:08:07 -0800 (PST) X-Gm-Message-State: AOAM530zU8zcvbJN7+aYQyrCZR2wmOiL6npiMFl1I9OXKxMHZk5yZYKc k6HjUbWu2YfJbhntAdKF6Hg8w4+b20VhdUVAwH4= X-Received: by 2002:a17:90a:dc08:: with SMTP id i8mr10797186pjv.153.1614496085241; Sat, 27 Feb 2021 23:08:05 -0800 (PST) MIME-Version: 1.0 References: <20210227183910.221873-1-masahiroy@kernel.org> <20210228064936.zixrhxlthyy6fmid@24bbad8f3778> <20210228065254.GA30798@24bbad8f3778> In-Reply-To: <20210228065254.GA30798@24bbad8f3778> From: Masahiro Yamada Date: Sun, 28 Feb 2021 16:07:27 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC] x86: remove toolchain check for X32 ABI capability To: Nathan Chancellor Cc: X86 ML , Thomas Gleixner , Borislav Petkov , "H . Peter Anvin" , Peter Zijlstra , Fangrui Song , clang-built-linux , "H . J . Lu" , Andy Lutomirski , Arnd Bergmann , Brian Gerst , "Chang S. Bae" , Chao Yu , "Darrick J. Wong" , Dmitry Safonov <0x7f454c46@gmail.com>, Dominik Brodowski , Gabriel Krisman Bertazi , Ingo Molnar , Jaroslav Kysela , Jason Gunthorpe , Jethro Beekman , Kees Cook , Miklos Szeredi , Nick Desaulniers , Sasha Levin , Sean Christopherson , Takashi Iwai , ALSA Development Mailing List , Linux FS-devel Mailing List , Linux Kernel Mailing List , linux-xfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 28, 2021 at 3:53 PM Nathan Chancellor wrote: > > On Sat, Feb 27, 2021 at 11:49:36PM -0700, Nathan Chancellor wrote: > > On Sun, Feb 28, 2021 at 12:15:16PM +0900, Masahiro Yamada wrote: > > > On Sun, Feb 28, 2021 at 3:41 AM Masahiro Yamada wrote: > > > > > > > > This commit reverts 0bf6276392e9 ("x32: Warn and disable rather than > > > > error if binutils too old"). > > > > > > > > The help text in arch/x86/Kconfig says enabling the X32 ABI support > > > > needs binutils 2.22 or later. This is met because the minimal binutils > > > > version is 2.23 according to Documentation/process/changes.rst. > > > > > > > > I would not say I am not familiar with toolchain configuration, but > > > > > > I mean: > > > I would not say I am familiar ... > > > That is why I added RFC. > > > > > > I appreciate comments from people who are familiar > > > with toolchains (binutils, llvm). > > > > > > If this change is not safe, > > > we can move this check to Kconfig at least. > > > > Hi Masahiro, > > > > As Fangrui pointed out, there are two outstanding issues with x32 with > > LLVM=1, both seemingly related to LLVM=1. > ^ llvm-objcopy > > Sigh, note to self, don't write emails while tired... > Fangrui, Nathan, thanks for your comments. OK, then we still need to carry this toolchain check. -- Best Regards Masahiro Yamada