Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4771513rdb; Fri, 15 Sep 2023 11:42:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEP2Ys7+U3jUAO5fM5eKS0PyyRewC6CyePlZ4/I1pa7dFJuqT1bDpBg3RrFW3lJABD81LAM X-Received: by 2002:a05:6a00:134e:b0:682:537f:2cb8 with SMTP id k14-20020a056a00134e00b00682537f2cb8mr2794740pfu.26.1694803332543; Fri, 15 Sep 2023 11:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694803332; cv=none; d=google.com; s=arc-20160816; b=art3+NgJBraZfC5geLIWBSHGUNhNdBGSKAJmxip37CokXix7U+JsoaHQ/nhrUwZ2Bj 65JkUnhU8Y8Sh4+mVe1ZvJjExjOrbfFIsO7Tz54v/PDC6MBXcmteDZntEnu8I4cQZvfl nVl38vG2kYZPanWCLJ/ehwrXmFSM4wR3emZ76Wf4+xW3nTlaVrBX2O/Ky+o2IcXErwAl zGQ1o50PkrcR7M8anTVDsB3qq7xvm2z1JBU5pq3mc+GUn8h7KIejvfHSl/YFcvoXmHO6 lQScOuTJa1tYQbvDpp+AhCIzg80tBqffYcg0/X1XvbyuSrWvRQm657tB0uLxdrRCkmwz zHjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=JAHknuPjRCck/JX8RUL3+KL63xpes/+m8hC0sxTxp0E=; fh=Ks6uqCWcvLHCBPe032MNfWLdR2+dJcgPVuh8uW4J1jI=; b=aWkJO9dsfA/Igbkvx+Bkl8muBss1P1sPyOZifPniUlz9e42ofOOCrCytEZOWVyKSP/ UAn57bsEjMBkEwGmt7jsEk1l0T8r54iUg8GcA3m/VoWku4vV4ASXyc/j9VDg/jMb1CRQ 3aMdpIummUO2jHBrgJyLqUCPMDhmi5Q+TFEQiueGnwMQ0Yqq149N3bc6BdTQgL7j+Lyd XAhzXgpY5j95PmYTcv0A2LH6aIu8pf4CyRBc46IiUzM42vIBQZZwsaVQHExwoCOAmyY6 eQRmitfbarSg4GgVWn1xX7voH3GkHWFMcHZr+d3U9pzC423Spg8jDOO8SvlPXL9dD+fG sQiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZYoE8ww/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id fb20-20020a056a002d9400b0068fe0125a33si3789636pfb.37.2023.09.15.11.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 11:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZYoE8ww/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E8A0F83669D6; Fri, 15 Sep 2023 08:41:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235884AbjIOPlB (ORCPT + 99 others); Fri, 15 Sep 2023 11:41:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbjIOPkg (ORCPT ); Fri, 15 Sep 2023 11:40:36 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A8FDF3; Fri, 15 Sep 2023 08:40:31 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-403012f27e3so26355755e9.3; Fri, 15 Sep 2023 08:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694792430; x=1695397230; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=JAHknuPjRCck/JX8RUL3+KL63xpes/+m8hC0sxTxp0E=; b=ZYoE8ww/fzhlEKWf7lQCp+o3/3Ooiio2kzXhC87rC6s/Mg3Kuzd/EaMJug0eLCUx6O kyJUIa2Tu4ubzwE4sArypG89gvLZVH9YpNFS8lburHN+w4G+D/qML4KN5EaFP6yrmnnS 5xvpejhd8GuXfDJahMIK/kObVaCk2omGs7yghMCcc+SXLhvkR2MNpsSe1co1o6WaEAEA EuqotbS/DvCsW6JvEZRGr7wG7dDGdjyZDGHPFuGMHughN9+ljBfSnYbxavGzgKcc1avW 4N8LkZI4lg3kiClYnWIe4kFM0ATXTbgdvOAYvfZnIjYhIgLmPznEETlSFA8BV95QJNnF qwxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694792430; x=1695397230; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JAHknuPjRCck/JX8RUL3+KL63xpes/+m8hC0sxTxp0E=; b=wm7jyOGGezdV0Pnf4rMt3AvLSPhZ/y1iKM98ApBKiaEQSGLDivMzkGeS/1/oZmyHA5 /duwiES23xVQVpUbzMfoD+yChYgjRDH0XBYJnNuvxZofVDNg0b7NkFXEZZTwbUxSMJRq w0C+CKzbD1uwTpnoGbH+FALyl7a+I+f8tSAHm4WEBUvZqlWI8Ptr9srXOGhdylspiMIc QDuUEFh+bTZ9vE5aOom20moBj4SkgzMBcC2PKzc6YWHXC2HEyf/yGsUG1tPpGGd7zmZf R/Led6oCgu2QN0RtrXVWNDTkIWuUqNtw3LBv+5Y4DxyHMwRiYbQkhz2sGmRV0PNZnv3/ tSAQ== X-Gm-Message-State: AOJu0Yw0fzQD6CjSvyC+hO0buoTOlg2Q0+/4gVMzGbS/f9HbubD+bD/T 14yZ4PadXURuYFVCqyS9qK4= X-Received: by 2002:a05:600c:3641:b0:401:b652:b6cf with SMTP id y1-20020a05600c364100b00401b652b6cfmr2118832wmq.13.1694792429612; Fri, 15 Sep 2023 08:40:29 -0700 (PDT) Received: from gmail.com (1F2EF265.nat.pool.telekom.hu. [31.46.242.101]) by smtp.gmail.com with ESMTPSA id f2-20020a7bc8c2000000b003fed70fb09dsm4972456wml.26.2023.09.15.08.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:40:28 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 15 Sep 2023 17:40:26 +0200 From: Ingo Molnar To: Ard Biesheuvel Cc: Ard Biesheuvel , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Evgeniy Baskov , Borislav Petkov , Dave Hansen , Ingo Molnar , Thomas Gleixner , Peter Jones , Matthew Garrett , Gerd Hoffmann , Kees Cook , "H. Peter Anvin" Subject: Re: [PATCH v2 08/15] x86/boot: Drop references to startup_64 Message-ID: References: <20230912090051.4014114-17-ardb@google.com> <20230912090051.4014114-25-ardb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 08:41:05 -0700 (PDT) * Ard Biesheuvel wrote: > On Fri, 15 Sept 2023 at 11:15, Ingo Molnar wrote: > > > > > > * Ard Biesheuvel wrote: > > > > > From: Ard Biesheuvel > > > > > > The x86 boot image generation tool assign a default value to startup_64 > > > and subsequently parses the actual value from zoffset.h but it never > > > actually uses the value anywhere. So remove this code. > > > > > > This change has no impact on the resulting bzImage binary. > > > > > > Signed-off-by: Ard Biesheuvel > > > --- > > > arch/x86/boot/Makefile | 2 +- > > > arch/x86/boot/tools/build.c | 3 --- > > > 2 files changed, 1 insertion(+), 4 deletions(-) > > > > Note that this patch conflicted with a recent upstream cleanup commit: > > > > e78d334a5470 ("x86/boot: Mark global variables as static") > > > > It was trivial to resolve, but please double-check the result once I push > > out the new tip:x86/boot tree. > > > > Ehm, I suspect something is going on with your workflow - did you > apply my patches out of order perhaps? (/me notes that you seem to > have omitted patches #7 Indeed: patch #7 was not in my inbox - nor is it in my lkml folder: 664225 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 04/15] x86/boot: Remove the 'bugger off' message 664226 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 05/15] x86/boot: Omit compression buffer from PE/COFF image memory footprint 664227 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 06/15] x86/boot: Drop redundant code setting the root device 664228 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 08/15] x86/boot: Drop references to startup_64 664229 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 10/15] x86/boot: Define setup size in linker script 664230 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 12/15] x86/boot: Construct PE/COFF .text section from assembler 664231 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 13/15] x86/boot: Drop PE/COFF .reloc section 664232 Sep 12 Ard Biesheuvel | ├─>[PATCH v2 14/15] x86/boot: Split off PE/COFF .data section :-/ Very weird - could it have gotten lost in the sending process, on your side? Thanks, Ingo