From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796555247; b=w1g5qkrKyBNMZNrJcIWVElJ+m/u4+onmH/q8XB7ecbpJjzg79ESuRWqUuRrBxl/O6hm+ TpPD3NQdv4OD6JP22j7ql6zsqOpbZRmlyN9lgUilfduFfp8IAI2cTWutikoGy4LTpeetZ HIhMH/3Vj99Ua3he07klg6u+RF5vlYY7DmUThRCHUyqerz0hTRqULGBce/rST9ZrhAH5U gi2plnImdP3c2aiy8/EnWh+PtCRmVKXKrpHiIT64WWEPgY5p3Z+6mHXB1R+IUqiYFQq7J Z0jh4zZBud8BuawBO9ZjdLv1mVN073VcMSvUTdwGSftAB0ozN1n8l2hc1PNrLg3fkdA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796555247; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:Sender:Reply-to: To:Subject:Cc:In-Reply-To:References:MIME-Version:Message-ID:Robot-ID: Robot-Unsubscribe:Precedence:Content-Type:Content-Transfer-Encoding; bh=GRXjUhe68rTSAlN+MsD5tehuaCfh/6LmeTlQqSJ86HE=; b=SuGzX1o8u1xMQWcXXg0Ub64GvackU1GetTCmjOeK9H5F2x5IrpovtwXmUDpVuSTtYyJC PXytLjbK/6LU2ozVkfqo27oYqEKc8xota0cdBD1CzzeloPbUwDJIp6Ayilu/4xXmZL7zX 2gTW2EyRQzLWbUTA43Fi3d6FnBiHEv6YGKqNptxHAsJn0zPG5OF9Jeiows2lxsPCoYrUl /d5dokBOCidTH2wW3EHaupm0PMaq3AO4JWYUltJj20qMnAyueErvGJeST8KJOBW+tNO38 O4Ham6dA6vcbB3eCiSWTyFyyUsYcRz4Onq06SH1Shg8szmJTmt5DIL7U5K4wDZ84LHA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=Mk5MfJyC; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b="7DrZOe/i"; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 350E960A2617; Sun, 6 Dec 2026 11:07:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 350E960A2617 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.a=rsa-sha256 header.s=2020 header.b=Mk5MfJyC; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=7DrZOe/i Date: Sun, 06 Dec 2026 11:07:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796555245; 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=GRXjUhe68rTSAlN+MsD5tehuaCfh/6LmeTlQqSJ86HE=; b=Mk5MfJyCh4RGpX+4Ui+EhbntaEjaBm2toRrykcj9Qs6qu3884obBee7c0YoGg/HtDZXqiV JxaOYEBHxZrbxoh0qp7tWHLyk+hSIYjd1sb1pzSTicfAiEv8TitmZ+4OIJIFuori4W+DMr 9QUNxBzwJmfoesnu25a2NpmmJVcZqtrGAunzoOV6LA2AuwvDQCE6Wvh6q1MU5yVZ3S9XUe +tBAFmFVjmIHxXiPwUxGSC4/PAX/kAAIM/Q19W2pEpL19Sz/7G0gLBOEgbdHBooKd9SWUr VYJnybAS2lHp+5PJa3CWLTZdO6pvXfcowU1vgN4pqNDULmrSHc8HQqY9JK8ylQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796555245; 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=GRXjUhe68rTSAlN+MsD5tehuaCfh/6LmeTlQqSJ86HE=; b=7DrZOe/iIUdCdvjSEu0JZtgl0EcsBiauob3JRboxtiTl7O0yL3egPfFclVhu60+KRrmVSM XH8vOEmalWJhhzAQ== 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] arm64/vdso: Directly include the generic vDSO implementations Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20261204-vdso-generic-include-v1-2-8f4ed31bfbbd@linutronix.de> References: <20261204-vdso-generic-include-v1-2-8f4ed31bfbbd@linutronix.de> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Message-ID: <179655524424.2286038.8909437390835107967.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: 9cffbb66355775c9952b6cded16317977bf38fba Gitweb: https://git.kernel.org/tip/9cffbb66355775c9952b6cded16317977bf= 38fba Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 04 Dec 2026 08:30:29 +01:00 Committer: Thomas Gleixner CommitterDate: Sun, 06 Dec 2026 12:03:02 +01:00 arm64/vdso: Directly include the generic vDSO implementations The inclusion of the generic vDSO implementation through compiler arguments is complicated and non-obvious. Directly include the .c files instead. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20261204-vdso-generic-include-v1-2-8f4ed31bfbb= d@linutronix.de --- arch/arm64/kernel/vdso/Makefile | 8 -------- arch/arm64/kernel/vdso/vgetrandom.c | 2 ++ arch/arm64/kernel/vdso/vgettimeofday.c | 2 ++ arch/arm64/kernel/vdso32/Makefile | 4 ---- arch/arm64/kernel/vdso32/vgettimeofday.c | 2 ++ 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile index f6619e1..b119f08 100644 --- a/arch/arm64/kernel/vdso/Makefile +++ b/arch/arm64/kernel/vdso/Makefile @@ -49,14 +49,6 @@ CFLAGS_REMOVE_vgetrandom.o =3D $(CC_FLAGS_REMOVE_VDSO) CFLAGS_vgettimeofday.o =3D $(CC_FLAGS_ADD_VDSO) CFLAGS_vgetrandom.o =3D $(CC_FLAGS_ADD_VDSO) =20 -ifneq ($(c-gettimeofday-y),) - CFLAGS_vgettimeofday.o +=3D -include $(c-gettimeofday-y) -endif - -ifneq ($(c-getrandom-y),) - CFLAGS_vgetrandom.o +=3D -include $(c-getrandom-y) -endif - targets +=3D vdso.lds CPPFLAGS_vdso.lds +=3D -P -C -U$(ARCH) =20 diff --git a/arch/arm64/kernel/vdso/vgetrandom.c b/arch/arm64/kernel/vdso/vge= trandom.c index 832fe19..e77f45e 100644 --- a/arch/arm64/kernel/vdso/vgetrandom.c +++ b/arch/arm64/kernel/vdso/vgetrandom.c @@ -2,6 +2,8 @@ =20 #include =20 +#include "../../../../lib/vdso/getrandom.c" + typeof(__cvdso_getrandom) __kernel_getrandom; =20 ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, voi= d *opaque_state, size_t opaque_len) diff --git a/arch/arm64/kernel/vdso/vgettimeofday.c b/arch/arm64/kernel/vdso/= vgettimeofday.c index 9941c5b..090e6a4 100644 --- a/arch/arm64/kernel/vdso/vgettimeofday.c +++ b/arch/arm64/kernel/vdso/vgettimeofday.c @@ -6,6 +6,8 @@ * */ =20 +#include "../../../../lib/vdso/gettimeofday.c" + int __kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); int __kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *= tz); int __kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res); diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Mak= efile index 00efdc5..f521d5e 100644 --- a/arch/arm64/kernel/vdso32/Makefile +++ b/arch/arm64/kernel/vdso32/Makefile @@ -95,10 +95,6 @@ hostprogs :=3D $(munge) c-obj-vdso :=3D note.o c-obj-vdso-gettimeofday :=3D vgettimeofday.o =20 -ifneq ($(c-gettimeofday-y),) -VDSO_CFLAGS_gettimeofday_o +=3D -include $(c-gettimeofday-y) -endif - VDSO_CFLAGS_REMOVE_vgettimeofday.o =3D $(CC_FLAGS_FTRACE) -Os =20 # Build rules diff --git a/arch/arm64/kernel/vdso32/vgettimeofday.c b/arch/arm64/kernel/vds= o32/vgettimeofday.c index 12d0255..1e3f141 100644 --- a/arch/arm64/kernel/vdso32/vgettimeofday.c +++ b/arch/arm64/kernel/vdso32/vgettimeofday.c @@ -8,6 +8,8 @@ #define BUILD_VDSO32_64 #include =20 +#include "../../../../lib/vdso/gettimeofday.c" + #ifdef CONFIG_COMPAT_32BIT_TIME int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts)