Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3056947pxj; Mon, 7 Jun 2021 00:43:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIbpROyZuqMRWJMg737NKELvqY33OO41V1+olSNQGgO6tUy3yR6EGwhKgDr4ByQBr5XO6O X-Received: by 2002:a05:6402:5256:: with SMTP id t22mr5566156edd.54.1623051792186; Mon, 07 Jun 2021 00:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623051792; cv=none; d=google.com; s=arc-20160816; b=Xh0e5ulT5U5S8nIyZUqHodRqKv+Kug4qcsYRJZI59RidwXUk4CMOn7FLVz4zEPdAVk 0DWtOqSB6OLphbxwv/g/VuttV82C9MdBJMwB7JoEnOt4WQOYyKSJcFMczeLeZgjJkEqF PVLnElZCxTe8cLqMxvFmlGHmnXgT2QZN04zZNev2ggB9LURggVHHYZNAzsSqr1POM1je j7xmsR1bf54OoRbnTyBKWfjy1xkoBA60eNcSKidrHnHqKckBD4dxsM9ULEL9N1qd5Pmt Tbol4ay4P1sOjw8pRNuQScItz46niI+eg07GmbcLSu5bnliLatRRyyJ+bNnTKwi9XH14 ObQw== 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=EKJEqB3Q6tIfy2A4ywMNYaG/WTIqmzMmTredZAM1eyY=; b=PEpyXImXz1DOG2mg7yipH3+Q1rBqvZY5GXcelPRTAcyuHjc2qwazHpjYyJmGRc2SpB qx5aNw7m+uOlFJqu0qyDe3QHXDZMwKaDMOXkz+bsSvgfjlDWa8O/LaeqHJ6hTeJ0KHLh eSucHTsOgbILcWHWzOMdl2/K4kmNB+Mfs8UfpMGRhvMC1YCk6Bab5c44Ir5dYzNCrDuL rph4YmF3Xhw4HFnlurFUlB6ZONnQdNOhDF2A/SC1YFyiV85h8SkGpXyONi7qZmEQEVG5 1lPByUQvOOdbzxanNhiGHsNqZGjXLNiaYJzI5XjIyT4PQ0mDYtC/w6794/56CZRTVjyO wQDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rCbmr+PJ; 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 ew6si11158078ejc.63.2021.06.07.00.42.49; Mon, 07 Jun 2021 00:43:12 -0700 (PDT) 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=rCbmr+PJ; 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 S230215AbhFGHmg (ORCPT + 99 others); Mon, 7 Jun 2021 03:42:36 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:63427 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbhFGHmf (ORCPT ); Mon, 7 Jun 2021 03:42:35 -0400 Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 1577e4cr029736; Mon, 7 Jun 2021 16:40:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 1577e4cr029736 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1623051605; bh=EKJEqB3Q6tIfy2A4ywMNYaG/WTIqmzMmTredZAM1eyY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rCbmr+PJtfqOvYdx+tg6tNe+ulGgWc8DM4wPOwDOMxO464uhW3SM4YIp8ouiWr6D2 yFDq3SUMr6K9d+k5CD8oaK0+wjbbkRKpgzxm5gU6Jt6sHwUJgPukt+Ie+EUJidvouB QCipHwGMraBCrfZK+6+YKhTBqf1Ry9qjyiqwPM/8++rBqeoo5ZmqM3pP0yXVOqriyR KAOmcpss4ARyFtb8cITGpqkbe3DgZZR7YsNJvfFhcNz9GrjTi5d/JwxNdvLO3yrTJ5 Pw7WfuQyhmz6+DkHWz7V0TVVxdSewlTy3Q2hCQmMNnHwBP8yFWvNhLBsudkRKgWHHz To5r+JyNQhNtg== X-Nifty-SrcIP: [209.85.217.51] Received: by mail-vs1-f51.google.com with SMTP id j15so8412318vsf.2; Mon, 07 Jun 2021 00:40:04 -0700 (PDT) X-Gm-Message-State: AOAM530ilV7x9BOYsxhMHcnwVwqHaih58l/6kueGfJCzvVlGiGTj+8dd PXKRy3Ke8jMTTkQathvLHaRFAv3O3xAwgDA5ZIY= X-Received: by 2002:aa7:99c9:0:b029:2e9:e084:e1de with SMTP id v9-20020aa799c90000b02902e9e084e1demr15812551pfi.80.1623051593156; Mon, 07 Jun 2021 00:39:53 -0700 (PDT) MIME-Version: 1.0 References: <20210227183910.221873-1-masahiroy@kernel.org> <20210228064936.zixrhxlthyy6fmid@24bbad8f3778> In-Reply-To: <20210228064936.zixrhxlthyy6fmid@24bbad8f3778> From: Masahiro Yamada Date: Mon, 7 Jun 2021 16:39:16 +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:49 PM 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. Is this still a problem for Clang built Linux? > https://github.com/ClangBuiltLinux/linux/issues/514 I am not tracking the status. What was the conclusion? > https://github.com/ClangBuiltLinux/linux/issues/1141 This got marked "unreproducible" > > Additionally, there appears to be one from Arnd as well but that one has > received no triage yet. > > https://github.com/ClangBuiltLinux/linux/issues/1205 Same as well. > > I intend to test this patch as well as a few others at some point in the > coming week although I am having to play sysadmin due to moving servers > so I might not be able to get to it until later in the week. > > Cheers, > Nathan > -- Best Regards Masahiro Yamada