Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4588741rdb; Fri, 15 Sep 2023 06:52:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMxWITXrxUoK0YODLdyp6DTKOMNw9bG68prLy/WZdICV6VCIkiq2s0IMvxWvE+tEJXyXEc X-Received: by 2002:a05:6358:9920:b0:134:d617:e2c9 with SMTP id w32-20020a056358992000b00134d617e2c9mr1534622rwa.29.1694785942046; Fri, 15 Sep 2023 06:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694785942; cv=none; d=google.com; s=arc-20160816; b=yQGe9oBqQm4aC3Vi/4VQn1lQDMVvQpbOLyak4dV+G+9h1oziifBquME+e/xJEl2WxC OrYOpmO1x8ZwhKXGTvznvLa3NacIzMQmLY6OJeZ1FQwTBNC2p+/KOQeG4HB3GelETlU9 SlIT1Pa5PfMYaPCkqeNWcxWiRB/qPwbVhdysqjnicxXzkWs1RgfUmOES4tGQHEVRzUVc 64rTMeqkhNaMzz1Hs3t0HyvQ2xIK/GP1Xr+TirUdcpg1Ly0K7J6rK+FdrHQB8/QvAsb6 AVfZnrOm9Zn9oKZaPhRTvtagmFr2gasIrA1+944tcV/PbjOl/hKRc7KjGKO7fxbTcpRw R9Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UrNcQ1jBiaSOKjciCYgrpqaodU6f7ODiAUdhhFI9oRY=; fh=mi6oB1QU3eEZL0kZvrBUIZCRad5ObShpP4kPH/vn5JY=; b=Aj2euTPWczJ2bqVdre2wo34UlD4rtxsWwnP4l4xLKGkR06Gk5TE3CJPBkZparT/lGg RzBZgqHuM072wkK7zMWdLxpeChw8AgWSc7jXBjxHut5Vsf9HgVnOY1VeZHodR1/fijiP 0yLj7ASqbtIwv6E9hnskMlW9gKZer1Zg5+xn7L3Sa3kJ8txSHcumm+8wfb31d9IQKy3Z JTK0jf0yR/X8RZ2Sgl93S86KwQuB6T6lBMp29O3EJ2oqrxZH/C19Lwje9aRXNBwq8dgZ 5pBkEoHIcPSJhgUZW7WF8uwMDJSEEcJdzSbUgskZXnhblBfX72OXBxFS0acZdKwu0SJG PUiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=somAZDlU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h184-20020a636cc1000000b00565dd108fd4si3166451pgc.115.2023.09.15.06.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 06:52:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=somAZDlU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 0BD0A82EA171; Fri, 15 Sep 2023 06:49:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234736AbjIONtT (ORCPT + 99 others); Fri, 15 Sep 2023 09:49:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234614AbjIONtQ (ORCPT ); Fri, 15 Sep 2023 09:49:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA3092119; Fri, 15 Sep 2023 06:49:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B737C433C8; Fri, 15 Sep 2023 13:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694785750; bh=vh7X5SCmx9den/1/AL1Mc91AAdBpMVMeeSvHS/YS0XA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=somAZDlUnobuWTK5V4Kc2ga8ruahmFYfRnJfk1Fbsq2JiCaFqHzikGvggDLjZl2s4 Q5j9dhN0Uwh/bO9Ris0ZtyASMst152c0CbS/OnA32kPAI1NCZPEQprJUND+doDJ5rm dr73XkzK5Rai8EVkm6TFPA5dvr5b2BovjAwL4ny58XepCeDAZ0fXzfa+QzcAWb6dTm Se9fKVUrUDA5kn4nGdQ4CDI1IIeSzamiJaeFCj7pO+4AyeeC+24D8sg9A16gwKg3al bXGO+EZdPaZ7AzJ6ffmevh0ksZ7tLjkHyX5S8vcMKhMLTyxsIhTtPRFBp5EvBjQZuk qHxp4aDfDiK5A== Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2bfb1167277so35230581fa.2; Fri, 15 Sep 2023 06:49:10 -0700 (PDT) X-Gm-Message-State: AOJu0YxPGTXhjpy90DPrbnzwdn0wxG3EY60uR7/riDzMYpQvIAGchWib dWQJB6UPbAroPdVR5l3vkfEbQutDnKGy8Bq6RFQ= X-Received: by 2002:a2e:848a:0:b0:2bc:f756:341 with SMTP id b10-20020a2e848a000000b002bcf7560341mr1496024ljh.35.1694785748489; Fri, 15 Sep 2023 06:49:08 -0700 (PDT) MIME-Version: 1.0 References: <20230912090051.4014114-17-ardb@google.com> <20230912090051.4014114-25-ardb@google.com> In-Reply-To: From: Ard Biesheuvel Date: Fri, 15 Sep 2023 15:48:56 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 08/15] x86/boot: Drop references to startup_64 To: Ingo Molnar 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" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 06:49:19 -0700 (PDT) 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 and #9) The patch you refer to is commit e78d334a5470ead861590ec83158f3b17bd6c807 Author: Arvind Sankar AuthorDate: Mon May 11 18:58:49 2020 -0400 Commit: Ard Biesheuvel CommitDate: Thu May 14 11:11:20 2020 +0200 x86/boot: Mark global variables as static which went into v5.7 as a late fix via the EFI tree.