Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2677790ybv; Mon, 24 Feb 2020 09:29:35 -0800 (PST) X-Google-Smtp-Source: APXvYqz/IgC4ZY+YwMuIBYL/olImNequ9DxXhLV4hwzomdqXH1orerm7R+Y05ZTjzm/k60aoh12N X-Received: by 2002:a05:6830:194:: with SMTP id q20mr42324882ota.92.1582565374807; Mon, 24 Feb 2020 09:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582565374; cv=none; d=google.com; s=arc-20160816; b=osTBvVrp32fawKPwMC28BPzN3dxqmxlcdUrvFCGW/AHULvH1CeTDM7JdJpFx0VDVvZ 7FzJnkjWk/NqY2Zn5ujG3+0+melpGBoHWDCJaM8PRqi1OWUMYAubgDhK5ehjghG0S7q8 ma5j0fTNRKUjp8sqpsr5bNOAo5uwY4ZwfSSrvImSLZujJhT8jlMUljK5kF1groE2b5t+ wa6AuxAD5sMSMoyWuy2zm5ZL4Qjqlz1fPxoDRsdyGsZ1NEafrNyViShJS3AGvbe3wJ0L 5AQRKIpbszhddPMXiy1X5Me6E8uP/yyru12xCIy8DcSIgz4lXj+xtTNxHHb+20NLw0j3 hHKw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:date:from:dkim-signature; bh=fkrdTkaLK8LsFSzQaFmY694I4SUfdUSLTGI/jzws3rk=; b=UWAqAMZngNa1kNdJ2Bri+HjkBkFLjuLJq30tuNjIeEtvqY0e7anVJQs6MZud2onUOB 9QcH0879SnXPxwLCiT9vOomxbXOeXAu3U9c5pKWKhBK/OuezxJaBLUIkxGfm/8ZeNsiS kDcnUJCCXTLGf5i2ILEbFystdzW8NGyvDP4Pp0AW8wTGfoGh4qQHdPfA/9F5Xlz08FH5 9w1oF47kSgANe1vDjaALBLk5cwvPZRDpE2nngu37hw0USj/HRLUEcNKi3Jb4ILDL/Lgd CC026lV0Zlq3G7ryr0ku+O6pZ3XxEtdRNgOY6mgLTcKqjbEPC/mPipywbxJakD3QxrJZ 27hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=V+e0zaub; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si5937841otp.124.2020.02.24.09.29.21; Mon, 24 Feb 2020 09:29:34 -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=fail header.i=@gmail.com header.s=20161025 header.b=V+e0zaub; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727982AbgBXR3C (ORCPT + 99 others); Mon, 24 Feb 2020 12:29:02 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:46278 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727644AbgBXR3B (ORCPT ); Mon, 24 Feb 2020 12:29:01 -0500 Received: by mail-qk1-f194.google.com with SMTP id u124so9345577qkh.13; Mon, 24 Feb 2020 09:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=fkrdTkaLK8LsFSzQaFmY694I4SUfdUSLTGI/jzws3rk=; b=V+e0zaub0CggXtFAk2QyuHHSqeqOowEm0cVWsFdYU7UeEwGcL9JGnjfbOkgOnAsX7q HzMiE+p3hQhuyAbQm7j3tdn9cXC7CwUbMm1mM1EW0p0nHcnW+7cZEzJ3oYd3WYKeUDyE RyPStmdm54SFqr1FTm1KmWbb6j2ZhYQrmYPezgrB02COTHifRGx+bZY4OnHiBUi3dJ6L sijV8YPmkIoV2MucDWW12TUDGdwvd0RUz9o0NHUs34fCvtakMz+lRJGuoW+eBFCU4bik eEXi4UbwpfqViyR4zxdzc3PmQC0b1BUK/Ib9z79eDhxlJuDlHxh/wywU6WmB+gzPJb0g bzCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=fkrdTkaLK8LsFSzQaFmY694I4SUfdUSLTGI/jzws3rk=; b=Pp0sydAL2jPsD4/LZISXDyJkq/6HNSkFafRP0dmz+3/aUQ7MqLFa7CAORbdFXEbNfC DtVJTBSIJwYZlBcT5iJjsjWZAZ0/0rK765pDf8tMKbOZXkxpXf3mKnjyzr0N2pZxV0z0 SrFtT//aLOo9y2yUcGPoTafEklhQ9O6wVHKgQ5pobQGSddFNG/v1WiyM0rZEZJIjFtkE esYmj92wlJlxg1x13EjQ773WTPzexZc5eqHqYbrtJWBHFFehSQRg9lljDakwB2PygvpF l+8BTpkSpYIun6+R+ssh1nyV3X7S1q64ZkHe/CR8XfCGVfNh7ByqvdGVDkdJ86UlxApx FGmw== X-Gm-Message-State: APjAAAUQ1E+DPryp6n9d8YWThzPmORT2R1PRXN/AxrPWC3hu7STVI+0H 5NQZfzdq6dmhAP73Hsci82E= X-Received: by 2002:a37:4755:: with SMTP id u82mr49108164qka.43.1582565339365; Mon, 24 Feb 2020 09:28:59 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id q5sm6107440qkf.14.2020.02.24.09.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 09:28:59 -0800 (PST) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Mon, 24 Feb 2020 12:28:57 -0500 To: Borislav Petkov Cc: Arvind Sankar , linux-tip-commits@vger.kernel.org, Nathan Chancellor , x86 , LKML Subject: Re: [tip: x86/boot] x86/boot/compressed: Remove .eh_frame section from bzImage Message-ID: <20200224172857.GA334627@rani.riverdale.lan> References: <20200109150218.16544-2-nivedita@alum.mit.edu> <158254422067.28353.10866888120950973607.tip-bot2@tip-bot2> <20200224164129.GA312716@rani.riverdale.lan> <20200224171618.GA29636@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200224171618.GA29636@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) 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:16:18PM +0100, Borislav Petkov wrote: > On Mon, Feb 24, 2020 at 11:41:29AM -0500, Arvind Sankar wrote: > > Hi Boris, apologies for the confusion and unnecessary work I've created, > > but I think the preference is to merge the 2-patch series I posted > > yesterday [1] instead of this. > > > > [1] https://lore.kernel.org/lkml/20200223193715.83729-1-nivedita@alum.mit.edu/ > > What guarantees this would work and we won't hit some corner case or > toolchain configuration this hasn't been tested on? > > If that happens, I need to have a state to revert back to, i.e., this > patch, discarding .eh_frame explicitly. > > So I'll pick up [1] too, but give people a couple of days - a chance to > complain about. :) > > -- > Regards/Gruss, > Boris. > > SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg Ok, note that the 2-patch series assumed that it would replace this one, so it doesn't contain a revert of discarding .eh_frame explicitly for the compressed kernel. The first patch of that series at least should be safe enough, it will stop generating .eh_frame sections in most cases, and shouldn't make any edge cases worse than before. The second one might be a regression if we do have some case that still creates them though.