From nobody Tue Apr 7 23:42:40 2026 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 5C7703EF0CD; Wed, 11 Mar 2026 09:31:47 +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=1773221508; cv=none; b=tfRogmc80kSfWtC4i7RTZsgclIrq+6JzYGN4BoZDPEfUYq+mxqVqpzu9eIi2YgBf9k5xa9EiZJvTJeJUcVElMBBArVzCkphV+YmU910nNqiGQwDLJX8Bfh3e9immXoRtWY/jdOzn9nUAUAzOiwrcSsG4oF9J8DKcgSNQjL0v17w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773221508; c=relaxed/simple; bh=ypL7Ghi50s4H8guMvJkzcZFWGTqBqgStwTaM/8yG/78=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=MdkyRvVNUiWCy8KdSBtIz+HdrnWp3zXBc4G1cQmzytWiMZS3lfAHgl/6MVOKjcA3pGjPNn+A/Juvp9s0bJSafIMYsHIfJlMJBouoI+Sg2b1360gWElLJp7PuRaAKxkVUZRu0LDve12pN/4eMYnGPhsk8AJkFMTCG/c1gcIUG/hs= 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=0kK+X22K; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=oP8eDXsD; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0kK+X22K"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="oP8eDXsD" Date: Wed, 11 Mar 2026 09:31:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773221506; 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=A2KtbUkGFcXmazInjE5clL/GdURBs+Zhi8RFm/SjPSs=; b=0kK+X22KmTmONUJTHIKStykm1zjwY/NQaW0CIf+b2XJrwzFhv7htj5zR/pBrRXT7GYzRWO 4ef8/kix66nv4rx1s6CN8AVfljBvZVPUVMQ90fYe9QxmvZtHsfk71qfZrC/JRNLb5KXTCC +Uqe2lo3Lcks0L7UB3sNv7MybFqaxvrI/lDQfyPm8P+GzwhgSIWPmP6Q3hdqWnmgkXeXoE lIrkyoIUNm29fpm9c5TgfFaYGFOE8/9zbP1x5Jyv9V1P+Ajnh4WrdBO6iHiV3sP60juJCj 6itWA6DostDhA8sgrpAv+MkhUyYcmDpCongFQ0nxldIJG7ul5TBagW3Kz7RSkg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773221506; 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=A2KtbUkGFcXmazInjE5clL/GdURBs+Zhi8RFm/SjPSs=; b=oP8eDXsDFbGCdQbeHZ+TYuIV+6OukYPjSq1eRyY76sDdClLGMiaMf7ZGcAq+XYi6Lhi8oh 8vIjGtKd4PSNUwBg== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] sparc64: vdso: Remove obsolete "fake section table" reservation Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , Andreas Larsson , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260304-vdso-sparc64-generic-2-v6-5-d8eb3b0e1410@linutronix.de> References: <20260304-vdso-sparc64-generic-2-v6-5-d8eb3b0e1410@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177322150469.1647592.2113550726748389483.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: quoted-printable The following commit has been merged into the timers/vdso branch of tip: Commit-ID: 9fc4fe6e142ae574a494ae4018b3992b7d5b7d58 Gitweb: https://git.kernel.org/tip/9fc4fe6e142ae574a494ae4018b3992b7= d5b7d58 Author: Thomas Wei=C3=9Fschuh AuthorDate: Wed, 04 Mar 2026 08:49:02 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 11 Mar 2026 10:18:31 +01:00 sparc64: vdso: Remove obsolete "fake section table" reservation When the vDSO logic was copied from x86 to SPARC some unused remnants of the fake section handling were copied, too. In x86 the original fake section handling had already been removed incompletely in commit da861e18eccc ("x86, vdso: Get rid of the fake section mechanism"). On x86 the reservation was only cleaned up in commit 24b7c77bbb24 ("x86/vdso: Remove obsolete "fake section table" reservation"). Remove the reservation for SPARC, too. Fixes: 9a08862a5d2e ("vDSO for sparc") Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Tested-by: Andreas Larsson Reviewed-by: Andreas Larsson Acked-by: Andreas Larsson Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-5-d8eb3b0= e1410@linutronix.de --- arch/sparc/vdso/vdso-layout.lds.S | 21 --------------------- arch/sparc/vdso/vdso2c.c | 8 -------- 2 files changed, 29 deletions(-) diff --git a/arch/sparc/vdso/vdso-layout.lds.S b/arch/sparc/vdso/vdso-layou= t.lds.S index d31e57e..9e08047 100644 --- a/arch/sparc/vdso/vdso-layout.lds.S +++ b/arch/sparc/vdso/vdso-layout.lds.S @@ -4,16 +4,6 @@ * This script controls its layout. */ =20 -#if defined(BUILD_VDSO64) -# define SHDR_SIZE 64 -#elif defined(BUILD_VDSO32) -# define SHDR_SIZE 40 -#else -# error unknown VDSO target -#endif - -#define NUM_FAKE_SHDRS 7 - SECTIONS { /* @@ -47,19 +37,8 @@ SECTIONS *(.bss*) *(.dynbss*) *(.gnu.linkonce.b.*) - - /* - * Ideally this would live in a C file: kept in here for - * compatibility with x86-64. - */ - VDSO_FAKE_SECTION_TABLE_START =3D .; - . =3D . + NUM_FAKE_SHDRS * SHDR_SIZE; - VDSO_FAKE_SECTION_TABLE_END =3D .; } :text =20 - .fake_shstrtab : { *(.fake_shstrtab) } :text - - .note : { *(.note.*) } :text :note =20 .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr diff --git a/arch/sparc/vdso/vdso2c.c b/arch/sparc/vdso/vdso2c.c index dc81240..b97af5e 100644 --- a/arch/sparc/vdso/vdso2c.c +++ b/arch/sparc/vdso/vdso2c.c @@ -61,8 +61,6 @@ const char *outfilename; /* Symbols that we need in vdso2c. */ enum { sym_vvar_start, - sym_VDSO_FAKE_SECTION_TABLE_START, - sym_VDSO_FAKE_SECTION_TABLE_END, }; =20 struct vdso_sym { @@ -72,12 +70,6 @@ struct vdso_sym { =20 struct vdso_sym required_syms[] =3D { [sym_vvar_start] =3D {"vvar_start", 1}, - [sym_VDSO_FAKE_SECTION_TABLE_START] =3D { - "VDSO_FAKE_SECTION_TABLE_START", 0 - }, - [sym_VDSO_FAKE_SECTION_TABLE_END] =3D { - "VDSO_FAKE_SECTION_TABLE_END", 0 - }, }; =20 __attribute__((format(printf, 1, 2))) __attribute__((noreturn))