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=1796369451; b=uCR/PlsJSbwjqVBOeA5kFvK5moEy5uulgQxOXoekfXCDmiPElsBX1sqjhiA0zWuRdEMU eRDO28+p+0vmhQ3daClNmX9k/dVg4VIyFwTiBp9SxLsUaqZuU1TldScpChURfwWVf3zjs AkNVoRCiEIYrE9eVRZAAUCbt4piS1lgqXZtJ5M/Dn2IEaNHmzuqG11L6NpBpHynINDqmK +ldxJJTlsXSh5aPaHaOodPr9FdGPRUCdResKNGw/cj1mvrrlptbggDS/fyQSBDnFL3eqR jax09f9kZfFKkhue4LSISHORSzH7qsfZEtOcnk/5eOMi1aBSfCHJHzRcRjwOJnGjKIQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796369451; h=DMARC-Filter:From:DKIM-Signature:DKIM-Signature:Date:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id: References:In-Reply-To:To:Cc:X-Developer-Signature:X-Developer-Key; bh=xJOeRkgceIUdpzYP9G/bZ6yca3yDzgtqmhsXCy54I34=; b=WxbMtji1rrzelBPY6ZUszEDqD9f3dOvAmvnhkysBMQaeCZS6RLCeRWgSaDEpC1jlcY3j XIwpXL5Rn0rxNsYNat/Ios1aLfTqGOxGinjg1CbymwSimeaHMjeJybDdlEx0EJzQrHjl4 fxUwTKpQUscPNFMW8X6+nnZM6xI33L96tBr/XT5RpWX6WCT4azZal4B4v2ip6QscxV26d rl7R678YP71SKG3hiIEM/UuTgiOonmr1ioZtdPr8vH2V8kFZlFMxA688jWxEgTOoWoe1W 3Ylx19ghALDUXeuqPG+7/xCRjxqBXkzOYfIbL3H6hyRQWmbXokcV23Qm5npkLOhhK1A== 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=uSOyOSCv; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=0nyOZQHv; 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 30F6A606A68A; Fri, 4 Dec 2026 07:30:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 30F6A606A68A 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=uSOyOSCv; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=0nyOZQHv From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796369449; h=from:from: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=xJOeRkgceIUdpzYP9G/bZ6yca3yDzgtqmhsXCy54I34=; b=uSOyOSCvdf6WyiRhOsv3oENIDqTV5i1JOyUv/VBiMvLYS2SO1MdBLe7YAd22gix+V3bMch hwp/oYogG0F7oXj9Z8vFhC/QKIp2Q9dMIQXKm4I5e7I02+sJZqDTDZW36oLiERPQmny6cZ /f13yH/pNhvN6OwujeJ4tGLL8rg6yIz9ij9e1+m6Tg3qsKdzKNoFCYzECDKQ7EwkQO5C6Z b26YxZf7ZWrktZXm76DMpmZYVz3EhvBnDEP9/SK7Eh2C8jbkojFJ/9NtvSzqCbUqItDQgY EW2SCGqmdQXf8EdVJcW2+inJptM8RBp9bZrTF/wqIeyeWC3qIr3mWBnMXOaL9A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796369449; h=from:from: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=xJOeRkgceIUdpzYP9G/bZ6yca3yDzgtqmhsXCy54I34=; b=0nyOZQHvGy2Uut7mKjdMcTUnev5Nnl7EfuhEtZfItJrtN4nCX1EAJ/gtR88PlyXYSxEZnv DJk7dCwMqZZY94Ag== Date: Fri, 04 Dec 2026 08:30:30 +0100 Subject: [PATCH 3/9] ARM: vdso: Directly include the generic vDSO implementations X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20261204-vdso-generic-include-v1-3-8f4ed31bfbbd@linutronix.de> References: <20261204-vdso-generic-include-v1-0-8f4ed31bfbbd@linutronix.de> In-Reply-To: <20261204-vdso-generic-include-v1-0-8f4ed31bfbbd@linutronix.de> To: Thomas Gleixner , Andy Lutomirski , Vincenzo Frascino Cc: linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1796369447; l=1359; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=F6UZtDu8SROXoRnM7acOTn3rnASk7trOXcE0iDERwiQ=; b=lvJ/odU8deKS6hPBuV4T5pp/33RMReQ4znzsIYvbQnGHzqEwMKlNIePKGplPLVuJrntVu2xPt YXKFTMNQk8JBZ1goQzPBdu2F5t9iCc8aEwT8CFj23Yi1C53UiDfz+B3 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= 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ßschuh --- arch/arm/vdso/Makefile | 4 ---- arch/arm/vdso/vgettimeofday.c | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index cf8cd39ab804..c1dc650672bf 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile @@ -27,11 +27,7 @@ CFLAGS_REMOVE_vdso.o = -pg # Force -O2 to avoid libgcc dependencies CFLAGS_REMOVE_vgettimeofday.o = -pg -Os $(RANDSTRUCT_CFLAGS) $(KSTACK_ERASE_CFLAGS) $(GCC_PLUGINS_CFLAGS) -ifeq ($(c-gettimeofday-y),) CFLAGS_vgettimeofday.o = -O2 -else -CFLAGS_vgettimeofday.o = -O2 -include $(c-gettimeofday-y) -endif # Force dependency $(obj)/vdso.o : $(obj)/vdso.so diff --git a/arch/arm/vdso/vgettimeofday.c b/arch/arm/vdso/vgettimeofday.c index 3eebeddbfd18..610f09301f39 100644 --- a/arch/arm/vdso/vgettimeofday.c +++ b/arch/arm/vdso/vgettimeofday.c @@ -10,6 +10,8 @@ #include #include +#include "../../../lib/vdso/gettimeofday.c" + #ifdef CONFIG_COMPAT_32BIT_TIME int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) -- 2.56.1