public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 00/15] vDSO: header file cleanups
@ 2026-01-14  8:01 Thomas Weißschuh
  2026-01-14  8:01 ` [PATCH 01/15] arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h Thomas Weißschuh
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Thomas Weißschuh @ 2026-01-14  8:01 UTC (permalink / raw)
  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, linux-kernel, linuxppc-dev, loongarch,
	linux-mips, Thomas Weißschuh, Christophe Leroy

The vDSO header files are a bit of a mess, relying on transitive
includes and pulling in much more definitions than necessary.

Clean up the headers and remove some ifdeffery in the rng core.

This was originally part of my SPARC generic vDSO patch series [0].
After feedback I am reworking that series and it may not require these
cleanups anymore. But as the code is already written I am submitting it
here standalone.

Based on tip/timers/vdso.

[0] https://lore.kernel.org/lkml/20251106-vdso-sparc64-generic-2-v5-0-97ff2b6542f7@linutronix.de/

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (15):
      arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h
      arm64: vDSO: compat_gettimeofday: Add explicit includes
      ARM: vdso: gettimeofday: Add explicit includes
      powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h
      powerpc/vdso: Explicitly include asm/cputable.h and asm/feature-fixups.h
      LoongArch: vDSO: Explicitly include asm/vdso/vdso.h
      MIPS: vdso: Add include guard to asm/vdso/vdso.h
      MIPS: vdso: Explicitly include asm/vdso/vdso.h
      random: vDSO: Add explicit includes
      vdso/gettimeofday: Add explicit includes
      vdso/helpers: Explicitly include vdso/processor.h
      vdso/datapage: Remove inclusion of gettimeofday.h
      vdso/datapage: Trim down unnecessary includes
      random: vDSO: trim vDSO includes
      random: vDSO: remove ifdeffery

 arch/arm/include/asm/vdso/gettimeofday.h          |  2 ++
 arch/arm64/include/asm/vdso/compat_gettimeofday.h |  3 +++
 arch/arm64/include/asm/vdso/gettimeofday.h        |  2 ++
 arch/loongarch/kernel/process.c                   |  1 +
 arch/loongarch/kernel/vdso.c                      |  1 +
 arch/mips/include/asm/vdso/vdso.h                 |  5 +++++
 arch/mips/kernel/vdso.c                           |  1 +
 arch/powerpc/include/asm/vdso/gettimeofday.h      |  1 +
 arch/powerpc/include/asm/vdso/processor.h         |  3 +++
 drivers/char/random.c                             | 16 ++++++----------
 include/vdso/datapage.h                           | 23 ++---------------------
 include/vdso/helpers.h                            |  1 +
 lib/vdso/getrandom.c                              |  3 +++
 lib/vdso/gettimeofday.c                           | 17 +++++++++++++++++
 14 files changed, 48 insertions(+), 31 deletions(-)
---
base-commit: dcf5b55ca66160879205b1ee7b9b711751070edd
change-id: 20260114-vdso-header-cleanups-d2fa26758eed

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>



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

end of thread, other threads:[~2026-02-04 17:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14  8:01 [PATCH 00/15] vDSO: header file cleanups Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 01/15] arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h Thomas Weißschuh
2026-02-04 17:50   ` Catalin Marinas
2026-01-14  8:01 ` [PATCH 02/15] arm64: vDSO: compat_gettimeofday: Add explicit includes Thomas Weißschuh
2026-02-04 17:51   ` Catalin Marinas
2026-01-14  8:01 ` [PATCH 03/15] ARM: vdso: gettimeofday: " Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 04/15] powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 05/15] powerpc/vdso: Explicitly include asm/cputable.h and asm/feature-fixups.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 06/15] LoongArch: vDSO: Explicitly include asm/vdso/vdso.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 07/15] MIPS: vdso: Add include guard to asm/vdso/vdso.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 08/15] MIPS: vdso: Explicitly include asm/vdso/vdso.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 09/15] random: vDSO: Add explicit includes Thomas Weißschuh
2026-01-22 23:28   ` Jason A. Donenfeld
2026-01-14  8:01 ` [PATCH 10/15] vdso/gettimeofday: " Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 11/15] vdso/helpers: Explicitly include vdso/processor.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 12/15] vdso/datapage: Remove inclusion of gettimeofday.h Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 13/15] vdso/datapage: Trim down unnecessary includes Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 14/15] random: vDSO: trim vDSO includes Thomas Weißschuh
2026-01-14  8:01 ` [PATCH 15/15] random: vDSO: remove ifdeffery Thomas Weißschuh
2026-01-22 23:29   ` Jason A. Donenfeld

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