Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4477647rdb; Fri, 15 Sep 2023 03:38:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzwuMOhaOWumeA+G/y2lvUBgNtJvzMdY8CoFPXJJD0lb1C8yZdi7UXEL9fJwfrvkzeFNSi X-Received: by 2002:a05:6870:1606:b0:1b7:5e47:5b75 with SMTP id b6-20020a056870160600b001b75e475b75mr1092915oae.4.1694774298051; Fri, 15 Sep 2023 03:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694774298; cv=none; d=google.com; s=arc-20160816; b=MKd3/cNyfxhCeaG/o8kFFjZ98bDhZ80wwGa396HfsmymX1ovo9aKe2uZITmRx5dWfN Uh0Fd/uZNa4jIjHnVvMcQPM5kJ6VXdXmDAxzZLGHHDy+PXV7DRe8Yk/TGYP2eZ2DPxYe 7UeqDZs2FPVAlSVFfACCeTngqONVmnqkttuyMdrjFAs+qFoAHbt/IZ0ykda+FedJrOqx DLJQO53325bbOvcfCk2gI3SbehUTJbmH46FcwROhrZ8b2SJySfTMOHcHfRulYR1bFuFV st0Sqg2tUCruuxFpGYTNtNBNJAknpJ7BB2q1BNSRa1PLWbZiBdl/NP+Cb+kj5aGoexAZ oKfg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=kVhExaS+jpAetFeQXoeolqqnZwsqI871bgvTQiw9kKI=; fh=vJ6fmEisYJR88BhSueLHhxgFsRRI6GvWeExonBLHOlQ=; b=igkn5gDooRIIn/uDIaVLwgZmDOBTjhiWab75R1DZXpTpcO6j/6ySctp+noH7LmTYlB YgpPYlPdVAFHK3OOXZk+ALmeb88eO77uiSNStf3dAD8drt0jP86DZosUuM8hbg5xvcwT G+MU4tuev+jFQhEBKvEND4qvalzOVX1Oy6bJyLmJkTbLuAIj1ePYm/tVCpULuTjr7ko3 jWI5AJa9x9KtL+PzeAD/+n0JyA+4m/snuNTK2g5rywWZqrKR0r4XpevyWG50lajkl8yM TOcT4BOXn4oWV00Ijb0zikDc2rtTIhZusDBEeqAkTSPWSIv4ar8ngpeLPIDDDGkIZJ6A WmXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RfBckr6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b0051b90567f99si2925402pgb.690.2023.09.15.03.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RfBckr6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 95D25807C86A; Fri, 15 Sep 2023 02:16:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233438AbjIOJQI (ORCPT + 99 others); Fri, 15 Sep 2023 05:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233430AbjIOJQG (ORCPT ); Fri, 15 Sep 2023 05:16:06 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F8B72D42; Fri, 15 Sep 2023 02:15:48 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-402d499580dso20562345e9.1; Fri, 15 Sep 2023 02:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694769346; x=1695374146; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=kVhExaS+jpAetFeQXoeolqqnZwsqI871bgvTQiw9kKI=; b=RfBckr6H6V+4TDJBGvjRrenGnuQ13Z/a6dmULQnXVIBgWyt/KtMDk1Elzd7KMWbdyz ve1bg92I34MEs46ude8uzZRcdWe0upYzFpS3rEN/eCCAb45adNAehjZ5hhMqsPRtJLrd Zw8pfiBZfhQ//kVMLWraV7D35mi9cFo53Lk+5ObsivX4O4k/ZUKTj2rAnu7Dhd4kjH1h KOMyh1p4rn3RhvP7OP8z9YtbFOKtfQXSuwk7YkPrV5sL7Cydi3tsRcrVzYNxExtRAz6A SxROv90SFo06iuNX5Ef/n/4n6aB4V774dvtL/N2fh4Xol+Z2OJff56n+3N8koflTzA8t CQ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769346; x=1695374146; h=in-reply-to: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=kVhExaS+jpAetFeQXoeolqqnZwsqI871bgvTQiw9kKI=; b=kf6Kr4Vc/ySreuGkfTPHzL1SrsBf/vUPjOF5X3JKWv2CWXH2CKAT8LiCBEv8zh0OLf MdUs/YntjC9E4/g7lVNDJurr5uDeai5TqJNf4Zc0hQRHT07ubEKjIheLwyDTATTkWUWA 9M4b2c+jONxcxWgC6F9W/RXl7RgUr5Q1O8v/cVLTwdvD5avhbC6ZOhkCvaP7wIj2mQRp uEjfOUsoN0Q0QsBhgUQ4kpMUl16L/SmF8FVH1SJ/luyVJnBOYi3GW3sai5Y6UhhultQa WhVbMX7rjLNOmCxk9jWJnuVOz1zR5lSU91zFQSWt01U0WQpdHG540M3JPUAAZMUtak2J qlhQ== X-Gm-Message-State: AOJu0YyxXby0Wbtti0sNk0lJfCxFeLafWrLV7cq6gcC1Ns4fG6xeTbim gXbmU6qUtNEcAEo+ilRnuxA7LP/oqac= X-Received: by 2002:a5d:550b:0:b0:31f:d95d:20af with SMTP id b11-20020a5d550b000000b0031fd95d20afmr876814wrv.10.1694769346375; Fri, 15 Sep 2023 02:15:46 -0700 (PDT) Received: from gmail.com (1F2EF265.nat.pool.telekom.hu. [31.46.242.101]) by smtp.gmail.com with ESMTPSA id y15-20020a5d470f000000b0031981c500aasm3909605wrq.25.2023.09.15.02.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:15:45 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 15 Sep 2023 11:15:43 +0200 From: Ingo Molnar To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Ard Biesheuvel , 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=us-ascii Content-Disposition: inline In-Reply-To: <20230912090051.4014114-25-ardb@google.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 02:16:07 -0700 (PDT) * 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. Thanks, Ingo