From nobody Tue Sep 29 08:26:17 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 3D62A3002DD; Mon, 10 Aug 2026 14:27:06 +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=1786372031; cv=none; b=ECsH/m6mt3ZCiOqmA0T/XnVehsZQzULdcs51L8aJgjN6VE+y8AJRg11+SqQNK0ruSyzoeQNabM6Z0OWk8mAvtU1Ku7zNWt17L347nIrQalNQK7dIddikJiVEMXsMldib3lFj2D5KljuslR8jjOcsXeddkmdLT/l6dSGgz2bEb+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786372031; c=relaxed/simple; bh=AjMjJactb+DatJWN6Rw6i86btaCdRnbeI3qUVzVPxdY=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=n2vSwVWIgX4Ms3+ZLUoslSzuq/mt9mKv5Nf1/ODgUbQzW1FyYhtTxochEjpbAMHjG6sphRL93neG20pOD8CsF64aWUlaeTTdtuI7VoEw02yxpjVnNjRnNkxjgKm5xgNueNQt97jzHOaGgGjqthbsBaeADH0JY05QnO+wsN9HP+I= 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=VQs0Q/hY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=stSR2LEE; 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="VQs0Q/hY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="stSR2LEE" Date: Mon, 10 Aug 2026 14:27:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786372022; 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=ZdIys5obmRsOH2SfZLCyhPb7mMLL3bYOyxHgjQSMi7o=; b=VQs0Q/hYGksjgaMf5aOJZajcoPRd7w05KwhqoqW9FKoYeOyS2fPtN/QaR8RkmGGIEMimua oQl4tNJoNIezc7SVBfETGuotnQ93/F58N3fPUVW/XYcGRbrY1spqh7ZYuTtfAjGByY82PP mgf57cyfOP5cWFDdc5UUA3uDn8rZCwOVLKxC4CbeDWRf2bL+ZaEoe4KLz7sFnIIO2uWzac lPhHxWkQrATwmemJrlEP27hQUCZTwzCKP8rUlEiLAaqgRU0n95dnUs1AWMnsB2zRfA+tIh 4tiZzRnvxblmytwJqEkspGM3+F6BH4nX+rH6421u6N19HDu5t4vOKI2AD9K0Wg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786372022; 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=ZdIys5obmRsOH2SfZLCyhPb7mMLL3bYOyxHgjQSMi7o=; b=stSR2LEEFTnbDmRBHDKaSczCiN+4OMUS4PZ2u9rEUbE5pf1ALnew0lPHRIBHSfxPL4r+U/ GNiElrkYm1vk4KCQ== 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] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , Arnd Bergmann , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260724-vdso-arch-clockmodes-v4-2-ddbe447be860@linutronix.de> References: <20260724-vdso-arch-clockmodes-v4-2-ddbe447be860@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178637202131.442315.4081539172514111336.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: 1bafc1f65972fb1ca9b87bb4ead593436162c4be Gitweb: https://git.kernel.org/tip/1bafc1f65972fb1ca9b87bb4ead593436= 162c4be Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 24 Jul 2026 15:36:19 +02:00 Committer: Thomas Gleixner CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00 vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY Some code, for example clocksource drivers, may want to use the vDSO clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=3Dn. But the symbols are completely hidden in that case, making ugly ifdeffery necessary. Always provide the enum definitions. As not all architectures provide asm/vdso/clocksource.h, provide an empty stub in asm-generic for it. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Acked-by: Arnd Bergmann Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-2-ddbe447be= 860@linutronix.de --- include/asm-generic/Kbuild | 1 + include/asm-generic/vdso/clocksource.h | 0 include/vdso/clocksource.h | 4 +--- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 include/asm-generic/vdso/clocksource.h diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index 15df9dc..2bc00c6 100644 --- a/include/asm-generic/Kbuild +++ b/include/asm-generic/Kbuild @@ -62,6 +62,7 @@ mandatory-y +=3D topology.h mandatory-y +=3D trace_clock.h mandatory-y +=3D uaccess.h mandatory-y +=3D unwind_user.h +mandatory-y +=3D vdso/clocksource.h mandatory-y +=3D vermagic.h mandatory-y +=3D vga.h mandatory-y +=3D video.h diff --git a/include/asm-generic/vdso/clocksource.h b/include/asm-generic/v= dso/clocksource.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/include/asm-generic/vdso/clocksource.h diff --git a/include/vdso/clocksource.h b/include/vdso/clocksource.h index c682e7c..bce81c0 100644 --- a/include/vdso/clocksource.h +++ b/include/vdso/clocksource.h @@ -4,13 +4,11 @@ =20 #include =20 -#ifdef CONFIG_GENERIC_GETTIMEOFDAY #include -#endif /* CONFIG_GENERIC_GETTIMEOFDAY */ =20 enum vdso_clock_mode { VDSO_CLOCKMODE_NONE, -#ifdef CONFIG_GENERIC_GETTIMEOFDAY +#ifdef VDSO_ARCH_CLOCKMODES VDSO_ARCH_CLOCKMODES, #endif VDSO_CLOCKMODE_MAX,