From nobody Mon Jun 8 08:54:10 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 123E949550C; Thu, 4 Jun 2026 16:25:02 +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=1780590306; cv=none; b=Xk7hMR+y7p8HLKqZdqMsbwoso2Gk7xO2Stwmv4/iVukV3zSBCijIkGzEN8orQqxPYu4C60hOTewhf4AI5u/fKMwRQ6nXlMOjlHpfWoJRM8tAwPGW1d7sEkKB4qJMk4szMkwEpr0JMQc6laW8XWcSXIAL3hgw6g3VLbQQC+7FtkE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780590306; c=relaxed/simple; bh=HsB9a6QcfbED+ucL0Ts2SMgeuLbukNLA7nyitilm7lc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Sobj0N1UmItSOwVpoM+BYffNOuKblEZFtfZJIsqx+We4nnW99KpVtaNPRFvayOBN2R/OrOgf+9Tvpz8dQYz4VISZaxYLht/HripXBb0IGy/gif1fZx0T7qtWUrCS0CZl643PYLG99RfbR5WH6XkLMHdD4cOe5O6zzkye4nJkXi0= 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=HaDHDHUb; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nxujQ+FU; 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="HaDHDHUb"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nxujQ+FU" Date: Thu, 04 Jun 2026 16:24:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780590301; 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=l+ybpYi6Q1EvPuJELEegTMJsCMxW8LFf033eJuoMdAs=; b=HaDHDHUbN4WSPVA+g7b3gcw5PUfiWL+2MIJx1Y6fBLYGHssJEvOvgi7KtXobb2GLO/zAUJ 2QuAcei0PRdkISqCmMbak/0nuZ6aEFFH4TnBXleNEZ766aYiNDQEwJEPxNDGh+FnsWybgv xdQuikqg7MAQBzYn6wmjcwlzLNaiUOEClcXnM4/tY7/qdvmFyE3ymeV/Xx73t8o8lCi+Rq pS9JY+nKqQIQqrdAQkffiPkJ4l+0vyX6pXNdZMueFYg1gQkzvVNkcLetqcxEfMfC0/xr+K OBK4HLPq8F2m9DeHW+4ngxRdzNYGuyg4Vf/YIITgR9X4jxsDhfgiUSEubiwz5A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780590301; 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=l+ybpYi6Q1EvPuJELEegTMJsCMxW8LFf033eJuoMdAs=; b=nxujQ+FU/dhIERucha9ygQ4SUURjH6dE8LPtFyiPhqi/40UB06iy4Uvi6GRzSP0SU783b+ 3BBPIH0kMdblkiBQ== 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/gettimeofday: Rename __arch_get_vdso_u_timens_data() Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260519-vdso-arch_get_vdso_u_timens_data-v1-1-43f0d62716e8@linutronix.de> References: <20260519-vdso-arch_get_vdso_u_timens_data-v1-1-43f0d62716e8@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178059029975.710.17169162799540252220.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: 1d453fff35806b1108ae7709de0521bd42770b13 Gitweb: https://git.kernel.org/tip/1d453fff35806b1108ae7709de0521bd4= 2770b13 Author: Thomas Wei=C3=9Fschuh AuthorDate: Tue, 19 May 2026 08:14:20 +02:00 Committer: Thomas Gleixner CommitterDate: Thu, 04 Jun 2026 18:22:45 +02:00 vdso/gettimeofday: Rename __arch_get_vdso_u_timens_data() Originally this function was supposed to work the same way as __arch_get_vdso_u_time_data() and be overridden on some architectures. However the actually used implementation, which just adds PAGE_SIZE, does not need this override mechanism. Adjust the name to reflect the true nature of the function. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260519-vdso-arch_get_vdso_u_timens_data-v1= -1-43f0d62716e8@linutronix.de --- lib/vdso/gettimeofday.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index da22401..e0f289d 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -126,7 +126,7 @@ bool vdso_get_timestamp(const struct vdso_time_data *vd= , const struct vdso_clock } =20 static __always_inline -const struct vdso_time_data *__arch_get_vdso_u_timens_data(const struct vd= so_time_data *vd) +const struct vdso_time_data *vdso_timens_data(const struct vdso_time_data = *vd) { return (void *)vd + PAGE_SIZE; } @@ -135,7 +135,7 @@ static __always_inline bool do_hres_timens(const struct vdso_time_data *vdns, const struct vdso_c= lock *vcns, clockid_t clk, struct __kernel_timespec *ts) { - const struct vdso_time_data *vd =3D __arch_get_vdso_u_timens_data(vdns); + const struct vdso_time_data *vd =3D vdso_timens_data(vdns); const struct timens_offset *offs =3D &vcns->offset[clk]; const struct vdso_clock *vc =3D vd->clock_data; u32 seq; @@ -191,7 +191,7 @@ static __always_inline bool do_coarse_timens(const struct vdso_time_data *vdns, const struct vdso= _clock *vcns, clockid_t clk, struct __kernel_timespec *ts) { - const struct vdso_time_data *vd =3D __arch_get_vdso_u_timens_data(vdns); + const struct vdso_time_data *vd =3D vdso_timens_data(vdns); const struct timens_offset *offs =3D &vcns->offset[clk]; const struct vdso_clock *vc =3D vd->clock_data; const struct vdso_timestamp *vdso_ts; @@ -250,7 +250,7 @@ bool do_aux(const struct vdso_time_data *vd, clockid_t = clock, struct __kernel_ti do { while (vdso_read_begin_timens(vc, &seq)) { /* Re-read from the real time data page, reload seq by looping */ - vd =3D __arch_get_vdso_u_timens_data(vd); + vd =3D vdso_timens_data(vd); vc =3D &vd->aux_clock_data[idx]; } =20 @@ -360,7 +360,7 @@ __cvdso_gettimeofday_data(const struct vdso_time_data *= vd, =20 if (unlikely(tz !=3D NULL)) { if (vdso_is_timens_clock(vc)) - vd =3D __arch_get_vdso_u_timens_data(vd); + vd =3D vdso_timens_data(vd); =20 tz->tz_minuteswest =3D vd[CS_HRES_COARSE].tz_minuteswest; tz->tz_dsttime =3D vd[CS_HRES_COARSE].tz_dsttime; @@ -383,7 +383,7 @@ __cvdso_time_data(const struct vdso_time_data *vd, __ke= rnel_old_time_t *time) __kernel_old_time_t t; =20 if (vdso_is_timens_clock(vc)) { - vd =3D __arch_get_vdso_u_timens_data(vd); + vd =3D vdso_timens_data(vd); vc =3D vd->clock_data; } =20 @@ -414,7 +414,7 @@ bool __cvdso_clock_getres_common(const struct vdso_time= _data *vd, clockid_t cloc return false; =20 if (vdso_is_timens_clock(vc)) - vd =3D __arch_get_vdso_u_timens_data(vd); + vd =3D vdso_timens_data(vd); =20 /* * Convert the clockid to a bitmask and use it to check which