Received: by 2002:a05:7208:c250:b0:86:f851:443 with SMTP id w16csp946439rbd; Thu, 13 Jun 2024 02:04:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZ/0/p6yKaHleqbOJO1kd+GVBgzhDS1Y1sNGC2Tk51n/OylnqjwOWn+d7iZsraLqqTv8lu/mTmh+pGHR/tRZAJRcL3ANYPdWkyfqzzqA== X-Google-Smtp-Source: AGHT+IFTz71LgR5IsomZIucyGGfFjIPS5B9ciNKRM2Ak++4avwrH398oBxQiZjC5eqjGDLRpc+HO X-Received: by 2002:a05:6a00:2d25:b0:704:3aca:7833 with SMTP id d2e1a72fcca58-705bcf09c2cmr4795154b3a.31.1718269487530; Thu, 13 Jun 2024 02:04:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718269487; cv=pass; d=google.com; s=arc-20160816; b=wCBD2+WYm5Xv1oEmtVhj/1ebhXdVHcPyYNTit09lKP/eaSQOmjhfzBxplk7GFG23QK jiOIBFmwSo+Udavfs6j31e5Vxe9TXugl6J7mbefwzusPeOIQUzW5MXIBcejVY/UMuRMJ +gvkRKHwkGWJd7hGqUJ3lmFRVxmDpMran0puZm/iO1ufRUaGDDwtu2FJIFTXsYnTYi2E A5IsoeOrwcepL3SN+SXKNBTqI5ZcFdu2SQTrXFsAu0i1iawIq7T74ItYUocQT88uWXKi frm58AYazm+2ySP3KiiWHjwmcJn75qd+oGdVqJv7IUB01jq/nw3rwqbgXWmjoP6+TBB+ cKCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=05oMZ/uaU2LNUMzjQkqwNiFcFWF1pVwE3ycVjjdx3f0=; fh=umuIcytMaKedf8ksW3vUg4q0/w7XveqUJM8qi/xY+q0=; b=Yt8DcThRfPci9tPSGqeG0MUh2KbZS7j0QhMFtNo6M8xl88ng+n+ZboKoPydrahmfql EtmNLe5KaaKW5P592d9dHUn3fqrY3OrF3UsSz55gZa/awkxwlz2gqLh1CP7g2LvKiWsj XE/Jlzthnctz/E2yPnJktF1OCW+9ObZvqS/akKbrVOMb4RFStYGVPMBZxTUn5jJ5khzH Enn+oRuh0SZy7h/bxhviNbQcy18yKFCP6mJVBJhKuzEGsu06MW4dKSRNvUzijneShhbZ pDgyIlb9Urtg89s3UTcFPGvmy1p7dmx4xGIxPuS1Ccb0XwJH+1IgN1yJwXN/3BqxNYK4 33vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=J17GTGLY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=FtkKBH20; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-212855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccb3c020si1022757b3a.156.2024.06.13.02.04.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 02:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=J17GTGLY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=FtkKBH20; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-212855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 37BABB28748 for ; Thu, 13 Jun 2024 08:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECB3113D639; Thu, 13 Jun 2024 08:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="J17GTGLY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="FtkKBH20" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A329526AE4; Thu, 13 Jun 2024 08:41:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718268110; cv=none; b=eWT4WciF80nOALngo8cdMixlz/7obvXPOTRhemsE7FVObDTGEgzJIpST+e9yiGrXk0WpGg3122IaAk2EtPmN7LPEsbcFL+Ld02akSpmYRk0VgLh1UsO6FqJ/opjin5R79tFefBZMyS6jgUvbxfpmgurpjwj/4bF2HGdFIuXChpE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718268110; c=relaxed/simple; bh=1ZJ/uxN8Pb7qwYIgbsTKzzdLKnI4ejAlfOoGuc1Nl6A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HTB7lZqA1ocj8pS5BJar/swymLXVbb6o83Lp58KJO0eBW4H+NyTTMM6z545qYaEDH4n1hFIONfOoOQxSKujXD2KNi9xqpCTWDjLHS8FOZRiHI1MiDlXfJzVvw2UTRL9ugbRRvrjgySSKFb1DZqtBXtEUlAEj5xhEMVtaGaGVXZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=J17GTGLY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=FtkKBH20; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Thu, 13 Jun 2024 08:41:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718268106; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=05oMZ/uaU2LNUMzjQkqwNiFcFWF1pVwE3ycVjjdx3f0=; b=J17GTGLY0h9QF8mqNBHCSAKz2rR8jhbG2pfBLmpsVAKDpAToGLlTWklsUz9WM770F0j4NW etOt7GRO/JE2RAJ6IBPeVEe10JRK0kr1L2bAi33FIppsT4t60z4Mu/zCh0BSDuTLWZ9bpb ka822TwfHdyidqh4JKL78lkPYIhM9MdpjBKEE8UOwEU6rBEcaVqKcqFKTd0b9uf46xqqY3 j1JceW7A2UwRAHZsHuLiWRyqYUl+qKiaUEZkKR86GUSSJGBuc/EHDEpmJTMfQNr1/qiKdr ZtUPrF+dVKJp/R87DK2IZZxtKvZ1Dg9oiDJe9KuN4GmImM7fg47YI7LR40N31A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718268106; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=05oMZ/uaU2LNUMzjQkqwNiFcFWF1pVwE3ycVjjdx3f0=; b=FtkKBH203/SnzCcJbfsbZo+LZ6t2VVS5XrYxcnApx/u1nMo2Ji+i2ei6nbv86ZlmhNMzg+ 3hwpZ0ecfvmc0qDw== From: "tip-bot2 for Benjamin Segall" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/boot: Don't add the EFI stub to targets, again Cc: Ben Segall , "Borislav Petkov (AMD)" , Ard Biesheuvel , stable@vger.kernel.org, #@tip-bot2.tec.linutronix.de, v6.1+@tip-bot2.tec.linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171826810609.10875.7242823258662782011.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/urgent branch of tip: Commit-ID: b2747f108b8034271fd5289bd8f3a7003e0775a3 Gitweb: https://git.kernel.org/tip/b2747f108b8034271fd5289bd8f3a7003e0775a3 Author: Benjamin Segall AuthorDate: Wed, 12 Jun 2024 12:44:44 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Thu, 13 Jun 2024 10:32:36 +02:00 x86/boot: Don't add the EFI stub to targets, again This is a re-commit of da05b143a308 ("x86/boot: Don't add the EFI stub to targets") after the tagged patch incorrectly reverted it. vmlinux-objs-y is added to targets, with an assumption that they are all relative to $(obj); adding a $(objtree)/drivers/... path causes the build to incorrectly create a useless arch/x86/boot/compressed/drivers/... directory tree. Fix this just by using a different make variable for the EFI stub. Fixes: cb8bda8ad443 ("x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S") Signed-off-by: Ben Segall Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Ard Biesheuvel Cc: stable@vger.kernel.org # v6.1+ Link: https://lore.kernel.org/r/xm267ceukksz.fsf@bsegall.svl.corp.google.com --- arch/x86/boot/compressed/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 243ee86..f205164 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -105,9 +105,9 @@ vmlinux-objs-$(CONFIG_UNACCEPTED_MEMORY) += $(obj)/mem.o vmlinux-objs-$(CONFIG_EFI) += $(obj)/efi.o vmlinux-objs-$(CONFIG_EFI_MIXED) += $(obj)/efi_mixed.o -vmlinux-objs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a +vmlinux-libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a -$(obj)/vmlinux: $(vmlinux-objs-y) FORCE +$(obj)/vmlinux: $(vmlinux-objs-y) $(vmlinux-libs-y) FORCE $(call if_changed,ld) OBJCOPYFLAGS_vmlinux.bin := -R .comment -S