]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: vdso: Switch to generic storage implementation
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 4 Feb 2025 12:05:40 +0000 (13:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 Feb 2025 08:54:01 +0000 (09:54 +0100)
commit0b3bc3354eb9ad36719a044726092750a2ba01ff
tree68d6cfcd175fb205feac21b7fec588f45666d55f
parent365841e1557ace6e8b4d5ba06a6cf53f699bc684
arm64: 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-8-13a4669dfc8c@linutronix.de
arch/arm64/Kconfig
arch/arm64/include/asm/vdso.h
arch/arm64/include/asm/vdso/compat_gettimeofday.h
arch/arm64/include/asm/vdso/getrandom.h
arch/arm64/include/asm/vdso/gettimeofday.h
arch/arm64/include/asm/vdso/vsyscall.h
arch/arm64/kernel/vdso.c
arch/arm64/kernel/vdso/vdso.lds.S
arch/arm64/kernel/vdso32/vdso.lds.S