Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp980370lqp; Fri, 22 Mar 2024 01:40:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqxyzVfMZFolID5nD0lNMphGyu0Z2NHk0jsRRWnEh4BZhufPbjotDVSI5y98iF79uQXg0NuHPtAEsoQLTu8Zvyg1mqNnTHHDPJLsa6uw== X-Google-Smtp-Source: AGHT+IGt4qrjbhnpFA6YC+wGy4ZRJXqvFyg3x34HP0Pb3qDY7Z/lqR7cAoN0Ma/4qfbdB04mvRt9 X-Received: by 2002:a50:f683:0:b0:56b:9b69:2e81 with SMTP id d3-20020a50f683000000b0056b9b692e81mr1142525edn.27.1711096800116; Fri, 22 Mar 2024 01:40:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711096800; cv=pass; d=google.com; s=arc-20160816; b=dN/vvLnunYMlBbCvyADTJ8VXMZQiQXrkY+HMuYdcPPvgEk+JQWXARzBICToTLutshQ BPCwy3P/MqaLLXM2XhnSwLIaTKC5Q5dr2B6NPVxPY9IjWtkkn1NCk/YhSCvdubRZNuXT yjzJdiHfisxyiBn9HTnsxld3wpweNOiKPJaRsUMSJPyU3wQUSHLpelurK4ZIJ+yDdQhn Bg8esmruyGDddv8IhXZXqKt76/7UUH0ePkQO+oOnsWH+EFVyghhSxVhPWPdbCKWMrreR pFWjKEHWrfy5i6yRtg/PkaX/x+CDVuxG/YJ2wLRDgFFXNEgmhIj2f4U8v62FiSKzOh0z UaLQ== 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=k9H0AkpxP+aZ/46y0uyxR1w0hSG+NvlkLnsM6ltSG7w=; fh=UyTlAdDHsXyQOjjGi1RVJdRhWFzukAAEVWqfLFqTlTc=; b=BmwaiQHAG+EVT1XBNaYxtEOCpawge6bIzYI2FLWsbt6MCe/UgWIrXBZ3cm95vwqX9f Obt6VnhPgG+OM8YYpokYRPkcOZtkZ5Ptvl0R3iQS2BUK45nXCd4jepWmgi2I2izzDqHk xe7ROYh6r6Zxwscteh1XS5d4euNw5MJnf/OU7zaIAfVCZig0tWEeoNwxHmBdioOlx59q /JWWgh0ZU3TDCxt2+EMggVAzj2F++3iYxf+qIsTF2TjbIrjgsyH+Dg7HUFcAaP6VrPfZ e0SR8pCVDWeODMEQ7xYQHQ2u4a+w835b4yYgtwWrPUwaWtrRExtmVJBUarKOOpMOgMg2 UuZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="m/GzVnyx"; 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-111147-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c2-20020a056402100200b00568b47bffacsi706093edu.476.2024.03.22.01.40.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 01:40:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111147-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="m/GzVnyx"; 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-111147-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111147-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D27BA1F2565F for ; Fri, 22 Mar 2024 08:39:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E8CC179B8; Fri, 22 Mar 2024 08:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="m/GzVnyx"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eyxWJYEG" 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 9ADE01BF3D; Fri, 22 Mar 2024 08:39:37 +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=1711096779; cv=none; b=F1EmiCmo0HDk00mpo//a/q6gpjIxrdeCPKAVNjlbVaORpS60hjJlvo12BD4XGxzG+2tWK2EiRkcmbWM9DvaBPV5VEjsRMi795FnogavUaG+pWDJ3UQJGHKHwywm/Zg0nQpc1thkjXd2eVQvTWJi2TNvuNUjV2cr2aRz7EeYfRv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711096779; c=relaxed/simple; bh=wjX4iW6vPhAL5Q/HrAU+Ppr//9UgV0aTcsI4QPDBVrc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ubRIF3OYlpakxSLq6+ecp+TyjzItRsFKyniGlmU4mEHXOh4ixKwqqFlF7lh7RHm+0DlNt1Yrq8Jl9kf8dyGc8d1o6rMfuX3KXQdIpa9MokQOSgqygjaojmLhw/Teyp9Oj0JmRm7HUYmszWlTPZJIBV1wvsGwQBxEe0gJ85GKq68= 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=m/GzVnyx; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=eyxWJYEG; 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: Fri, 22 Mar 2024 08:39:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711096775; 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=k9H0AkpxP+aZ/46y0uyxR1w0hSG+NvlkLnsM6ltSG7w=; b=m/GzVnyx3HmrMYykRUit7g28nUbrYczWnPUt/102QN9juAkIloxgBNWXfb3k3z/TmjFF3w FWuV2wPglwxwqwYjFJyJpC7GzkZ3dEufsgHpgZV44277BHG987TmWH4pqal9AzN63cS98M 1IEQ7tSpVbjE6KTW+RU9ZpGFBRpO2Sfo0xPtbT5bTpmzJ5TitFHqkTwT5nHGczKoBfFN0A 5CBoiCrUAa6lj/XIAkb1YKVcOxryr4pqVoLKS+0LZnmTtPhwtfnzw1A89NMFiuir27o1OE qX9ovyToJ92PntEDKsahrCMDYSQlOGKOPHv3GjqDwwTLZBjdX0AnZAweGBxslA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711096775; 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=k9H0AkpxP+aZ/46y0uyxR1w0hSG+NvlkLnsM6ltSG7w=; b=eyxWJYEGK+hSqcisv/5T1tX55Lt53wGh4mt9uKWxpNIx++VikZ8+fSXIXK+gAoc2pVrN3Y 8Lxld5PthLxOzNBg== From: "tip-bot2 for Xin Li (Intel)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/boot] x86: Rename __{start,end}_init_task to __{start,end}_init_stack Cc: "Xin Li (Intel)" , Ingo Molnar , Juergen Gross , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240322081616.3346181-1-xin@zytor.com> References: <20240322081616.3346181-1-xin@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171109677435.10875.4562573360831498341.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/boot branch of tip: Commit-ID: 8f69cba096b5cfd09be2d06c15d08dbd4a58c9d7 Gitweb: https://git.kernel.org/tip/8f69cba096b5cfd09be2d06c15d08dbd4a58c9d7 Author: Xin Li (Intel) AuthorDate: Fri, 22 Mar 2024 01:16:16 -07:00 Committer: Ingo Molnar CommitterDate: Fri, 22 Mar 2024 09:32:41 +01:00 x86: Rename __{start,end}_init_task to __{start,end}_init_stack The stack of a task has been separated from the memory of a task_struct struture for a long time on x86, as a result __{start,end}_init_task no longer mark the start and end of the init_task structure, but its stack only. Rename __{start,end}_init_task to __{start,end}_init_stack. Note other architectures are not affected because __{start,end}_init_task are used on x86 only. Signed-off-by: Xin Li (Intel) Signed-off-by: Ingo Molnar Reviewed-by: Juergen Gross Link: https://lore.kernel.org/r/20240322081616.3346181-1-xin@zytor.com --- arch/x86/kernel/vmlinux.lds.S | 2 +- include/asm-generic/vmlinux.lds.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 91085c3..4c04a36 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -173,7 +173,7 @@ SECTIONS INIT_TASK_DATA(THREAD_SIZE) /* equivalent to task_pt_regs(&init_task) */ - __top_init_kernel_stack = __end_init_task - TOP_OF_KERNEL_STACK_PADDING - PTREGS_SIZE; + __top_init_kernel_stack = __end_init_stack - TOP_OF_KERNEL_STACK_PADDING - PTREGS_SIZE; #ifdef CONFIG_X86_32 /* 32 bit has nosave before _edata */ diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f7749d0..8708243 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -399,13 +399,13 @@ #define INIT_TASK_DATA(align) \ . = ALIGN(align); \ - __start_init_task = .; \ + __start_init_stack = .; \ init_thread_union = .; \ init_stack = .; \ KEEP(*(.data..init_task)) \ KEEP(*(.data..init_thread_info)) \ - . = __start_init_task + THREAD_SIZE; \ - __end_init_task = .; + . = __start_init_stack + THREAD_SIZE; \ + __end_init_stack = .; #define JUMP_TABLE_DATA \ . = ALIGN(8); \