From nobody Mon Jun 8 05:26:57 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 B9F962DCF55; Tue, 2 Jun 2026 19:46:50 +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=1780429612; cv=none; b=Gh5giNIWUAd0La6ViTn52m88Kjti6YpRAggflEC02xbuG98f8j4TiAxww8EsDa9iGi5WrVx+8PHqCELYRKT1XxVggfhpwzcle9GZAUxb2vYl4dxTGb6F8VkJn0V1oX06BhxtnsdTsxE/NueY971Sa7syLDLNPl5HsqLa7u0N6DM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780429612; c=relaxed/simple; bh=BBuI+rU/z6awlmUWIDdKiuEcpFAXtUky3LdyHDArZUo=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ooJxeG/Ys4j7OcH3bIUQYfjTTD984GCF6sHH912Raeq1gzFIfKSSi03ARgLlTHKE3fcg2WQsMIv7zc4UVDbs4GEJu7KQbwLRLkLNQTZ/g3FBN9s4sfR/vNDGz+bbTwlp/x745AqIAY3tTu90Z6osl0I0D314mE3SBTq6GaNMS5I= 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=cxQxSCAF; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=QaCCGS/R; 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="cxQxSCAF"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QaCCGS/R" Date: Tue, 02 Jun 2026 19:46:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780429609; 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=A6jHJ9B2CTHZbbAC1kcclqNJ0uBc+F2hbxnDS69RuJw=; b=cxQxSCAFyKmXzoiXFfS1dByrBE2jMm4j//Ess5993Dahb1jP+xpGNt/BeFlkhLBE138Jt9 6Yc6kQOY9gFaupckn/ghpc0KOfiNbS+Tj/gVY8fzy9EZeqYv7sKU1xb9jNXe7XP6HggsFC 9hwzw2E5w/hVtq6EnmoOzDIT21Tkzz63x0S0Pox/Rr4qJ9e8W5u4UKs2wErZTkPKv+xrz5 JYBS/WZKUzWZ1Gvq3k2zlHAgXv1I6EHj5nSzzhTZP6+9ttfxp0rdiALxCR3QZbHU2sXLRo 9loZuaQYJGVJMYwmRNlMYhkRqmFhvgkjPDEIUka3Bk4GMLs8QrTnz2VYw5XvSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780429609; 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=A6jHJ9B2CTHZbbAC1kcclqNJ0uBc+F2hbxnDS69RuJw=; b=QaCCGS/RiEWbElWq7vLlrAXNhR+lwahZJjvisQe1x2R0OhNnlt5RgSKpOF6sGR8GR1SUTj R7WfcT7N2DUc2FDw== 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] riscv: vdso: Drop CONFIG_GENERIC_TIME_VSYSCALL guard around syscall fallbacks Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260519-vdso-generic_time_vsyscal-v1-1-5c2a5905d5f5@linutronix.de> References: <20260519-vdso-generic_time_vsyscal-v1-1-5c2a5905d5f5@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178042960803.710.10484962158378660673.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: 91d2a1a916a96bc0ed542704c4e20a84ff2cf554 Gitweb: https://git.kernel.org/tip/91d2a1a916a96bc0ed542704c4e20a84f= f2cf554 Author: Thomas Wei=C3=9Fschuh AuthorDate: Tue, 19 May 2026 08:26:15 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 02 Jun 2026 21:41:23 +02:00 riscv: vdso: Drop CONFIG_GENERIC_TIME_VSYSCALL guard around syscall fallbac= ks The syscall definitions can be built just fine for 32-bit systems. Also the guard does not cover __arch_get_hw_counter() which is always used together with those system call fallbacks. Also this header is unused when no vDSO is built anyways. Drop the ifdeffery. The logic will be simpler to understand. Furthermore this prepares the complete removal of CONFIG_GENERIC_TIME_VSYSCALL. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260519-vdso-generic_time_vsyscal-v1-1-5c2a= 5905d5f5@linutronix.de --- arch/riscv/include/asm/vdso/gettimeofday.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/riscv/include/asm/vdso/gettimeofday.h b/arch/riscv/includ= e/asm/vdso/gettimeofday.h index 9ec08fa..61cb3cb 100644 --- a/arch/riscv/include/asm/vdso/gettimeofday.h +++ b/arch/riscv/include/asm/vdso/gettimeofday.h @@ -9,12 +9,6 @@ #include #include =20 -/* - * 32-bit land is lacking generic time vsyscalls as well as the legacy 32-= bit - * time syscalls like gettimeofday. Skip these definitions since on 32-bit. - */ -#ifdef CONFIG_GENERIC_TIME_VSYSCALL - #define VDSO_HAS_CLOCK_GETRES 1 =20 static __always_inline @@ -66,8 +60,6 @@ int clock_getres_fallback(clockid_t _clkid, struct __kern= el_timespec *_ts) return ret; } =20 -#endif /* CONFIG_GENERIC_TIME_VSYSCALL */ - static __always_inline u64 __arch_get_hw_counter(s32 clock_mode, const struct vdso_time_data *vd) {