MIPS contains multiple different, incomplete methods to disable the
time-related vDSO bits. Unify them and make them work correctly.
This can go through either the vDSO or MIPS tree.
There will be a conflict with one of my other serieses [0].
It is trivial to resolve, remove all instances of GENERIC_TIME_VSYSCALL.
[0] https://lore.kernel.org/lkml/20260519-vdso-generic_time_vsyscal-v1-0-5c2a5905d5f5@linutronix.de/
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (9):
MAINTAINERS: Add include/linux/vdso_datastore.h to vDSO block
vdso/datastore: Always provide symbol declarations
MIPS: Introduce Kconfig MIPS_GENERIC_GETTIMEOFDAY
MIPS: VDSO: Only map the data pages when the vDSO is used
MIPS: csrc-r4k: Only use VDSO_CLOCKMODE_R4K when it is a available
clocksource/drivers/mips-gic-timer: Only use VDSO_CLOCKMODE_GIC when it is a available
MIPS: VDSO: Fold MIPS_DISABLE_VDSO into MIPS_GENERIC_GETTIMEOFDAY
MIPS: VDSO: Gate microMIPS restriction on GCC version
MIPS: VDSO: Fold MIPS_CLOCK_VSYSCALL into MIPS_GENERIC_GETTIMEOFDAY
MAINTAINERS | 1 +
arch/mips/Kconfig | 19 +++++++++++--------
arch/mips/kernel/csrc-r4k.c | 5 ++++-
arch/mips/kernel/vdso.c | 12 +++++++-----
arch/mips/vdso/Kconfig | 6 ------
arch/mips/vdso/Makefile | 7 ++-----
arch/mips/vdso/vdso.lds.S | 4 +---
arch/mips/vdso/vgettimeofday.c | 20 --------------------
drivers/clocksource/mips-gic-timer.c | 2 ++
include/linux/vdso_datastore.h | 2 +-
10 files changed, 29 insertions(+), 49 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260518-vdso-mips-kconfig-ddd4583b5f3e
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@linutronix.de>