Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4111405ybb; Mon, 23 Mar 2020 13:45:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuPoEjTymQR5Cg6zcwL+cMECGL7tKpDSevI2OT0fZw8uaH156xQTzwo5YkCbVmJdvhTUccL X-Received: by 2002:a9d:3603:: with SMTP id w3mr19662858otb.94.1584996350677; Mon, 23 Mar 2020 13:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584996350; cv=none; d=google.com; s=arc-20160816; b=ZJiv/JkPOpSeoDrLckrzQePtjRCUvsSH3T43o+F8vuFhUjOso//+r90qgmYb4PVXms IfpdG7Fmm36ftHX/jydpk3XJgiuKfm/Qef6CjtsoZKrYQ7NFiHV9c0HNfF2/hwJYW39h R2Jnbec7ucP+aK2Zfko3aksk40v7jp8+7ePA1phFp6D06FMkFKvtzcMdxyBzWfpy8xSA IafAiep2DAAh7r8ZunoIuu4besmJnmr2p8/dHUyKvmNqsCsmozFm/2K2xmMK/A0gQwTe fZxyCL6tqMMrlwAeMQopsbZe64saqZbJCyUucoeJUif4yXtQviYFIOzAWgC2NN1oGgo7 aU8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=jpdHy5QUiBbrshOKpo8Z9PXAi/Tuwh1HSACRzASiUO8=; b=CB85tQQqq/vmNOL/GrwmFpW1G6DlL6DeQMumZxsvTQV044k8fWbkqXA5FHVsnHxxS9 HSbFafiGvE0CoCCivDpctxN5C82+lRIklmdppjsGHIygWkrCsbwPd3OTIpnZUw4MT1sm nDI1t3+KxfN1J1V2KF663y3Gjp7rhoIdT8095LahU5IKHdXVmVxx1Z2nczGft3KEObKC l0Mu9xjoIxXdbdrRcWSHwbdhADGMu5UGB/24h5yjy81kXsjvRpFeXtSBweScF5Yp9cII eTg0NR683dQLZJRhb49es77VOJQ1izOA5y7rC2zypldA3HGOJlm3IuS+iSRKi2LSXTG9 GcBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=EQ3ZqVc1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si7843168oig.220.2020.03.23.13.45.38; Mon, 23 Mar 2020 13:45:50 -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=@zx2c4.com header.s=mail header.b=EQ3ZqVc1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726986AbgCWUo5 (ORCPT + 99 others); Mon, 23 Mar 2020 16:44:57 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:35063 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725844AbgCWUo5 (ORCPT ); Mon, 23 Mar 2020 16:44:57 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 34bb9f45; Mon, 23 Mar 2020 20:37:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=mail; bh=lO1tfTg2EiIAONfM9UiInlqel2I=; b=EQ3ZqVc 1rOs+mxB/P0W1ebcdTeJHplIaDOV4gL8GTuteSAFNQypSC2uNxAv+ikkkQasf/BD 6id/edk4fHX6E8Oir60ULnCpPr+adAC21hmJWWsBeb7JCFmbfPbx8VUtZEqDV6Mp 2VBkY0KCJejYuRfxx0NAV53yy1WRzY+6lF0zqOj1hmqVUGSXvMU0K4qIiodNtIwn R2Wrmtep+hxGsSav/c/i3ChzI3jsTMc6UssD6iX5v79hETPfZ/aSed4bEPRxBxmo A3GTxzh/k8Pmx5SanmBdb1lIv/VgcZ9iX2kBuRWfOiHXnJHPqABSXiHLWnsjvJUP 4uPVzzqwvqnNQXQ== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 17584a94 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 23 Mar 2020 20:37:53 +0000 (UTC) Date: Mon, 23 Mar 2020 14:44:54 -0600 From: "Jason A. Donenfeld" To: bp@alien8.de Cc: Arvind Sankar , "H. Peter Anvin" , Kees Cook , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org, Thomas Lendacky , Mauro Rossi , Michael Matz Subject: Re: [PATCH] Documentation/changes: Raise minimum supported binutils version to 2.23 Message-ID: <20200323204454.GA2611336@zx2c4.com> References: <20200113161310.GA191743@rani.riverdale.lan> <20200113195337.604646-1-nivedita@alum.mit.edu> <202001131750.C1B8468@keescook> <20200114165135.GK31032@zn.tnic> <20200115002131.GA3258770@rani.riverdale.lan> <20200115122458.GB20975@zn.tnic> <20200316160259.GN26126@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200316160259.GN26126@zn.tnic> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 16, 2020 at 05:02:59PM +0100, Borislav Petkov wrote: > Long overdue patch, see below. > > Plan is to queue it after 5.7-rc1. > > --- > From: Borislav Petkov > Date: Mon, 16 Mar 2020 16:28:36 +0100 > Subject: [PATCH] Documentation/changes: Raise minimum supported binutilsa version to 2.23 > > The currently minimum-supported binutils version 2.21 has the problem of > promoting symbols which are defined outside of a section into absolute. > According to Arvind: > > binutils-2.21 and -2.22. An x86-64 defconfig will fail with > Invalid absolute R_X86_64_32S relocation: _etext > and after fixing that one, with > Invalid absolute R_X86_64_32S relocation: __end_of_kernel_reserve > > Those two versions of binutils have a bug when it comes to handling > symbols defined outside of a section and binutils 2.23 has the proper > fix, see: https://sourceware.org/legacy-ml/binutils/2012-06/msg00155.html > > Therefore, up to the fixed version directly, skipping the broken ones. > > Currently shipping distros already have the fixed binutils version so > there should be no breakage resulting from this. > > For more details about the whole thing, see the thread in Link. That sounds very good to me. Then we'll be able to use ADX instructions without ifdefs. Acked-by: Jason A. Donenfeld