Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2967703ybv; Mon, 24 Feb 2020 15:28:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxMGbzvhsiueYKyLvENbYSFbwR+hW2otzMWZ2ZPliww7qL00tVK+3RUwlHdpocUsp52MuSe X-Received: by 2002:a9d:7d93:: with SMTP id j19mr44125797otn.102.1582586905698; Mon, 24 Feb 2020 15:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582586905; cv=none; d=google.com; s=arc-20160816; b=X7vS1MPeqKsnJ6IPlPwIx/GoxDG/J79WYTOxUr24fyM+bMO/JpD+fNE2oHOJLHytR/ C66R37D1KfmN+E63t6pHguV6+E7pOC0iaaL8jyd/3uvfrrWZIhY8MqaboNAqwcpGsCkw e9yBZogGegq0elJNsgiIoiRnj3KuyOqEMsjz+Bog4n50MJvOUx5y+vMeSJiIU24LOk80 X6FM5ap5vi2SJZ+AsPHq6N3abD2nRyuhTqYld+QwoR8HncivrWC5H/EBPNfLOdXPdczt QulloyAeuHL5q7R8y2AElwygunpODVbmcdCu2204D5B+T9QpTnHrrD8wCyrajiKGHG6X w9lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TPDmqqc3T4bvngZN/YKdkDbHxV5bVjmqfQ9sRt+vMck=; b=ClanwvY6Zy4WztElZsppIqPYwbeDz3w9iFFFB1rYz11NUyMNdM5joQclkysBWi2JWG NJWINjUDcWReRkdiy2B74Sic1Y0xkX7wK6Qg3BLUGT9kYxmaPcYJeNU5pIdfnmnmu/y+ wv9KkLjUJKshDorBJFG9w6RDY2CzsvAMPMjHWfnXltCRxc0yqaIERE6Injqf11z5XU4W dRF4jqQtLCI/rMQg8hCazRGT/eInmkCC93H1Z81YTJbV/82chkC6EBfbB4F7m0TafuUh XrxrijkHv5tXaiUnVYHQ30kFQYp9b9yYS72CG9PL7cEME/zSO6fK2URfPv8ECSoDMxLW WEmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N4o+TwQw; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si7023472otr.265.2020.02.24.15.28.10; Mon, 24 Feb 2020 15:28:25 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=N4o+TwQw; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728359AbgBXX2E (ORCPT + 99 others); Mon, 24 Feb 2020 18:28:04 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:34986 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727957AbgBXX2E (ORCPT ); Mon, 24 Feb 2020 18:28:04 -0500 Received: by mail-oi1-f196.google.com with SMTP id b18so10733834oie.2 for ; Mon, 24 Feb 2020 15:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TPDmqqc3T4bvngZN/YKdkDbHxV5bVjmqfQ9sRt+vMck=; b=N4o+TwQw5tGeML/iB5VTggO+t0n55fMTtafyIPDjQ49HxPNKhftC/NH245tqS9D+p9 YArS7CizCrq5+kCzLf7agfwy3KLgSnios6NDvFD5YSRjQ4vEd3d4yAZTpL/VuHgSuNEb 5HPgi/UjpjJncMJmtCBizTyBzgMC7o3TmGq7zfjuuymLqJjslI3WWdAlX1TfYHMVUT5L 9EG7gbyuDS/FhhIiIqMMqObDLGZbvxK2YJmhNy1OsHh8sQCkBF2Xv0+oQap8rIv24lJe avtGAU0AUwwfj22S0JzAyO4F8Pm8ETAWCVDmvyhgd3jLpiDUh3oMLkIvjr+aTWC9t2kP QZ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TPDmqqc3T4bvngZN/YKdkDbHxV5bVjmqfQ9sRt+vMck=; b=B0n6e0dpwlkwU7/6wnN5j+Zd6cJQLpnxfRPkP/9PjQ81eDwtqnfbVSAz+o2M9o6IQC 86HTCVCO+KU1qVCZW89gf6SGwJaAiQuXQjTui6wwgh2ZtLrT5hel0qjyw2bVSwplk3+n Mj2BevQp7TUMvEgDErAGscGJFiUudNQmIZVljCLueY15xQdFFmqleMbwTjsYc3oYAO0l 5Ig6zPwvudg+xMntRS6m33vnXyWLZXWTXIW4nnu+WAJwLrCuDh6dLoZgJDmgDNvsoZpP Rsl3zDDPt8sfwpkEJIuwC/uS+6TSoT/Cwg/kdid7kjO7t/sAkGohoCm7s7p1kesGM7+I qpag== X-Gm-Message-State: APjAAAVCjqhBKeWxtusM9jdjBeKg1+abGUfGoGjeTGpMytAOZmUj3AlA 95mYALyh4QCBlnE/pnUUXOo= X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr1148274oij.119.1582586883129; Mon, 24 Feb 2020 15:28:03 -0800 (PST) Received: from ubuntu-m2-xlarge-x86 ([2604:1380:4111:8b00::1]) by smtp.gmail.com with ESMTPSA id y14sm4534705oih.23.2020.02.24.15.28.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Feb 2020 15:28:02 -0800 (PST) Date: Mon, 24 Feb 2020 16:28:01 -0700 From: Nathan Chancellor To: Arvind Sankar Cc: Nick Desaulniers , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, LKML , clang-built-linux , Michael Matz , Fangrui Song , Kees Cook , Andy Lutomirski Subject: Re: [PATCH v2 2/2] arch/x86: Drop unneeded linker script discard of .eh_frame Message-ID: <20200224232801.GA31729@ubuntu-m2-xlarge-x86> References: <20200224232129.597160-3-nivedita@alum.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224232129.597160-3-nivedita@alum.mit.edu> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 06:21:29PM -0500, Arvind Sankar wrote: > Now that we don't generate .eh_frame sections for the files in setup.elf > and realmode.elf, the linker scripts don't need the /DISCARD/ any more. > > Remove the one in the main kernel linker script as well, since there are > no .eh_frame sections already, and fix up a comment referencing .eh_frame. > > Update the comment in asm/dwarf2.h referring to .eh_frame so it continues > to make sense, as well as being more specific. > > Signed-off-by: Arvind Sankar My previous review conments still stand, Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor