mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/9] MIPS: VDSO: Clean up vDSO Kconfig
@ 2026-05-21  6:53 Thomas Weißschuh
  2026-05-21  6:53 ` [PATCH 1/9] MAINTAINERS: Add include/linux/vdso_datastore.h to vDSO block Thomas Weißschuh
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Thomas Weißschuh @ 2026-05-21  6:53 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Daniel Lezcano, Thomas Gleixner,
	Andy Lutomirski, Vincenzo Frascino
  Cc: Arnd Bergmann, linux-mips, linux-kernel, Thomas Weißschuh

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>


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2026-06-09 15:04 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-21  6:53 [PATCH 0/9] MIPS: VDSO: Clean up vDSO Kconfig Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 1/9] MAINTAINERS: Add include/linux/vdso_datastore.h to vDSO block Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 2/9] vdso/datastore: Always provide symbol declarations Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 3/9] MIPS: Introduce Kconfig MIPS_GENERIC_GETTIMEOFDAY Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 4/9] MIPS: VDSO: Only map the data pages when the vDSO is used Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 5/9] MIPS: csrc-r4k: Only use VDSO_CLOCKMODE_R4K when it is a available Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-06-05  7:59     ` Thomas Weißschuh
2026-06-09 15:04   ` tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 6/9] clocksource/drivers/mips-gic-timer: Only use VDSO_CLOCKMODE_GIC " Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-06-09 15:04   ` tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 7/9] MIPS: VDSO: Fold MIPS_DISABLE_VDSO into MIPS_GENERIC_GETTIMEOFDAY Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-06-09 15:04   ` tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 8/9] MIPS: VDSO: Gate microMIPS restriction on GCC version Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-06-09 15:04   ` tip-bot2 for Thomas Weißschuh
2026-05-21  6:53 ` [PATCH 9/9] MIPS: VDSO: Fold MIPS_CLOCK_VSYSCALL into MIPS_GENERIC_GETTIMEOFDAY Thomas Weißschuh
2026-06-04 16:24   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-06-09 15:03   ` tip-bot2 for Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®