From nobody Sun Feb 8 23:41:59 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 137DE2BE652; Wed, 14 Jan 2026 08:01:45 +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=1768377709; cv=none; b=OvRP5aFXqMKEzNx+2DGf8HMC1kJbf6mX7XNdrW2vj6TP4f0AKFEXvLZLMqx2trydhwRIYh1j8CFPq2wppFgoC3Xk7EFkH4YruKNviWBajfqPWD4cmnKlpJOUHD/MAWopauQCg23RzSpZSscepmI0L6z4wB2CRO78xGXHaCr9iis= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377709; c=relaxed/simple; bh=MGIkY0CNSmg8aEEnDJvrpAOVG5mHT6sc+hCNGJPRU7Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iVen8X5IWq8mhtEQExHpG5M0XQZOUJQG70pTtma+mptGzIh1wzQppysyZAIk8ck3MQI7py+CtNv1Gk/yz1bToq8PSbLr6mBd0q2hB9PuHopTPPYj6Er8416RLEAzqbE4O/0Tp1elSrKJwoY2UnAQURPCpfiWkHXejCI0JmdZKes= 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=Cjmfgcm3; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MTKqHMuA; 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="Cjmfgcm3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MTKqHMuA" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377703; 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=aey3W1GcF5/kk2rrmPxnaG8WX8/5pWHilYSE2+aWcjY=; b=Cjmfgcm32JhqkCEoeaSa9m2cIcMi8btvnt3YSf8E5s//imPdGugSjw298WAFNu+zQWvhyH Cy3fXO4wRSLdsdNe0neZS8UQfPnxTKhfqp349re7O8SAHxyEfUntmEmXiYvUiqmnhruBNh 4bvnrbwt1xy1/T7b+axMGi7AHRxXh7vmVO06sXGFjb0A1C6FH7dRuvAezFI1QFxnZWsKOn YTC3U89Aqkdrl66NZST0xt8xuv4u7pgbiM/ZRcOTp1oRJUj3Z5Bbl4NZLfm9dcFT5DAky3 XTsG90yM3cWzTbbCT68qcNmUSCK3b6hwbVpUCTomFS2Wg8e7b32WyWLLiwMbNA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377703; 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=aey3W1GcF5/kk2rrmPxnaG8WX8/5pWHilYSE2+aWcjY=; b=MTKqHMuAYUsqIwBOH4XjiusWx952DVnyz7WgydQWEvzRnedDf/Jg+FWUTUooorWrpXWk89 BKb4+xxeiroGAdBw== Date: Wed, 14 Jan 2026 09:01:33 +0100 Subject: [PATCH 01/15] arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-1-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=793; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=MGIkY0CNSmg8aEEnDJvrpAOVG5mHT6sc+hCNGJPRU7Y=; b=X5KSM5ToYToqgQd2Uf6oIkrmBvM99b3NT57ZSfONBWJXgIK1bfM5/+g+FO9eWk6dgSUdSXSTi HTI2+uEr87BBN/4H1eV6/rt8WfmZKL5MYQtWQoWgId1EwNAUplCOeO7 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The reference to VDSO_CLOCKMODE_NONE requires vdso/clocksource.h. Currently this header is included transitively, but that transitive inclusion is about to go away. Explicitly include the header. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Catalin Marinas --- arch/arm64/include/asm/vdso/gettimeofday.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/vdso/gettimeofday.h b/arch/arm64/includ= e/asm/vdso/gettimeofday.h index 3658a757e255..96d2eccd4995 100644 --- a/arch/arm64/include/asm/vdso/gettimeofday.h +++ b/arch/arm64/include/asm/vdso/gettimeofday.h @@ -9,6 +9,8 @@ =20 #ifndef __ASSEMBLER__ =20 +#include + #include #include #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 04C1835F8AF; Wed, 14 Jan 2026 08:01:45 +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=1768377709; cv=none; b=hIh/rPAw1gizwYpUmZbAyzuEK0X/MTuTvgP+P/H74aN169AtGOlVH09+vp9/7UuzNcQzbPuYuJVlvUjD3UR8sAroGC7FTsby0S5Yc/susgy2BYOqo39KjfGRTsERagBkMYivtphiTYbfzhmWfNlrXYvx+sTnEPV5YTuWSfxzrAM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377709; c=relaxed/simple; bh=8dTNv+yVf4Z8az2E9ZQfv2/XdTFEorjE3dqOlt1qLCc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IFioY8ZKprXBwFvcgZxr9IdEsj89Xkz2E5G73aB1yp7I3H5KQdS285TcEJGeP+hkFdnDRVsTF8cYxZfejkJDLruVior3C06SwyXONVA0lZH3W+nfRl7tdTI+xJOlWghM97leWYU5Tx/vG55dzyK8zWyVwy0el3ivCGqQwDLM19M= 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=X2n9lkHE; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=7G3UuikP; 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="X2n9lkHE"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="7G3UuikP" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377703; 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=CZ4al2SPwjZRA5ArbmTM9kL6oha9+6/vJmT8I4plK7g=; b=X2n9lkHENZ4jfYgkIQ0C0U7KDMwiB/Rg2H2tdkd9A6BbnYGQPssZLxfBLWKDTbgxIrY/ur oXEl5UwdXS1/q1kXweuIY6KGKTNjDO18nlwRuPS0OKxUu+p3RAcGGSSv3TZr4o/cIa8sZQ 1qlbd3VXxwi6M2SxeEAL/T/JANsRH+WI/8qWOnJh7mZpfb2m1nkTWDObXGYA8jNPwOqLi5 UrzMlcBaRCIoSA955H6MQOSIqIIQSolCNrUd/zWbdpxZBiuaOwc7lKqtSqcTmFgjhVLpnY iBiQnI2wKNG6psVu+pogvmjS6xrs9jy+uW5UChHoqypIet1/Pnd/iQIYJ/l7vQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377703; 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=CZ4al2SPwjZRA5ArbmTM9kL6oha9+6/vJmT8I4plK7g=; b=7G3UuikPqM3fOKDGIyjEvivukjlLNfUfcdUPQWvDD+A26guirPEHCHpTzVW/XT9icRpcsf BkLU7S3q2MMxxXCQ== Date: Wed, 14 Jan 2026 09:01:34 +0100 Subject: [PATCH 02/15] arm64: vDSO: compat_gettimeofday: Add explicit includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-2-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=920; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=8dTNv+yVf4Z8az2E9ZQfv2/XdTFEorjE3dqOlt1qLCc=; b=xtjZ67L1Em5phMztPWgzg+bM7UF3KsFOj9j8pFZJbq6H0oFSziF7X7lFCJyq48vPbE7jeJ7H9 NtolTY0TjEjAce/TkjdesOrSUKjHjDD4T8aqlg3hZeamMTgUF8NYuU+ X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The reference to VDSO_CLOCKMODE_ARCHTIMER requires vdso/clocksource.h and 'struct old_timespec32' requires vdso/time32.h. Currently these headers are included transitively, but those transitive inclusions are about to go away. Explicitly include the headers. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Catalin Marinas --- arch/arm64/include/asm/vdso/compat_gettimeofday.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/vdso/compat_gettimeofday.h b/arch/arm64= /include/asm/vdso/compat_gettimeofday.h index 0d513f924321..a03e34b572f1 100644 --- a/arch/arm64/include/asm/vdso/compat_gettimeofday.h +++ b/arch/arm64/include/asm/vdso/compat_gettimeofday.h @@ -7,6 +7,9 @@ =20 #ifndef __ASSEMBLER__ =20 +#include +#include + #include #include #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 198723126AD; Wed, 14 Jan 2026 08:01:47 +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=1768377710; cv=none; b=kkdzqxGVb/hF8Kq5nC1T2TxGEnA42+ADQu+S7+rPnIV50yNvsiAenO0jTNXcertJtYx0Jn1HfNtFdxVv4Li4VVkeHuJRkh+zCVTK4Fb20nif0ONGP1K24kNsumSHiFO+0WMS0DbcaJC0W02MBvFpqFtX1onv8Bc7qLzrzvwjIkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377710; c=relaxed/simple; bh=vbsis2SPCTtEZ4XgoR3kowjwtrHTWI5LshY6sBG6vPg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EvFaoR0XB/UP3TaiDijUqPzGPwdl2NMPguKHw/6Ed7DWAjbmIvjpMTawudSvNyCYRDItoJem9uN1Dx95sI7P6TgbyLHA8dNCjavydV29aBom/c99cSXbZwWJS+nLHJ+o8djnnkKgRL7CpufsHCytDmZWl/Fr0zoEygSjMo21IXY= 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=R86PWwrt; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=BOEEtN5s; 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="R86PWwrt"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="BOEEtN5s" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377704; 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=t+XegyIZZp8VgtWMc/UdNyYxP3JKnwycRhd9Ip+No+I=; b=R86PWwrta6wRViX3oe2B+0G7JaG27PSaukjBa6pWWkxgv2OnRsLcsJE57gOMAUPBkZhr53 o+0j2fF6uHnc4qyyNKRnyFUvgQvUiXfMEezvmdgo54W4GN//xaoccCz/1nME2Kj1SulIqZ 0ZqcK/0T2Ndk420N2juT+ha5IrLqdVuVsxV8qn9kUlxLzUCjdUOLaAskKOXITxm+g76F6B t/MMn/U5wGy14WUVbOtStsjbEkGgV/wzHRWBtikN6wG8r70gAdzSzzxDqwO21ryxgDK0ro 1dqSknbUVkopn0p903FTTI9PAflkzXUshGKp7J5riIOrpXufC2dC2y1StpfDDw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377704; 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=t+XegyIZZp8VgtWMc/UdNyYxP3JKnwycRhd9Ip+No+I=; b=BOEEtN5s026PkzdcYp/EYq6nREV5zqKoB7nqsnPOdwtDtGMMv9vCxLG9G6oGeUfE/pLU4z lKcKfZoJpNyHumAA== Date: Wed, 14 Jan 2026 09:01:35 +0100 Subject: [PATCH 03/15] ARM: vdso: gettimeofday: Add explicit includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-3-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=899; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=vbsis2SPCTtEZ4XgoR3kowjwtrHTWI5LshY6sBG6vPg=; b=KkQopiJj1U5HqPykgIJsIJ8zy8tprX6k7l/rsqIsT6WdWQJRwFyCFccpE7kDW34aD1vM4DG+3 97uAQRDhS2OCVLwRMwJp0CJXGzCBwsjDe+LzojO2GxppEjNXxlP68sr X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The reference to VDSO_CLOCKMODE_NONE requires vdso/clocksource.h and 'struct old_timespec32' requires vdso/time32.h. Currently these headers are included transitively, but those transitive inclusions are about to go away. Explicitly include the headers. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/arm/include/asm/vdso/gettimeofday.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/vdso/gettimeofday.h b/arch/arm/include/as= m/vdso/gettimeofday.h index 1e9f81639c88..26da5d8621cc 100644 --- a/arch/arm/include/asm/vdso/gettimeofday.h +++ b/arch/arm/include/asm/vdso/gettimeofday.h @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include =20 #define VDSO_HAS_CLOCK_GETRES 1 --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 1A3EF342C8E; Wed, 14 Jan 2026 08:01:47 +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=1768377711; cv=none; b=SmSV/dPMEYz2ZuQTF3hm6ukRTmxMLfgM0sbM/vhhb+1qjkiMZympI55jQciEgr+cUKsD26iBvlzpwJEbkQ92/AqcDACw4UEdhi/fs0t3kos25bCjjiWpCsVyDL5RbVhkaeawlPFhQshNoQN3KVmmf0v1SPXc+Dk/so9mAKMYffQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377711; c=relaxed/simple; bh=CY5CpcPjq39MxqXMgbeDe7Nib98JfeTlvdi5xywuqgU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h2+iluT5iNu+QIvPqHiwZ6rP+dyGjrPGcdzT8yln7D8QVKqSuk4m/A9vWVP9wW+WZw8coptaF1zmWZ9xRiwCTbcGDrpEYP3G7+cTKe2XAkZYsr4WIsf0n+ppoAq6OFrdJB0ZCAiuzV0lYYFrqhwx9YeJFrtcP4a23L/DN46RdeE= 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=Gat/DG50; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=0ACNizg5; 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="Gat/DG50"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0ACNizg5" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377705; 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=zf5YPzBQZDKrsTEVEPeYB2jMwqKC6r6qPkNYPXsVb+g=; b=Gat/DG50EAv/3EUc+6tlnCSA4nVoo2IOEVoTzpJlC8YhGCU8YB49JbSnusWsGweENp3pD6 MeCm5iMMeRVNtRaZTECKU36redthL+vR6zhLgbGcuqkBqEcG9YSHWl4kEiQrXWjIaga+59 8O3wGFUmyTObNW1QwcHo6u6UFvqZUdSUNy/NDFpkNnB+qN9vZ10o/AlJWKdgkLCZq3bsqU gqUqMUJeLCmQyPKLx8xiluZPTnzLx1ZmAusMQKuy2oD6ESW/LmUX2Peh9p2T0OeCQFpRA+ lF02K+yP8Mk4lLVr6G0+ld7Di1EHWe9X9mhTGYyNqLI80GqN7t33iQGuGGbWNw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377705; 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=zf5YPzBQZDKrsTEVEPeYB2jMwqKC6r6qPkNYPXsVb+g=; b=0ACNizg5JT1Theaq397XvnVuytrcm3g1AHlXzaxE4xRWbheQ3cG0n5NLWSi+EampNnrqDE rLoaSZmZWv3GenBA== Date: Wed, 14 Jan 2026 09:01:36 +0100 Subject: [PATCH 04/15] powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-4-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Christophe Leroy X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=856; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=CY5CpcPjq39MxqXMgbeDe7Nib98JfeTlvdi5xywuqgU=; b=VaXzMveM6w4lOMIzZU6BEqJfNH9Cy5CDDT+7C6Azm9qkQOzBblUXGxZ15dzSZ0L63+fWF8qtf 69bxDBriopJBCPBqTO8UjWYD6IuNUPAiExJ1TXcZbUCW7yYe0bsacma X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The usage of 'struct old_timespec32' requires vdso/time32.h. Currently this header is included transitively, but that transitive inclusion is about to go away. Explicitly include the header. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Christophe Leroy --- arch/powerpc/include/asm/vdso/gettimeofday.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/in= clude/asm/vdso/gettimeofday.h index ab3df12c8d94..b2f0e971076a 100644 --- a/arch/powerpc/include/asm/vdso/gettimeofday.h +++ b/arch/powerpc/include/asm/vdso/gettimeofday.h @@ -8,6 +8,7 @@ #include #include #include +#include =20 #define VDSO_HAS_CLOCK_GETRES 1 =20 --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 2338B36A021; Wed, 14 Jan 2026 08:01:48 +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=1768377712; cv=none; b=gGEjViYE7vRQPiz/cdBZqBTsLz0njo8sA9g/reQ8uGRA94iQaZv91XfcvpdaNGnzCZp4BHR2QYHXUWNtRFGaONH+0Mk8ic7TD3t7KcXZA8zPfhEHgjkcb/eX3wkvc6HdXcq52jliAMmrXXwo5HJAJkBdQYCIpORK1EpZss20gjs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377712; c=relaxed/simple; bh=7hrCYWBIqqPuqZi+KWMOs5v3zvUVJXWvUMyMvUSo5Cs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hQIwvjgyOQWjcNHQXWl3HrwUj3ZcS0SXyt+iNDpImYQcGoUy0ZzBBb9zSWPmUIzuSwlcMPFNWJcIXQxFJOMx3iz7/YUY9t5H7bpsY5Nwa3HuGFYWDLZ3g1xRdYbIYRzurTJpsxnMjo0zTHWie5dQjb8j/cTWSRsgnCm4FZso+Ww= 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=KA+Ept47; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=CkgHGL1i; 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="KA+Ept47"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="CkgHGL1i" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377705; 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=wPDeUtfk02gHkXYGBZ6ArUYeEEiuysvRM9FvgAfiA68=; b=KA+Ept47Bd52d2/CrPrkEZSPfwLpgpLDw4bnKDsi6WumEYorcDbZZKJYnNxG31YwW4vUuy gwLhcrBzAdm9l5h+GKhwRtV9yXgQ3+8wXjd226AUV0mBOMn1JQu73HX2f9UuHTnEDqbTbv XyVYn8xdbupp6W+zWJHBiJWHPjNu2Tls9g15Q9irbG+alB7Lb/2bIofuJqt8pwaW8IdITW O5tBJmikrnAllU6Z45bV2kAF7aII/LibRGnYcEGbcEUbvHREVMDmzCMMrLvhg+je7DvFwt KIx9wuGjnknqEEXA+hU0z/AeemLw80m7m0ozqx6HNwzoCPPjEo7vb+y6n+d+hw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377705; 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=wPDeUtfk02gHkXYGBZ6ArUYeEEiuysvRM9FvgAfiA68=; b=CkgHGL1i5vm5cOgKwU/TkM7lIjYX5ldER62/KQXJQKU5UBvEIci5xB8RsuUekmoXyNnkhj fH1NraHpwS5weXBQ== Date: Wed, 14 Jan 2026 09:01:37 +0100 Subject: [PATCH 05/15] powerpc/vdso: Explicitly include asm/cputable.h and asm/feature-fixups.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-5-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Christophe Leroy X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=993; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=7hrCYWBIqqPuqZi+KWMOs5v3zvUVJXWvUMyMvUSo5Cs=; b=5G8pe5gnO/uaJrl3YNLb+SRx27aTKPHePxwprX/8ayO9vjOBKWD1kl8EpPsqbHsEolHPugS36 Y5hl6ZC3/d5DaK8Qfv6u5lr6ualVqzmnQ0NAnk8z4scWYc31yPN6e5V X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The usage of ASM_FTR_IFCLR(CPU_TR_ARCH_31) requires asm/cputable.h and asm/feature-fixups.h. Currently these headers are included transitively, but that transitive inclusion is about to go away. Explicitly include the headers. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Christophe Leroy --- arch/powerpc/include/asm/vdso/processor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/vdso/processor.h b/arch/powerpc/inclu= de/asm/vdso/processor.h index c1f3d7aaf3ee..4c6802c3a580 100644 --- a/arch/powerpc/include/asm/vdso/processor.h +++ b/arch/powerpc/include/asm/vdso/processor.h @@ -4,6 +4,9 @@ =20 #ifndef __ASSEMBLER__ =20 +#include +#include + /* Macros for adjusting thread priority (hardware multi-threading) */ #ifdef CONFIG_PPC64 #define HMT_very_low() asm volatile("or 31, 31, 31 # very low priority") --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 E729437A487; Wed, 14 Jan 2026 08:01:49 +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=1768377713; cv=none; b=ItGNqfz6Fc55lgQrAva0++k8KnpSPBDkcS9Z3GmN/HDYfUL8O1uJqZDXsRJFewMDJPD/FyKjw1KOXWbCU0FGEMLnt7vLW+0ehSJd6emEdqt0kr/aMab8TPmdsNJPAzqRt44W5ua9kArSf/MIKf7S13KXKEB41kGyBRQKXpxPLys= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377713; c=relaxed/simple; bh=+1lVkIKKJkoQnYmow98Tw437AO4O84MXjHTDHSn6twc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MyQYvVJA8N9txiNBp1emN8JPPei3Mdbkbbkc2mwaMUrIAcyH3ZPSHjlsJY2L1kjzibrRWZlJPC5JRv5U43xPWV+P9941kIy9as+iQEjaG9HwtnnYUB1iri/XGEeEky8x1aaeEha9SO7ppOYA6PP7CPMyxvozNWCu+4vktJicQQk= 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=cA25spE+; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=SgMua/Vu; 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="cA25spE+"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SgMua/Vu" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377706; 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=ZiYZplVIU2bMswWsXnCI5OxX7s9uc9ivxQhrNyMPrMI=; b=cA25spE+wAim8f1k+7WuJqzkDZvys6GTSxpb2KmSk+Q+nQBzXS6tfqlpAIRKvEWYEGEjvt M5JYrhtF4/V7c4vtQje/H0cuZpahEmHorlI/aBdZoeMr51ZcqUWKmDVzJtHrHHS2taSN91 1YNJm9KnYtXgoX3ro/D2d3WfFLskk6NY52CUjWd0s76hHvC6jTvROMwulq0w/PUhx2DJ8e llKyvPoPCo8CkP0T9hesoHw/d3X/z3lSpfBKSjqNkxL9PS13hDmD8aNhFTOBJtRuK7vGIt fyj9kweuwPRVmPQctCN7GIKojrBoYO9FlPcIX81ToULXHAYvm51VYRQLw21shQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377706; 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=ZiYZplVIU2bMswWsXnCI5OxX7s9uc9ivxQhrNyMPrMI=; b=SgMua/VuHoFPAPNG81enXWwvuyMKNcRB1exKhqZ6mzcCPvQlL56vFKb2yy2OPUAZMGjSg4 mjGySB7DwP2mtJCw== Date: Wed, 14 Jan 2026 09:01:38 +0100 Subject: [PATCH 06/15] LoongArch: vDSO: Explicitly include asm/vdso/vdso.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-6-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=1174; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=+1lVkIKKJkoQnYmow98Tw437AO4O84MXjHTDHSn6twc=; b=pCjZhMqwiVM5dgHItzyl6ajTK4aOPh7tLHVrMhOvnWvfFRUP3zDl4L0c5DomJbGojdZtYsvCu PpRT02OC5rBD9WS5fmROTezk+B3uOUsN8u/z0qHvLnFrQyxBXL7Gviz X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The usage of 'struct old_timespec32' requires asm/vdso/vdso.h. Currently this header is included transitively, but that transitive inclusion is about to go away. Explicitly include the header. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/loongarch/kernel/process.c | 1 + arch/loongarch/kernel/vdso.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/loongarch/kernel/process.c b/arch/loongarch/kernel/proces= s.c index 4ac1c3086152..ac3a0baa5d00 100644 --- a/arch/loongarch/kernel/process.c +++ b/arch/loongarch/kernel/process.c @@ -52,6 +52,7 @@ #include #include #include +#include =20 #ifdef CONFIG_STACKPROTECTOR #include diff --git a/arch/loongarch/kernel/vdso.c b/arch/loongarch/kernel/vdso.c index dee1a15d7f4c..663660f08a1f 100644 --- a/arch/loongarch/kernel/vdso.c +++ b/arch/loongarch/kernel/vdso.c @@ -18,6 +18,7 @@ =20 #include #include +#include #include #include #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 99CC93793CC; Wed, 14 Jan 2026 08:01:49 +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=1768377715; cv=none; b=bc5ZmaKZtDh6SIQ8vYM1DyDX/08wh35jbg4WfK8DB4tVWrF/BV/WPcDRxmxbO9+kvHcYgihai3aYsEUIVtFEUkKXOn/EEo2c7RLC0tKc37ausNd7+R15y8/PolaftB4S2bT3L6DtL9Z1w2kTArs/noLR04ZbtINtC7g7nWogeBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377715; c=relaxed/simple; bh=+Wcy7WXtx6fsZm7eFBJhy/yoGaqdcT1tYaHgYzL2d5g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=brU70uwa+JHlEYFs6H2AczDU+UpF+HL+134dm2ZEeU3W0aw7bS5Y7zOuXooIVtz7Sx3lfKySoWlJY7/NhlY7eW9InQHG/0rz+ynHFt4k9DunxYaEYp/3yqxsFGbhUEnuKK5//3t9KHWM0EWoDix67+420wVMZrrlQkL+XU8rVW8= 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=vCWAQtiI; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=WNTKAX2W; 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="vCWAQtiI"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="WNTKAX2W" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377706; 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=OgvUl7fZvLFsRnGSveNl7/DD5eX3IjONlFG6m4/kXis=; b=vCWAQtiIU3Wxd7rFg02B2t0bIwqjqYkHndYy0Uyf79vYVMslcQTzhvVeE/m1SfCrUa6FRE PTXOMQSrPT21K13gKvoKnLFS6KWiUUnxHw4DxKaOZYu5Zbe1tmfYSXXYDgc/bGLldbvAnu ULOdWef2He95wORAmod/Pj7zZDZ2+kzm0d36ogkQks9TqbicVqe1gNyLKdt/K9n921BqBi 4p7Z6HVJB/GSk9mBLx/3F4JCu/YzF5WyIQrTsm9WYIOpjSdyXHuE7BzUVId2VjLXeUrcaR 5Ei2h5lm33wqW3y3GQvmk3bg2Z2loHh+L0F//ZCGIre229a4CFoZ6rTlPkvteQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377706; 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=OgvUl7fZvLFsRnGSveNl7/DD5eX3IjONlFG6m4/kXis=; b=WNTKAX2WolqSRqQ6QiWJZQ4MY5tUqvJ6en8554tAfOvxm5SzOyi17gkoAypgq2gQnMkBtg YHldIiL/6Bppe0Cw== Date: Wed, 14 Jan 2026 09:01:39 +0100 Subject: [PATCH 07/15] MIPS: vdso: Add include guard to asm/vdso/vdso.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-7-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=915; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=+Wcy7WXtx6fsZm7eFBJhy/yoGaqdcT1tYaHgYzL2d5g=; b=t7XGfclDQVcut4P0uQIZeoIZKH/awyXF/occ/9y7qxL+ZenmO6IU5vAWHxRt0qNMOD8MGLdlE GxhqnmdA1gsDUk6bg/wL5RRsr1MJ+aaQuEuZcbesWv+QXVekjQFNfF1 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= An upcomming patch will lead to the header file being included multiple times from the same source file. Add an include guard so this is possible. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/mips/include/asm/vdso/vdso.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/mips/include/asm/vdso/vdso.h b/arch/mips/include/asm/vdso= /vdso.h index 6889e0f2e5db..ef50d33f3439 100644 --- a/arch/mips/include/asm/vdso/vdso.h +++ b/arch/mips/include/asm/vdso/vdso.h @@ -4,6 +4,9 @@ * Author: Alex Smith */ =20 +#ifndef __ASM_VDSO_VDSO_H +#define __ASM_VDSO_VDSO_H + #include #include =20 @@ -70,3 +73,5 @@ static inline void __iomem *get_gic(const struct vdso_tim= e_data *data) #endif /* CONFIG_CLKSRC_MIPS_GIC */ =20 #endif /* __ASSEMBLER__ */ + +#endif /* __ASM_VDSO_VDSO_H */ --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 E6FBA37418A; Wed, 14 Jan 2026 08:01:49 +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=1768377715; cv=none; b=iOvqCOL9T3nNHaswEYESudvbSh0jNKvkKwoROq0nUj/SGq9DYbToa9BQ+l532AAwIDUz1pCp/MV5N5A12GhRPTAJwSCq5yG9U43zuH3qLhTIlKufo6wXPH73p5UN6WCXhtTRuKHB652l7SdcEmvmOOcqV2pfXT7G6S7FjqLrovo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377715; c=relaxed/simple; bh=89K8mUiVvMvCZCKWls9fZ44jvFGy0m8pQ8qbm4twTa8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aUgFpGoMnuZcoU1xk3Y9vDrIHD31kk00n7+c1xAkXPZUiQVAE04kCnzCq0vOgAJh1plMNzG+zuSMC45F33GvaR/i9QEY5knLHVXmgl2BFWsZQAYNaKszk6qlvwkSf/lvdAlDOV6z2pZz5L2aww4VO5pLRQBOD+Jl7oc0Qf/PjDI= 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=kFqoqabH; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=uZ3P/Kny; 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="kFqoqabH"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uZ3P/Kny" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377707; 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=SoyAobvtAA9UQIKcVjt4/vpR3BEv5id0iFKUdJTluTk=; b=kFqoqabHpDV3T9wPA9bmEv8kDqQYgyBf/ZZfxqDBpt+1iIEV/ozQJr3tRvH2CdmuUPEtmn OVZtQ50rFQDY8XWV0AjmFsYSPR6iwKjL19NrTeS1RvFEyJh6cQiGgiM7bZTE5Frq9LMdny Jq7q7MzaEsO/BHoFqPtjbFPhh89yzhV5ybYXZyHy8xlNG9OAUT3biLb1AppNWp+bNg/N3V Acvvvd3BW2iv7bb+kbuY7/lT1aQwwpCGoI5OgbxXScoV5Rp4sC8FQkvUxeSx1Nc9NnX74A k4j7Ae+6q126t8Yqf1PKJ3fWPB2BBYH8w9b49fiT3ilHr1YzbD2cqHIWJFVbgg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377707; 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=SoyAobvtAA9UQIKcVjt4/vpR3BEv5id0iFKUdJTluTk=; b=uZ3P/KnyGuUf0Nz8DcxWhm7MR3FURfwdGnxivNhb+GuDV1TNbVTSIOATNT/FHtFN44972t YczMt0bOwRA1ATAQ== Date: Wed, 14 Jan 2026 09:01:40 +0100 Subject: [PATCH 08/15] MIPS: vdso: Explicitly include asm/vdso/vdso.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-8-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=696; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=89K8mUiVvMvCZCKWls9fZ44jvFGy0m8pQ8qbm4twTa8=; b=FSiu8UiGSl/Aaf2eVHxCWSFtrEdYyGw5+eoDFFvTdy8XTx/6gLGZt62GT7CmMMb0UEm6+GLmY 7hN9XerTfMXCXKMzaGcSXECibAYr028LLgbUS0JbuJ5Xbboxu6aqhEx X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The usage of __VDSO_PAGES requires asm/vdso/vdso.h. Currently this header is included transitively, but that transitive inclusion is about to go away. Explicitly include the header. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/mips/kernel/vdso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/vdso.c b/arch/mips/kernel/vdso.c index de096777172f..2fa4df3e46e4 100644 --- a/arch/mips/kernel/vdso.c +++ b/arch/mips/kernel/vdso.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include =20 --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 2872437A494; Wed, 14 Jan 2026 08:01:51 +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=1768377716; cv=none; b=Oe7spJqNRSYf48E0KiQCsPweYGjj0J50EfiktIsjMfoAkxRr2JJWOr2fwQniex9FjPrMgIKYZtPRJo95+RrLtBnmp5RKM72QHUiII1ubkaVcXBc8fzP8iplMtprzKRFV9zRI4GmQpGz79SgTBbLEMrkgV9dCyji+t8c/Jwd/K7U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377716; c=relaxed/simple; bh=Ko7rOXN2f5vKh19n3ut994p4BW56m9dv4kY+PIvm7Yk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WHtWaWSgXJc3QqsXp3dEd92AiTzyTElfIvTeDpfVOUxWnkOgUCKC2+OvtZWATtdRmJOZYGDtbbDCf66NOP8U8cLOGOfptd9QGPFlqCRwUfINdUIDsIxz/Jy4htUFouW/uA+4mZg4Tj9oIJVi1eh/coSXwzJL7eDJQRXvpPje844= 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=pJFUzWW0; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zIgedRcN; 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="pJFUzWW0"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zIgedRcN" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377707; 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=2g3QVbHrWMxbltOpJFbYJDEOEW8Rpv5rFE4qRg3bpXo=; b=pJFUzWW05k5+SSg3f6116KzG9PtFSdPOXjYr/Y7ZNCV3dg2pqVk0Kh5F+WEGurOMxEvGLE e8WYlK46AjuQ1yAo4BHqfJ7OBebZp9MdZHX/jDMy6KeCFNsxRRgpaPLB5+rXbS+BVb9BbV MdHbtBPXSJK6/lrYeASQ+abCoQtNAKK3tHtoIvyNXqHLJIhPgkdoxHW7gsd6MbPwBPk7/I A9/vclGzyQH7p0C7So8wjn6VhQZDZQSlkSeHaDhxa3PVylvsORCST058MJx0LkJiKLlUSx jXp/no7CybdXDtdCD4+m5u6u7nyLj+SYsl4j4+SUUX/anoXGPOcxt9lfEZaYGA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377707; 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=2g3QVbHrWMxbltOpJFbYJDEOEW8Rpv5rFE4qRg3bpXo=; b=zIgedRcNd3q11NN2zkOnafQCoSRyD8+2dkrpNSIdUlN8QrHNXHEcE4bTlFmXGrUE5jATc9 9KB/8Yf/M60VhQBQ== Date: Wed, 14 Jan 2026 09:01:41 +0100 Subject: [PATCH 09/15] random: vDSO: Add explicit includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-9-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=796; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=Ko7rOXN2f5vKh19n3ut994p4BW56m9dv4kY+PIvm7Yk=; b=PbIRfpWFNk9BAu4/xZnM8LVqwnYh83cMAfcRW7ldaxC8YUzNBltZ6iiaNDxvKbJrUjBSDRKG8 VF9TendS0JWAdSkvD00Kqbs3zGzzNt5ZkyIFAgLOrROICTue30rPSrW X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Various used symbols are only visible through transitive includes. These transitive includes are about to go away. Explicitly include the necessary headers. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Jason A. Donenfeld --- lib/vdso/getrandom.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/vdso/getrandom.c b/lib/vdso/getrandom.c index 440f8a6203a6..7e29005aa208 100644 --- a/lib/vdso/getrandom.c +++ b/lib/vdso/getrandom.c @@ -7,8 +7,11 @@ #include #include #include +#include #include +#include #include +#include #include #include =20 --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 29BEE379972; Wed, 14 Jan 2026 08:01:52 +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=1768377716; cv=none; b=kPkYPGEGX/UgBnAvhlSedtF37P2+dvx2LmoPlwRIbz3EAUOofrA1h7A+oMbD/kwU106PHXA1HeW12O3PApu4WvoTTkD/4xziK46nbPs78bbHrrptrLLdMd6y/07THe3XIXz5we1VNzL0elul99n5gfQBdfVwt8p3QZeN1VanM8w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377716; c=relaxed/simple; bh=/PGHbFBRbF87mDQ8qVakdB0oSPGR2/opxI5t5u5CZjA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Eg8ozVyX5M0sbT3OJ0RaY5IdvvPN30RszoYwI13655fYciBk9XpfaGbbtFk89IVXRsYqAe5IipnJEsvvLecHcNk1Zrx2lEHll661zDcBpaJ8Kvkhj6QBDdI5E4c0adIfWFDhNW99ctwC4N3N57uW8GpajVCCH/8NUMK6LArekJo= 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=1GWqSl4O; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=RuEHcaus; 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="1GWqSl4O"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="RuEHcaus" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377708; 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=sVE7UDpBEJQzs6r1E3Q1QZHCQl3Me/v8mkp8raZ1pVU=; b=1GWqSl4O8frkZuGBVEYparTPXcEIULuaQAHPdpWQ0EpnZ8DFU6kG76yfTmEL/uFcrqifGB qDsG7q88iWJAQj9WaVerLrOIX6uiIlNIczRR5QIMCpoZXn00+Y6nQypzcNK12CduQULJMP 2cGnMod0mnyeSxq++wou4ZRawxpygSbp9OXO5V0a8pyp7lvXGv9jlueX9Miv4t7Yl7A0JH r0EDzhphdhYKgvX8/msd3XVzAhdG2ibo7AsZMqfuDX76IFb5GM4RQdA0x6mOOKOSf5E6Ck xtKVaFEWDyWi4lAVPU7Up18IphP4ZcYO+Ns4bK65lN2wYKyTqN9M60nGi/R0tg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377708; 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=sVE7UDpBEJQzs6r1E3Q1QZHCQl3Me/v8mkp8raZ1pVU=; b=RuEHcausFw0WTFmyY09rtvGUsovhmgPHBLrdaFaqIfLg7PS3Nas2PhsrCcboVycDNO0E9Q C8OYIy64slBZtJCA== Date: Wed, 14 Jan 2026 09:01:42 +0100 Subject: [PATCH 10/15] vdso/gettimeofday: Add explicit includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-10-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=905; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=/PGHbFBRbF87mDQ8qVakdB0oSPGR2/opxI5t5u5CZjA=; b=cahlVVRYw0sTKZd1PnS4H0fXwsD3uJLNe4aNXSh3zZLPx5OrpUjhanSW/lZKlX6oG5dZD7lyW PAfccetFzyVCvZ50oqWEnCHNxcdvr2SPb78dJglEIcSXMNmi34om0W5 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Various used symbols are only visible through transitive includes. These transitive includes are about to go away. Explicitly include the necessary headers. Signed-off-by: Thomas Wei=C3=9Fschuh --- lib/vdso/gettimeofday.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 95df0153f05a..7b3fbae85544 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -3,8 +3,14 @@ * Generic userspace implementations of gettimeofday() and similar. */ #include +#include #include #include +#include +#include +#include +#include +#include =20 /* Bring in default accessors */ #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 523A637C103; Wed, 14 Jan 2026 08:01:51 +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=1768377719; cv=none; b=SgsSN7IpZ8ou337Lye/1C6Ncce+s2pJ57Ya4MZ37EXEgegw60vrJurSt2F3tWp91+TZ+6Ezj772p9SSnm3nobCcwx1bqcHL8cn5IvGXmXw9OsSOyOH0xS4dCnZbEgx9lUACzazRgjayT84vIK+hEh3ORe3e6Gvs11S9mRZH6Ccs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377719; c=relaxed/simple; bh=6/mNsjAlKjxQ4RplTzUqjF/4vooh/hplxS2bcWKZqDo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FGUhPAjxf/CozAh3A36Z3z0BQPBqP3MwVPhVrp8gMrTyJALGQNAC8ceY2yz+KtxENbhBkufUW2lryQ4OtTFCoO4p3n3+/4LF3jGo/+UU3JVFa0sBx+owKZaWXPoiCJ531lv52akuslBbsRK2sAiQ6tuklu/iqlY2/8bsco/EcxE= 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=4oIgJruX; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=yJSrzBvn; 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="4oIgJruX"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="yJSrzBvn" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377708; 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=GGpYGZ/EN2AZqYN0WEm5UmRFd5B8Bamrz8S6pn+n13E=; b=4oIgJruX9Pma58VWDp5HIJutiSb9llrWOkO8f5GeeoDW36Trzbl5sBwpMip4aW5JGAOXX6 J2i2qbx5qxIFfruEl5dqDFk92gMuh/vEJX91+t/xTTdlFMWzLJDKrgS1DP8JTejizodoSi gWUzK/4lFD/BXUfnGC0aPcmMKSbCDPAVEQZDDBTallOrB/EEazs7Q3yvzu44EQFbyJK6Nv d0uD5fzNKNBko7wv4oEUdFniXwbSpT9743mg4ACQl1D06tz37IO3MUjNbAxnHDFQQxSh3K vbrMOrCYrlLLVYFNJWYSB4FuwRRtT4z/G4pLMrokuQssj9Z1MnvUjILuZrrDtw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377708; 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=GGpYGZ/EN2AZqYN0WEm5UmRFd5B8Bamrz8S6pn+n13E=; b=yJSrzBvnUM6qYm9C3OI9GWcdK6AbNFlRyVNEpoMooh8VO4N/VpKJHMLOY5V9rDz7XM2trs UncTbn21uHBkCrCg== Date: Wed, 14 Jan 2026 09:01:43 +0100 Subject: [PATCH 11/15] vdso/helpers: Explicitly include vdso/processor.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-11-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=694; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=6/mNsjAlKjxQ4RplTzUqjF/4vooh/hplxS2bcWKZqDo=; b=WKou+6nB5sbu+Wcr76Etle4+RUtUJQds56pKfoSvq8eG7qKUXBH17sbcep/48mSG8Sid8fFHB t8hjfmA67GLDNiNtzGetCc81wu1tJRHvXqlouD33bhoD+v11ZohncEZ X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The usage of cpu_relax() requires vdso/processor.h. Currently this header is included transitively, but that transitive inclusion is about to go away. Explicitly include the header. Signed-off-by: Thomas Wei=C3=9Fschuh --- include/vdso/helpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/vdso/helpers.h b/include/vdso/helpers.h index 1a5ee9d9052c..a1c995af4696 100644 --- a/include/vdso/helpers.h +++ b/include/vdso/helpers.h @@ -6,6 +6,7 @@ =20 #include #include +#include =20 static __always_inline u32 vdso_read_begin(const struct vdso_clock *vc) { --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 287E237A49B; Wed, 14 Jan 2026 08:01:51 +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=1768377716; cv=none; b=TC7tnScM4t7wy2LhQmxoNgnoliVoDlcmumBN6rqDJiztEGCkHMTpxGSt08zbUulzdq+YpaWbjXSicaJmT5q/6lhzGSaSSNsgxtxl0JnbP5tnJknEFsLWZQBBeyMHr0w8c3RlNG6CK0lGjLkZZCdPekuzhrjj0E7K2k9FqU94okw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377716; c=relaxed/simple; bh=THNDDXQ5TJBoKfKwxJAGg9FjA6LPNIXQ/ren/+Tn+Gg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tNLIdGElMimpMYPhOewJOpcMkGVmjQ5L7J4rjRI08y4L8O8bpA9dnQEqVp2WH9DmLc2ZeQthrj0CeAKzlHuQ6EpMsLwEK//Udb6lWYWcycJxhdJVokEzdFgrmgiXTpqLD193UxGSO1OIbGIHVkFBXrTN0PpH+00kM31Hp3tAiPY= 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=gNSUNHT2; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MaPGvtNJ; 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="gNSUNHT2"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MaPGvtNJ" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377709; 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=srutgp5ltsK5marNkXQAClosvwfX5paP7Qw50M/lPDc=; b=gNSUNHT2Rz5KWbaYoJZcHnn2Z7Cm9xqgr++QSlSfckMUpi0W5cuqFkFGzXeNa7z4g1q79U B9K69bs/QTv6p2Ng3PW2GEtZjpgTa6u8uYIfAQyUNOUNKara8IXmwUuXfoKNVFnDZUiPCX fpB4dfv3i6hJd8Lfj+gbWx3laWHB9UTQjZlQ0Oo3vkRCSJupPnoiDdMz/D8e2Awb3tlztf kKp9xnhEhN7JJM44fgdmClbROa9nCbeSjSuj0WBZy3e8dbcxnsTlgDNesFZ8OS2hjjvfGg AWUImUCRUAuskq5Sv7lKK3iZPkkDxy82K45E5X4tZ+vb+kQj4ZbTsEwFGY9fHQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377709; 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=srutgp5ltsK5marNkXQAClosvwfX5paP7Qw50M/lPDc=; b=MaPGvtNJuMUPnfncILTFe2Zf99j2549MU4IWOa7gyBdFT/i9VYhXllWkbHCgTiFecCpppF A1i5EXra5kq7wLCQ== Date: Wed, 14 Jan 2026 09:01:44 +0100 Subject: [PATCH 12/15] vdso/datapage: Remove inclusion of gettimeofday.h Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-12-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=1781; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=THNDDXQ5TJBoKfKwxJAGg9FjA6LPNIXQ/ren/+Tn+Gg=; b=hfSBhCE095e3Dj2NAT41lp2oiOrF4FT96hfOuVk3jxeSncAn8rDr8dcwKf9HFHyeu3O8JEIZt QlK94/k4dWsDrhSqlhjs+eLBNm+uf5y5tW11k4se4l4taKK7aJW69kc X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= vdso/datapage.h is useful without pulling in the architecture-specific gettimeofday() helpers. Move the include to the only users which needs it. Signed-off-by: Thomas Wei=C3=9Fschuh --- include/vdso/datapage.h | 11 ----------- lib/vdso/gettimeofday.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index 23c39b96190f..752856b36a3a 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -184,17 +184,6 @@ enum vdso_pages { VDSO_NR_PAGES }; =20 -/* - * The generic vDSO implementation requires that gettimeofday.h - * provides: - * - __arch_get_hw_counter(): to get the hw counter based on the - * clock_mode. - * - gettimeofday_fallback(): fallback for gettimeofday. - * - clock_gettime_fallback(): fallback for clock_gettime. - * - clock_getres_fallback(): fallback for clock_getres. - */ -#include - #else /* !__ASSEMBLY__ */ =20 #ifdef CONFIG_VDSO_GETRANDOM diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 7b3fbae85544..9dddf6c23913 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -12,6 +12,17 @@ #include #include =20 +/* + * The generic vDSO implementation requires that gettimeofday.h + * provides: + * - __arch_get_hw_counter(): to get the hw counter based on the + * clock_mode. + * - gettimeofday_fallback(): fallback for gettimeofday. + * - clock_gettime_fallback(): fallback for clock_gettime. + * - clock_getres_fallback(): fallback for clock_getres. + */ +#include + /* Bring in default accessors */ #include =20 --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 2949136D516; Wed, 14 Jan 2026 08:01:52 +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=1768377719; cv=none; b=G/dUehPLLuvx04/poTuPflbxu8tLYTakzP7khxpjdwxXEM+uUJS6rxm+jBWn3wZIpJLBr3iineYIC0TmKHN5468hZKUoLzwInsPROBNI8wXEs8L/YWw9K85MFHkWePYPSMPX0Ok/0NwDcu+3PKLDEQyzkeEDf8g8+pjrLoL4CJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377719; c=relaxed/simple; bh=g995SSm3uWzL44zLMQLhSq6MK4ouj0wlKz2rgfV0H+o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=koV2qU3Vz+dtN24C4sfqQixlcHqpMAn+DxKybjPhVr3uEIlNMhLIkg3zP3kNqVyhCOC7sq8sGptifR0AtCbJ6YcB9KPG2s5FswkSubobY818fb2qedsFOhk1KsB2Rg8tmw0dkgN+cKaRLHjcrqf/F8UnoRnvgcrRWwR+HA0Z3tQ= 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=SqgWA4bk; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=7pron36K; 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="SqgWA4bk"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="7pron36K" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377709; 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=AteQZ3KBIfsVSOXUBvv1Cta9HUtHJMPoDJ4rOsFT/ag=; b=SqgWA4bk8SrK6zjJ4XxmwFz+y9tDmHRhrxGxhxl3L/2r2LCR3aoaky67UPQb3Yo2OL+SAZ dqEWaBVQ5rsSIViEw2ZmEFFOY8Iaozzv/32+2oCvOLVra/IfN0M5exCxWLzjXGVUTaXhPm Cfnbttb4fJrG1BvUQ6dcPkB6I0p/TJdERpSCRzjMapdsB4D3lBDHFvIApWUIalsKjSKeB3 HZ3Q3KZJo85miX/EGLFz24mL0M/W7KK6QPiW45oT+vNjeBp6aVI/BWVa4uRDEd+sdnBxz8 fdjlnGTb09ljHzIG/7WGjRgPQEdWVabnJXSo9kk0L+HQavOOYVV535TKUIqkXQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377709; 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=AteQZ3KBIfsVSOXUBvv1Cta9HUtHJMPoDJ4rOsFT/ag=; b=7pron36KPlFyKJz/lpVdvxza0tvjCOJMz4XVlJ7RXgQLmi/jBCCgjvMsNC4VxsjSLC8Wn+ vQdi+GyFR/2Z/IBA== Date: Wed, 14 Jan 2026 09:01:45 +0100 Subject: [PATCH 13/15] vdso/datapage: Trim down unnecessary includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-13-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=1385; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=g995SSm3uWzL44zLMQLhSq6MK4ouj0wlKz2rgfV0H+o=; b=GPOpY+Vh6GpRmj4NnspZfPS6Ur+/TqTHzwbWR6XsnTo2sNXRqpvdnzL0aWD8kRJSVfR2QvHDz ykPZv0hL9FFD3T2SL3t5+WRKuyHf1BLRHxL1Lno0Tku8oA1taiA1uim X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= vdso/datapage.h includes a lot of headers which are not strictly necessary. Some of those headers include architecture-specific vDSO headers which prevent the usage of vdso/datapage.h in kernel code on architectures without an vDSO. This would be useful however to write generic code using IS_ENABLED(), for example in drivers/char/random.c. Remove the unnecessary includes. Signed-off-by: Thomas Wei=C3=9Fschuh --- include/vdso/datapage.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index 752856b36a3a..9021b9580be2 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -4,24 +4,16 @@ =20 #ifndef __ASSEMBLY__ =20 -#include +#include + #include #include -#include -#include =20 #include #include #include -#include -#include -#include -#include #include -#include #include -#include -#include =20 #ifdef CONFIG_ARCH_HAS_VDSO_TIME_DATA #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 CAB4A34F47C; Wed, 14 Jan 2026 08:01:53 +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=1768377721; cv=none; b=VQCRy9fQn2ixqY0qTD/xRrvywKwaqu3kIOfCLAN4A5d+rRN32pWBlcSrotdmjN3ZT9qUO2NGU2tO7qrrzuCv2PREQ6yAN6eh8BvVEbC/6tLFMUoqnUXgABlwtoizUeDxmW1I9J5AUl7dndMQGL0DYYk0qYLGDriXvRBAFCCP038= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377721; c=relaxed/simple; bh=iHRl2iopmVoBePzD44Ct4WnbPDG3Iws20lECSBoN0BQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iFMLhwrYiqKNH3wvOonFxwsBGbQjMJUIMvIKppbnzwL8P6CuaIuMC1w7AyR3S2nRZevJFG8Cj6Ho8gzEzEDsVSx5wa6Djkmzk6doZtVRi/5knyuZRALmUDj7az20J9NujvmABT7n5e46M+l+MTr+XBNtcIwM7z3jc7PyRR6LOMc= 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=R5HC7GTu; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qweOf2NE; 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="R5HC7GTu"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qweOf2NE" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377710; 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=0kIfhCctwH/PXRTS/l0pyrY0rWJculxYA/h7dmY+/9c=; b=R5HC7GTuc259FnQxZrp+F5cNuaIoqy8A+ES/ta60Un2RsZxIod0YLBs/5lvuk/8sCfBcAw CwfSEBD9J/oFYWHtkATRmZvTX3DL74gCiBcYV2lYjGZWiwpjPlHt2eUTne1FYso/qCPD3B 7kCUi53E15QfiWJtVf1YcV775RxLushJo5GH1LVA07p6oq+HrUEkgf9k6TGAq5eVWxggUY K00RCb0YrS6j4b503xeAwxfr0XvA4ie2ixgYs+9cWm43F0ayCBsL1C77M/xAWOPRadxM42 rgTCIbVPVdq7MXLdgHcpTMqflxCfPivR/7vm+TI8rM3yQu0YJzhanbRDkUGlTA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377710; 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=0kIfhCctwH/PXRTS/l0pyrY0rWJculxYA/h7dmY+/9c=; b=qweOf2NEn+Fp/jDOE0ObfArk2md0NGD1Z/8dF7nNyaA+uRwgAKPz/pww3+6mAnm7R0MfbP G4dmGsbg2zb55qDA== Date: Wed, 14 Jan 2026 09:01:46 +0100 Subject: [PATCH 14/15] random: vDSO: trim vDSO includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-14-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=674; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=iHRl2iopmVoBePzD44Ct4WnbPDG3Iws20lECSBoN0BQ=; b=TVPL39Ltr/bfzoeZIk41jLl3TqbrMhbh4gc6ACjsLk7nBMd2BGcBUreA6Oc23LOS/NZtXPByZ OVgpnwljI5sDx8kJaHvSrgE0mqNtbsrGLWjIuxYgBqXYq+noXoe5/IK X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= These includes are not used, remove them. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Jason A. Donenfeld --- drivers/char/random.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index bab03c7c4194..c5122ff33594 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -57,9 +57,7 @@ #include #include #ifdef CONFIG_VDSO_GETRANDOM -#include #include -#include #endif #include #include --=20 2.52.0 From nobody Sun Feb 8 23:41:59 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 DFA0F37C102; Wed, 14 Jan 2026 08:01:55 +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=1768377721; cv=none; b=gQgXWC9VzpBPJ/JaUlp3dh0Bu/JxGZnYF5HmVTfZmddMSIxnFZkTQsHPQ8TQHy0/2y8Jfarpa+2CYVVWJsXLaNm16j12utO4/bxHR+HoJzmIF7kr6+afl3pBf12GNb1JRJFJQlvMs2iaW9NnmoEnfPJBT7/e2BKeMpvjizZ34Ao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768377721; c=relaxed/simple; bh=hWNS5r+nVG82qGHJBln+sFq/LMfDMjk+1mqnsZRfOv0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ltZRnVHvSxURKMQDvfKOsPC6vwYav1kHPNeGlV2kOOMj4TVAEp9VOecZe6Ane8eEzJiXkQvqvSczFlx3jXeJZVsDQX/PAG7jRwg+UNBkdUW80Kv4nYo9J8Fpgiv2YWMInNrCmQfI7OE2fiiTlnZj40D7pIGs57CT9WNwTkwaVes= 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=RyurSBgj; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=l7qPGnGH; 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="RyurSBgj"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="l7qPGnGH" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768377710; 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=mmsBDSxMj6qH4s0iKzaJH7Nug/ggM5kSynfO5FTnCzE=; b=RyurSBgjrMnPpN/v7XuuODcctqlEwgt8J5X0gQmXLCYO95Ln2RiV8XwaF4Fl5j4YUFO4lY 696rPN38dXLI3L0pJcq/HngYPzDxyBwDCId7f0s8Vz3OJCSNR7VJAQwgJ53kqgL6RJPpLT igj2jTKMkQJ/zxRZj8YAqOlQww0Nn09pf7uR1g7QREOBG9DwfFUuaEwDHXCgDlyhsmCqAV kNzLv/7X1Z7uuriUned/Uh6x3M/HjtJi816D/F3YuXS0Gudo4YFAHa3o06w9Ys86v3b8B4 VYnK+lnmVkhLqnPfnBTgdofGujprEcE0bZKQik5Hig4UeljVINe2w3DOoLRRYw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768377710; 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=mmsBDSxMj6qH4s0iKzaJH7Nug/ggM5kSynfO5FTnCzE=; b=l7qPGnGHXJH0KcmQmnTwm1GJP+DHUChsn0oiH4+FraC+bkq8CiTeQ47lnjYNbQgxKFN+Je WvEeHFxO18ry+uDA== Date: Wed, 14 Jan 2026 09:01:47 +0100 Subject: [PATCH 15/15] random: vDSO: remove ifdeffery Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260114-vdso-header-cleanups-v1-15-803b80ee97b4@linutronix.de> References: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> In-Reply-To: <20260114-vdso-header-cleanups-v1-0-803b80ee97b4@linutronix.de> To: Catalin Marinas , Will Deacon , Russell King , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768377702; l=2360; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=hWNS5r+nVG82qGHJBln+sFq/LMfDMjk+1mqnsZRfOv0=; b=K+9+vpziH6VU/E7N8SWkH0wrpo7XaNAxqoMMFZ3emFBortUZ3UoHCQj7XlPTB+KcBwqZhdmpm FrOM7L8+JFpBTtEhmxp8CYwqmrSKBXfUdVWxXKDsrZGp1x5kwnmKm9s X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Recent cleanups of the vDSO headers allow the unconditional inclusion of vdso/datapage.h and the declarations it provides. This also means that the declaration of vdso_k_rng_data is always visible and its usage does not need to be guarded by ifdefs anymore. Instead use IS_ENABLED(). Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Jason A. Donenfeld --- drivers/char/random.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index c5122ff33594..64f709fdf434 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -56,9 +56,7 @@ #include #include #include -#ifdef CONFIG_VDSO_GETRANDOM #include -#endif #include #include #include @@ -274,7 +272,7 @@ static void crng_reseed(struct work_struct *work) if (next_gen =3D=3D ULONG_MAX) ++next_gen; WRITE_ONCE(base_crng.generation, next_gen); -#ifdef CONFIG_VDSO_GETRANDOM + /* base_crng.generation's invalid value is ULONG_MAX, while * vdso_k_rng_data->generation's invalid value is 0, so add one to the * former to arrive at the latter. Use smp_store_release so that this @@ -288,8 +286,9 @@ static void crng_reseed(struct work_struct *work) * because the vDSO side only checks whether the value changed, without * actually using or interpreting the value. */ - smp_store_release((unsigned long *)&vdso_k_rng_data->generation, next_gen= + 1); -#endif + if (IS_ENABLED(CONFIG_VDSO_GETRANDOM)) + smp_store_release((unsigned long *)&vdso_k_rng_data->generation, next_ge= n + 1); + if (!static_branch_likely(&crng_is_ready)) crng_init =3D CRNG_READY; spin_unlock_irqrestore(&base_crng.lock, flags); @@ -742,9 +741,8 @@ static void __cold _credit_init_bits(size_t bits) if (system_dfl_wq) queue_work(system_dfl_wq, &set_ready); atomic_notifier_call_chain(&random_ready_notifier, 0, NULL); -#ifdef CONFIG_VDSO_GETRANDOM - WRITE_ONCE(vdso_k_rng_data->is_ready, true); -#endif + if (IS_ENABLED(CONFIG_VDSO_GETRANDOM)) + WRITE_ONCE(vdso_k_rng_data->is_ready, true); wake_up_interruptible(&crng_init_wait); kill_fasync(&fasync, SIGIO, POLL_IN); pr_notice("crng init done\n"); --=20 2.52.0