Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1622076lql; Wed, 13 Mar 2024 03:40:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQwRv5f9cUAFzvsq/5+0cu3itWK6a5N8UKE99lqPjVdyKQ3SfTe7M7MY7hIjE5PBBtMfD/esqFDMAFBs11qS2EiT6phh0xidf2b3etnw== X-Google-Smtp-Source: AGHT+IFYbNw50zK6Eu8y1nxWz2NBzlWIcqORPTfrCojyDAWIbNyeqzi+UTXpwOj9t2FhuGH1XqKn X-Received: by 2002:a05:6a20:8e0a:b0:1a3:115b:5323 with SMTP id y10-20020a056a208e0a00b001a3115b5323mr13564617pzj.6.1710326433275; Wed, 13 Mar 2024 03:40:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710326433; cv=pass; d=google.com; s=arc-20160816; b=rwjEQfwaFoF0rMlCU3+lZP1J/3Pu4j4gFC2IO1KoMRZKQsaGeRdw94++4fKx5QXYHU lpLC/5XOhn4AjAsD2VfPm2odVMLUWz2naIevKTtDHn5HhwWkyATVvNndVxJQnYmRF9ua dDmoA1nH6iQCPDEoKbqGEYvmYxDLKbTqMfNiUWVuVjdv2gn751nIrpmC0aBKz+6MTeRu twdeG1leLRSZMje3baGBmZEAsmT0WJXRGLmmFsq38XDWpws/XIoeuIG8WtX69QLjlDkx cM1chGjjvq/VmM3TsI17YGR5c71RMqLh9XINQqgmwUBWre6rRhmnab7kJnewSheNbba0 A4UQ== 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=PBDsqCIRae9oF8BdiuyyntcNynieeZ8JqhBB5Ca3FqM=; fh=iA3k8qG0529bzTXnEQ2owvaO3Z5QO9nE+gJK0j1U9gE=; b=B+HXmF5FIZJRwNJIQ95pAOsZ0nNtXbnBUBnGETsnEq7RiBSftdFI12kMvzEfZuZM6n aRGrWsO2qW7/gVLkMSn5BqMJdGrj9rBwOjaV69ATXBv7WoDKxhd7CoSCPP7otxyaZXsz WR0VprHacc60n2QXjbNkQuIZKvFDzuCkiTOtMK7/BT9oDht5kAJZgVc7xPEEYfcBCk4n A+te0axsC5pdJaIbbe9k0EBfmZ30xcPq6vGhCflNBtfTwXbOm0SOD2t/IljwobgaTKQX toJP6PilTiCyJAVhcTtumkXL5YAMwyEbFzcWQwzZ1syAgkwU3HsaI3C01dAZ0NgA5Iwf 3dXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GMUkcPIQ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-101363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101363-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 u14-20020a170903124e00b001dc4d6407ccsi8744625plh.581.2024.03.13.03.40.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 03:40:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101363-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=GMUkcPIQ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-101363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101363-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 F1948B20FA7 for ; Wed, 13 Mar 2024 10:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F27B53D552; Wed, 13 Mar 2024 10:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GMUkcPIQ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ya0nWvyi" 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 AC5D6225AD; Wed, 13 Mar 2024 10:40:00 +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=1710326402; cv=none; b=AZtOl/7yvLFMEvxaBv00+rYdTs8SPbITbfiQxtX26rL72oos3PgswZQUtcInpQxLa6CT8kAJmkn0CWvPKSOCMXmwbeAqIXEcRVAgtgXKnHtzt+st7dAirj3YUL63fbq6T/E4Uo2+f6Bl9rQoan/pNHckMENaTzVvHOmrQ5q0Sm0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710326402; c=relaxed/simple; bh=GVy6srAz078qzLw5TMfdLMD6yNhqmz1rV0HYo2eVM2c=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Wi8OW4GHrkZ6UHJ9x/qVjGAohw+lVkXZm2dEX5PsLAZJkOtBiKPVaR5uMuIPm71Mfcznwd2LV7eycP90wPGiJrgEFpg93Ptt64zo0MvPj73hKdJGw3JxUReFWLKgSPOvg6G2BZsVG7GHJdAvzuQhtnvJa2ARJeH+YtrwiHue53A= 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=GMUkcPIQ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ya0nWvyi; 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: Wed, 13 Mar 2024 10:39:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710326399; 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=PBDsqCIRae9oF8BdiuyyntcNynieeZ8JqhBB5Ca3FqM=; b=GMUkcPIQ9uiMybbo6mew8GLuA3zzPorsGSZXElxQgBtkii8ax1VLLSMGeCBzjK0EveWaqv NLpQSr8TulnF3xpVmKiBJiMEj+PHSI0NalUKxnk9/ADLmsLxtCwAcj/12ff/vc05qtoSu9 VeWJbHCnEF8CB42QDkdWudUpdC/qc0esdZxXvIfjCaxsdtN2POeph/ptO0JTILzvAWYSxn ZA44xzjx6+soj7fmiqPuXSKXDDQpFzbDJYuNtsCp6CMDgsMvSnWHZVG7MwTMvbzYcu0BFg jq2zlYrB9qWFUsr0N5WEKcSEkNPiZJWiJsVaTmR1Hbn2A9+spJ+od1+6rbEvBQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710326399; 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=PBDsqCIRae9oF8BdiuyyntcNynieeZ8JqhBB5Ca3FqM=; b=ya0nWvyi8nG2S5fA5Ytg1dAeDoo3dvNwr3jWvVFHHk+6u64JzExEgn3L/txBpWXNVx1q0b xS1LBiOW7CjB+gDQ== From: "tip-bot2 for Wei Yang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/build] x86/vmlinux.lds.S: Take __START_KERNEL out conditional definition Cc: Wei Yang , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240313075839.8321-5-richard.weiyang@gmail.com> References: <20240313075839.8321-5-richard.weiyang@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171032639798.398.6782499590864932676.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/build branch of tip: Commit-ID: 9b67ce2c121fbf11c0c7b6216c08200fda23c9af Gitweb: https://git.kernel.org/tip/9b67ce2c121fbf11c0c7b6216c08200fda23c9af Author: Wei Yang AuthorDate: Wed, 13 Mar 2024 07:58:39 Committer: Ingo Molnar CommitterDate: Wed, 13 Mar 2024 11:29:11 +01:00 x86/vmlinux.lds.S: Take __START_KERNEL out conditional definition If CONFIG_X86_32=y, the section start address is defined to be "LOAD_OFFSET + LOAD_PHYSICAL_ADDR", which is the same as __START_KERNEL_map. Unify it with the 64-bit definition to simplify the code. Signed-off-by: Wei Yang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240313075839.8321-5-richard.weiyang@gmail.com --- arch/x86/kernel/vmlinux.lds.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 88dcf93..a20409b 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -110,11 +110,10 @@ PHDRS { SECTIONS { + . = __START_KERNEL; #ifdef CONFIG_X86_32 - . = LOAD_OFFSET + LOAD_PHYSICAL_ADDR; phys_startup_32 = ABSOLUTE(startup_32 - LOAD_OFFSET); #else - . = __START_KERNEL; phys_startup_64 = ABSOLUTE(startup_64 - LOAD_OFFSET); #endif