Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4618394ybb; Tue, 24 Mar 2020 02:03:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtNzikop/DHkwBr/+79Dw04ChyLCDszQ1Vu/ncM8abJhzdd4BKyuWtZfOyWMr8OF2U4zuFK X-Received: by 2002:a05:6830:231b:: with SMTP id u27mr11660662ote.111.1585040635794; Tue, 24 Mar 2020 02:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585040635; cv=none; d=google.com; s=arc-20160816; b=G0U0Za+olgGWpxVt9yz1ct2tZF1ydWu9/Gx85xyKFjTKwRmPqLEWOBM9s89Cg5S5WF bOrBnBfDrHOIzKmuKqGt1/vJovK/Y+yCFb7C7Wy/Ak0AWwqoV/yVCqltEvx9B6aBXFYA 4loOH+GnU8ySqCd4yrryKimKHeN33bBwsYxDjnKeEUW0TXSjzf2Ebj920FDzBBJM//HE a6fudoTl9zp2JOdABtUpg2oHvBL6hKq1wlA3g/kVGnqBSeOh0ZM8P/mGdLyDPrmpKC07 pMiuiw0L0jdBwnTITpSEL8ibQkCYXIWG/+/K6twmRByDiUcR7d/CJcChaPYTwmDcRl2l q99g== 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=rPKfr4YNri5mx4ExgQkvbpN9SAEjUcUEL+qitgoFUcM=; b=aEgisBWdJWy9W/FoUB/6t/wSheyyqXqLOykHTp1K8fsKi1BgsdaOl3WtWknxpukpsi /2sjY7xJlnz2JjRy5SU84Hh5AzP3P5LpjEYmQHFHkq/o9ZY6Jn5EK1nP+A3rCYcd/W0A lmk+ufiZF8oU1SnP7uJCt/9XnmwejbtRX475ba37olqKHifXx5bvq4q70Up1IYOtDD45 lQ5/Ib6q7rmQDWglx9fLrMbq1leqxxbvkWMLpraeyDz4y9wGb3ZVEMoBmJxVHG5e4kBW hqNlppPUEu7Vv9RK8KTDSPTsI5qLsEM5JRyioU5rIBqilYxqjWvyw8zI//Jtfetsv3RK 1VVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="ER/h59XV"; 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=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 91si1824939ots.139.2020.03.24.02.03.30; Tue, 24 Mar 2020 02:03:55 -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=@nifty.com header.s=dec2015msa header.b="ER/h59XV"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727066AbgCXJC6 (ORCPT + 99 others); Tue, 24 Mar 2020 05:02:58 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:42291 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726524AbgCXJC6 (ORCPT ); Tue, 24 Mar 2020 05:02:58 -0400 Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 02O92cga016626 for ; Tue, 24 Mar 2020 18:02:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 02O92cga016626 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1585040559; bh=rPKfr4YNri5mx4ExgQkvbpN9SAEjUcUEL+qitgoFUcM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ER/h59XV0NCJgbtMZfZf38kal9Kv1jeZrtlxjOclcBuU+oj+c9pD84KQeBtEm1LT8 i36Mw6/lIMASnqnPr/pghVd0/iIzuOsb+CRw5HdwlqHSywTY7KDmH9iAaL3XaeSoXp Kg5ZWe7Plk2ec+hfQUe9izZDvEb4nT6oIA8ZU1zJ5aa7ME0sANz6FxZs3fgD9RxBEa /PF/hGO6PY+gOuYDkc4Xqh5cPHB4nPGo9X+x0ielI6rnvi4lSnkEPrHSXULuqJiSk8 a63L/zQg1kyOumKJuWfLczVsB/6FBxFBhOWSLgUVBY8rqXOE8zqXAyWzFMA/Th5nII y5t2QcsTfzUOA== X-Nifty-SrcIP: [209.85.217.46] Received: by mail-vs1-f46.google.com with SMTP id b5so228363vsb.1 for ; Tue, 24 Mar 2020 02:02:39 -0700 (PDT) X-Gm-Message-State: ANhLgQ2HmVyc8KuvB4CLU8nlcTuHWmFk105qZa9YEqyj6aBhoIcZY4Tq H131O4cCDSrObfFkzarr6iD8npPGECxABoagubo= X-Received: by 2002:a67:8745:: with SMTP id j66mr17591587vsd.181.1585040558389; Tue, 24 Mar 2020 02:02:38 -0700 (PDT) MIME-Version: 1.0 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> <20200323204454.GA2611336@zx2c4.com> <202003231350.7D35351@keescook> In-Reply-To: <202003231350.7D35351@keescook> From: Masahiro Yamada Date: Tue, 24 Mar 2020 18:02:02 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Documentation/changes: Raise minimum supported binutils version to 2.23 To: Kees Cook , Borislav Petkov Cc: "Jason A. Donenfeld" , Arvind Sankar , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , X86 ML , Linux Kernel Mailing List , Thomas Lendacky , Mauro Rossi , Michael Matz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. On Tue, Mar 24, 2020 at 5:51 AM Kees Cook wrote: > > On Mon, Mar 23, 2020 at 02:44:54PM -0600, Jason A. Donenfeld wrote: > > 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 > > Can you send these now and we can land in 5.7 with the doc change? > > -Kees Kees, I folded this patch into the following series (16 patches): https://lore.kernel.org/patchwork/project/lkml/list/?series=435391 This patch (14/16) is a prerequisite for 15/16. Borislav, When I forwarded this patch, I fixed up one more line. (changes.rst duplicates the same information...) Please see this. I hope this should be OK. https://lore.kernel.org/patchwork/patch/1214519/ > -- > Kees Cook -- Best Regards Masahiro Yamada