]> Gentwo Git Trees - linux/.git/commit
x86/vdso: Switch to generic storage implementation
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 4 Feb 2025 12:05:47 +0000 (13:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 Feb 2025 08:54:02 +0000 (09:54 +0100)
commitdafde29605ebf214747e7602f4f22d3f617373a5
tree07f2e610f737ca34cd5c98862a0803665dd15500
parent223970df2bff4caa308246404383baee2b79dba2
x86/vdso: Switch to generic storage implementation

The generic storage implementation provides the same features as the
custom one. However it can be shared between architectures, making
maintenance easier.

This switch also moves the random state data out of the time data page.
The currently used hardcoded __VDSO_RND_DATA_OFFSET does not take into
account changes to the time data page layout.

Co-developed-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-15-13a4669dfc8c@linutronix.de
arch/x86/Kconfig
arch/x86/entry/vdso/vdso-layout.lds.S
arch/x86/entry/vdso/vma.c
arch/x86/include/asm/vdso/getrandom.h
arch/x86/include/asm/vdso/gettimeofday.h
arch/x86/include/asm/vdso/vsyscall.h