All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36 ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Always provide the definitions of the VDSO_CLOCKMODE_* constants and
remove some ifdeffery from the clocksource drivers.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v4:
- Pick up Ack from Mark Zyngier.
- Fix '-type d' argument to find.
- Link to v3: https://patch.msgid.link/20260722-vdso-arch-clockmodes-v3-0-4c5753191cc4@linutronix.de

Changes in v3:
- Update *all* commit messages to the latest logic.
- Link to v2: https://patch.msgid.link/20260717-vdso-arch-clockmodes-v2-0-756f5a5d1467@linutronix.de

Changes in v2:
- Also drop the IS_ENABLED() logic.
- Link to v1: https://patch.msgid.link/20260709-vdso-arch-clockmodes-v1-0-3fd780bbf851@linutronix.de

---
Thomas Weißschuh (7):
      kbuild: support generated asm-headers in subdirectories
      vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
      MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

 arch/loongarch/kernel/time.c           |  2 --
 arch/mips/kernel/csrc-r4k.c            |  2 --
 drivers/clocksource/arm_arch_timer.c   |  4 ----
 drivers/clocksource/mips-gic-timer.c   |  2 --
 drivers/clocksource/timer-riscv.c      |  4 ----
 include/asm-generic/Kbuild             |  1 +
 include/asm-generic/vdso/clocksource.h |  0
 include/vdso/clocksource.h             |  4 +---
 scripts/Makefile.asm-headers           | 11 +++++------
 9 files changed, 7 insertions(+), 23 deletions(-)
---
base-commit: ecacc9c8d3ed0f63065f4a1e94bfd8bf65a3ffaf
change-id: 20260605-vdso-arch-clockmodes-bfcaf9a2c848

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



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

* [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36 ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Always provide the definitions of the VDSO_CLOCKMODE_* constants and
remove some ifdeffery from the clocksource drivers.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v4:
- Pick up Ack from Mark Zyngier.
- Fix '-type d' argument to find.
- Link to v3: https://patch.msgid.link/20260722-vdso-arch-clockmodes-v3-0-4c5753191cc4@linutronix.de

Changes in v3:
- Update *all* commit messages to the latest logic.
- Link to v2: https://patch.msgid.link/20260717-vdso-arch-clockmodes-v2-0-756f5a5d1467@linutronix.de

Changes in v2:
- Also drop the IS_ENABLED() logic.
- Link to v1: https://patch.msgid.link/20260709-vdso-arch-clockmodes-v1-0-3fd780bbf851@linutronix.de

---
Thomas Weißschuh (7):
      kbuild: support generated asm-headers in subdirectories
      vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
      MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
      LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

 arch/loongarch/kernel/time.c           |  2 --
 arch/mips/kernel/csrc-r4k.c            |  2 --
 drivers/clocksource/arm_arch_timer.c   |  4 ----
 drivers/clocksource/mips-gic-timer.c   |  2 --
 drivers/clocksource/timer-riscv.c      |  4 ----
 include/asm-generic/Kbuild             |  1 +
 include/asm-generic/vdso/clocksource.h |  0
 include/vdso/clocksource.h             |  4 +---
 scripts/Makefile.asm-headers           | 11 +++++------
 9 files changed, 7 insertions(+), 23 deletions(-)
---
base-commit: ecacc9c8d3ed0f63065f4a1e94bfd8bf65a3ffaf
change-id: 20260605-vdso-arch-clockmodes-bfcaf9a2c848

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 1/7] kbuild: support generated asm-headers in subdirectories
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Extend the asm-header stub generation to also handle subdirectories.
An upcoming vdso/ header refactoring requires this.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 scripts/Makefile.asm-headers | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/scripts/Makefile.asm-headers b/scripts/Makefile.asm-headers
index 8a4856e74180..b38931314ad7 100644
--- a/scripts/Makefile.asm-headers
+++ b/scripts/Makefile.asm-headers
@@ -48,14 +48,13 @@ syscall-y   := $(addprefix $(obj)/, $(syscall-y))
 generated-y := $(addprefix $(obj)/, $(generated-y))
 
 # Remove stale wrappers when the corresponding files are removed from generic-y
-old-headers := $(wildcard $(obj)/*.h)
+old-headers := $(shell test -d $(obj) && find $(obj) -name *.h)
 unwanted    := $(filter-out $(generic-y) $(generated-y) $(syscall-y),$(old-headers))
 
-quiet_cmd_wrap = WRAP    $@
-      cmd_wrap = echo "\#include <asm-generic/$*.h>" > $@
+filechk_wrap = echo "\#include <asm-generic/$*.h>"
 
 quiet_cmd_remove = REMOVE  $(unwanted)
-      cmd_remove = rm -f $(unwanted)
+      cmd_remove = rm -f $(unwanted); find $(obj) -type d -empty -delete
 
 quiet_cmd_syshdr = SYSHDR  $@
       cmd_syshdr = $(CONFIG_SHELL) $(syshdr) \
@@ -74,8 +73,8 @@ all: $(generic-y) $(syscall-y)
 	$(if $(unwanted),$(call cmd,remove))
 	@:
 
-$(obj)/%.h: $(srctree)/$(generic)/%.h
-	$(call cmd,wrap)
+$(obj)/%.h: $(srctree)/$(generic)/%.h FORCE
+	$(call filechk,wrap)
 
 $(obj)/unistd_%.h: $(syscalltbl) $(syshdr) FORCE
 	$(call if_changed,syshdr)

-- 
2.55.0



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

* [PATCH v4 1/7] kbuild: support generated asm-headers in subdirectories
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Extend the asm-header stub generation to also handle subdirectories.
An upcoming vdso/ header refactoring requires this.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 scripts/Makefile.asm-headers | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/scripts/Makefile.asm-headers b/scripts/Makefile.asm-headers
index 8a4856e74180..b38931314ad7 100644
--- a/scripts/Makefile.asm-headers
+++ b/scripts/Makefile.asm-headers
@@ -48,14 +48,13 @@ syscall-y   := $(addprefix $(obj)/, $(syscall-y))
 generated-y := $(addprefix $(obj)/, $(generated-y))
 
 # Remove stale wrappers when the corresponding files are removed from generic-y
-old-headers := $(wildcard $(obj)/*.h)
+old-headers := $(shell test -d $(obj) && find $(obj) -name *.h)
 unwanted    := $(filter-out $(generic-y) $(generated-y) $(syscall-y),$(old-headers))
 
-quiet_cmd_wrap = WRAP    $@
-      cmd_wrap = echo "\#include <asm-generic/$*.h>" > $@
+filechk_wrap = echo "\#include <asm-generic/$*.h>"
 
 quiet_cmd_remove = REMOVE  $(unwanted)
-      cmd_remove = rm -f $(unwanted)
+      cmd_remove = rm -f $(unwanted); find $(obj) -type d -empty -delete
 
 quiet_cmd_syshdr = SYSHDR  $@
       cmd_syshdr = $(CONFIG_SHELL) $(syshdr) \
@@ -74,8 +73,8 @@ all: $(generic-y) $(syscall-y)
 	$(if $(unwanted),$(call cmd,remove))
 	@:
 
-$(obj)/%.h: $(srctree)/$(generic)/%.h
-	$(call cmd,wrap)
+$(obj)/%.h: $(srctree)/$(generic)/%.h FORCE
+	$(call filechk,wrap)
 
 $(obj)/unistd_%.h: $(syscalltbl) $(syshdr) FORCE
 	$(call if_changed,syshdr)

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Some code, for example clocksource drivers, may want to use the vDSO
clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
But the symbols are completely hidden in that case, making ugly
ifdeffery necessary.

Always provide the enum definitions.

As not all architectures provide asm/vdso/clocksource.h,
provide an empty stub in asm-generic for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 include/asm-generic/Kbuild             | 1 +
 include/asm-generic/vdso/clocksource.h | 0
 include/vdso/clocksource.h             | 4 +---
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 15df9dcb42a5..2bc00c67dc54 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -62,6 +62,7 @@ mandatory-y += topology.h
 mandatory-y += trace_clock.h
 mandatory-y += uaccess.h
 mandatory-y += unwind_user.h
+mandatory-y += vdso/clocksource.h
 mandatory-y += vermagic.h
 mandatory-y += vga.h
 mandatory-y += video.h
diff --git a/include/asm-generic/vdso/clocksource.h b/include/asm-generic/vdso/clocksource.h
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/include/vdso/clocksource.h b/include/vdso/clocksource.h
index c682e7c60273..bce81c02a7c6 100644
--- a/include/vdso/clocksource.h
+++ b/include/vdso/clocksource.h
@@ -4,13 +4,11 @@
 
 #include <vdso/limits.h>
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 #include <asm/vdso/clocksource.h>
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 enum vdso_clock_mode {
 	VDSO_CLOCKMODE_NONE,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
+#ifdef VDSO_ARCH_CLOCKMODES
 	VDSO_ARCH_CLOCKMODES,
 #endif
 	VDSO_CLOCKMODE_MAX,

-- 
2.55.0



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

* [PATCH v4 2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Some code, for example clocksource drivers, may want to use the vDSO
clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
But the symbols are completely hidden in that case, making ugly
ifdeffery necessary.

Always provide the enum definitions.

As not all architectures provide asm/vdso/clocksource.h,
provide an empty stub in asm-generic for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 include/asm-generic/Kbuild             | 1 +
 include/asm-generic/vdso/clocksource.h | 0
 include/vdso/clocksource.h             | 4 +---
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 15df9dcb42a5..2bc00c67dc54 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -62,6 +62,7 @@ mandatory-y += topology.h
 mandatory-y += trace_clock.h
 mandatory-y += uaccess.h
 mandatory-y += unwind_user.h
+mandatory-y += vdso/clocksource.h
 mandatory-y += vermagic.h
 mandatory-y += vga.h
 mandatory-y += video.h
diff --git a/include/asm-generic/vdso/clocksource.h b/include/asm-generic/vdso/clocksource.h
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/include/vdso/clocksource.h b/include/vdso/clocksource.h
index c682e7c60273..bce81c02a7c6 100644
--- a/include/vdso/clocksource.h
+++ b/include/vdso/clocksource.h
@@ -4,13 +4,11 @@
 
 #include <vdso/limits.h>
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 #include <asm/vdso/clocksource.h>
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 enum vdso_clock_mode {
 	VDSO_CLOCKMODE_NONE,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
+#ifdef VDSO_ARCH_CLOCKMODES
 	VDSO_ARCH_CLOCKMODES,
 #endif
 	VDSO_CLOCKMODE_MAX,

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 3/7] MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_R4K even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 arch/mips/kernel/csrc-r4k.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
index 241a934543a8..59eca397f297 100644
--- a/arch/mips/kernel/csrc-r4k.c
+++ b/arch/mips/kernel/csrc-r4k.c
@@ -126,14 +126,12 @@ int __init init_r4k_clocksource(void)
 	clocksource_mips.rating = 200;
 	clocksource_mips.rating += clamp(mips_hpt_frequency / 10000000, 0, 99);
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	/*
 	 * R2 onwards makes the count accessible to user mode so it can be used
 	 * by the VDSO (HWREna is configured by configure_hwrena()).
 	 */
 	if (cpu_has_mips_r2_r6 && rdhwr_count_usable())
 		clocksource_mips.vdso_clock_mode = VDSO_CLOCKMODE_R4K;
-#endif
 
 	clocksource_register_hz(&clocksource_mips, mips_hpt_frequency);
 

-- 
2.55.0



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

* [PATCH v4 3/7] MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_R4K even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 arch/mips/kernel/csrc-r4k.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
index 241a934543a8..59eca397f297 100644
--- a/arch/mips/kernel/csrc-r4k.c
+++ b/arch/mips/kernel/csrc-r4k.c
@@ -126,14 +126,12 @@ int __init init_r4k_clocksource(void)
 	clocksource_mips.rating = 200;
 	clocksource_mips.rating += clamp(mips_hpt_frequency / 10000000, 0, 99);
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	/*
 	 * R2 onwards makes the count accessible to user mode so it can be used
 	 * by the VDSO (HWREna is configured by configure_hwrena()).
 	 */
 	if (cpu_has_mips_r2_r6 && rdhwr_count_usable())
 		clocksource_mips.vdso_clock_mode = VDSO_CLOCKMODE_R4K;
-#endif
 
 	clocksource_register_hz(&clocksource_mips, mips_hpt_frequency);
 

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 4/7] clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_GIC even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 drivers/clocksource/mips-gic-timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c
index a1669266c94d..1501c7db9a8e 100644
--- a/drivers/clocksource/mips-gic-timer.c
+++ b/drivers/clocksource/mips-gic-timer.c
@@ -198,9 +198,7 @@ static struct clocksource gic_clocksource = {
 	.name			= "GIC",
 	.read			= gic_hpt_read,
 	.flags			= CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode	= VDSO_CLOCKMODE_GIC,
-#endif
 };
 
 static void gic_clocksource_unstable(char *reason)

-- 
2.55.0



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

* [PATCH v4 4/7] clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_GIC even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 drivers/clocksource/mips-gic-timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c
index a1669266c94d..1501c7db9a8e 100644
--- a/drivers/clocksource/mips-gic-timer.c
+++ b/drivers/clocksource/mips-gic-timer.c
@@ -198,9 +198,7 @@ static struct clocksource gic_clocksource = {
 	.name			= "GIC",
 	.read			= gic_hpt_read,
 	.flags			= CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode	= VDSO_CLOCKMODE_GIC,
-#endif
 };
 
 static void gic_clocksource_unstable(char *reason)

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 5/7] clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
---
 drivers/clocksource/arm_arch_timer.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 4adf756423de..a5157d8a8a13 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -56,11 +56,7 @@ static struct clock_event_device __percpu *arch_timer_evt;
 static enum arch_timer_ppi_nr arch_timer_uses_ppi __ro_after_init = ARCH_TIMER_VIRT_PPI;
 static bool arch_timer_c3stop __ro_after_init;
 static bool arch_counter_suspend_stop __ro_after_init;
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_ARCHTIMER;
-#else
-static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_NONE;
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 static cpumask_t evtstrm_available = CPU_MASK_NONE;
 static bool evtstrm_enable __ro_after_init = IS_ENABLED(CONFIG_ARM_ARCH_TIMER_EVTSTREAM);

-- 
2.55.0


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

* [PATCH v4 5/7] clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
---
 drivers/clocksource/arm_arch_timer.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 4adf756423de..a5157d8a8a13 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -56,11 +56,7 @@ static struct clock_event_device __percpu *arch_timer_evt;
 static enum arch_timer_ppi_nr arch_timer_uses_ppi __ro_after_init = ARCH_TIMER_VIRT_PPI;
 static bool arch_timer_c3stop __ro_after_init;
 static bool arch_counter_suspend_stop __ro_after_init;
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_ARCHTIMER;
-#else
-static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_NONE;
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 static cpumask_t evtstrm_available = CPU_MASK_NONE;
 static bool evtstrm_enable __ro_after_init = IS_ENABLED(CONFIG_ARM_ARCH_TIMER_EVTSTREAM);

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 6/7] clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 drivers/clocksource/timer-riscv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/timer-riscv.c
index cfc4d83c42c0..b310e6721fac 100644
--- a/drivers/clocksource/timer-riscv.c
+++ b/drivers/clocksource/timer-riscv.c
@@ -98,11 +98,7 @@ static struct clocksource riscv_clocksource = {
 	.mask		= CLOCKSOURCE_MASK(64),
 	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
 	.read		= riscv_clocksource_rdtime,
-#if IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY)
 	.vdso_clock_mode = VDSO_CLOCKMODE_ARCHTIMER,
-#else
-	.vdso_clock_mode = VDSO_CLOCKMODE_NONE,
-#endif
 };
 
 static int riscv_timer_starting_cpu(unsigned int cpu)

-- 
2.55.0


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

* [PATCH v4 6/7] clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 drivers/clocksource/timer-riscv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/timer-riscv.c
index cfc4d83c42c0..b310e6721fac 100644
--- a/drivers/clocksource/timer-riscv.c
+++ b/drivers/clocksource/timer-riscv.c
@@ -98,11 +98,7 @@ static struct clocksource riscv_clocksource = {
 	.mask		= CLOCKSOURCE_MASK(64),
 	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
 	.read		= riscv_clocksource_rdtime,
-#if IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY)
 	.vdso_clock_mode = VDSO_CLOCKMODE_ARCHTIMER,
-#else
-	.vdso_clock_mode = VDSO_CLOCKMODE_NONE,
-#endif
 };
 
 static int riscv_timer_starting_cpu(unsigned int cpu)

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH v4 7/7] LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 13:36   ` Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_CPU even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 arch/loongarch/kernel/time.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index dbaaabcaf6f0..5892f6da07a5 100644
--- a/arch/loongarch/kernel/time.c
+++ b/arch/loongarch/kernel/time.c
@@ -212,9 +212,7 @@ static struct clocksource clocksource_const = {
 	.read = read_const_counter,
 	.mask = CLOCKSOURCE_MASK(64),
 	.flags = CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode = VDSO_CLOCKMODE_CPU,
-#endif
 };
 
 int __init constant_clocksource_init(void)

-- 
2.55.0


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

* [PATCH v4 7/7] LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 13:36   ` Thomas Weißschuh
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Weißschuh @ 2026-07-24 13:36 UTC (permalink / raw)
  To: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch, Thomas Weißschuh

Now that there is a definition of VDSO_CLOCKMODE_CPU even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 arch/loongarch/kernel/time.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index dbaaabcaf6f0..5892f6da07a5 100644
--- a/arch/loongarch/kernel/time.c
+++ b/arch/loongarch/kernel/time.c
@@ -212,9 +212,7 @@ static struct clocksource clocksource_const = {
 	.read = read_const_counter,
 	.mask = CLOCKSOURCE_MASK(64),
 	.flags = CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode = VDSO_CLOCKMODE_CPU,
-#endif
 };
 
 int __init constant_clocksource_init(void)

-- 
2.55.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v4 2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
  2026-07-24 13:36   ` Thomas Weißschuh
@ 2026-07-24 15:31     ` Arnd Bergmann
  -1 siblings, 0 replies; 29+ messages in thread
From: Arnd Bergmann @ 2026-07-24 15:31 UTC (permalink / raw)
  To: Thomas Weißschuh, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: Linux-Arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026, at 15:36, Thomas Weißschuh wrote:
> Some code, for example clocksource drivers, may want to use the vDSO
> clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
> But the symbols are completely hidden in that case, making ugly
> ifdeffery necessary.
>
> Always provide the enum definitions.
>
> As not all architectures provide asm/vdso/clocksource.h,
> provide an empty stub in asm-generic for it.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Acked-by: Arnd Bergmann <arnd@arndb.de>

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

* Re: [PATCH v4 2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
@ 2026-07-24 15:31     ` Arnd Bergmann
  0 siblings, 0 replies; 29+ messages in thread
From: Arnd Bergmann @ 2026-07-24 15:31 UTC (permalink / raw)
  To: Thomas Weißschuh, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: Linux-Arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026, at 15:36, Thomas Weißschuh wrote:
> Some code, for example clocksource drivers, may want to use the vDSO
> clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
> But the symbols are completely hidden in that case, making ugly
> ifdeffery necessary.
>
> Always provide the enum definitions.
>
> As not all architectures provide asm/vdso/clocksource.h,
> provide an empty stub in asm-generic for it.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Acked-by: Arnd Bergmann <arnd@arndb.de>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36 ` Thomas Weißschuh
@ 2026-07-24 15:35   ` Arnd Bergmann
  -1 siblings, 0 replies; 29+ messages in thread
From: Arnd Bergmann @ 2026-07-24 15:35 UTC (permalink / raw)
  To: Thomas Weißschuh, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: Linux-Arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026, at 15:36, Thomas Weißschuh wrote:
> Always provide the definitions of the VDSO_CLOCKMODE_* constants and
> remove some ifdeffery from the clocksource drivers.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---

Looks all good to me. I assume you'll merge this through the
tip/timers/vdso branch, but let me know if I should pick it
up into the asm-generic tree instead.

     Arnd

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

* Re: [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
@ 2026-07-24 15:35   ` Arnd Bergmann
  0 siblings, 0 replies; 29+ messages in thread
From: Arnd Bergmann @ 2026-07-24 15:35 UTC (permalink / raw)
  To: Thomas Weißschuh, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Thomas Bogendoerfer, Daniel Lezcano, Mark Rutland, Marc Zyngier,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Huacai Chen, WANG Xuerui
  Cc: Linux-Arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026, at 15:36, Thomas Weißschuh wrote:
> Always provide the definitions of the VDSO_CLOCKMODE_* constants and
> remove some ifdeffery from the clocksource drivers.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---

Looks all good to me. I assume you'll merge this through the
tip/timers/vdso branch, but let me know if I should pick it
up into the asm-generic tree instead.

     Arnd

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v4 1/7] kbuild: support generated asm-headers in subdirectories
  2026-07-24 13:36   ` Thomas Weißschuh
@ 2026-08-01 19:30     ` Nicolas Schier
  -1 siblings, 0 replies; 29+ messages in thread
From: Nicolas Schier @ 2026-08-01 19:30 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Thomas Bogendoerfer,
	Daniel Lezcano, Mark Rutland, Marc Zyngier, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Huacai Chen,
	WANG Xuerui, linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026 at 03:36:18PM +0200, Thomas Weißschuh wrote:
> Extend the asm-header stub generation to also handle subdirectories.
> An upcoming vdso/ header refactoring requires this.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---
>  scripts/Makefile.asm-headers | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)

For kbuild:

Reviewed-by: Nicolas Schier <nsc@kernel.org>


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

* Re: [PATCH v4 1/7] kbuild: support generated asm-headers in subdirectories
@ 2026-08-01 19:30     ` Nicolas Schier
  0 siblings, 0 replies; 29+ messages in thread
From: Nicolas Schier @ 2026-08-01 19:30 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Arnd Bergmann, Andy Lutomirski, Thomas Gleixner,
	Vincenzo Frascino, Nathan Chancellor, Thomas Bogendoerfer,
	Daniel Lezcano, Mark Rutland, Marc Zyngier, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Huacai Chen,
	WANG Xuerui, linux-arch, linux-kernel, linux-kbuild, linux-mips,
	linux-arm-kernel, linux-riscv, loongarch

On Fri, Jul 24, 2026 at 03:36:18PM +0200, Thomas Weißschuh wrote:
> Extend the asm-header stub generation to also handle subdirectories.
> An upcoming vdso/ header refactoring requires this.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---
>  scripts/Makefile.asm-headers | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)

For kbuild:

Reviewed-by: Nicolas Schier <nsc@kernel.org>


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [tip: timers/vdso] LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
@ 2026-08-10 14:26   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: thomas.weissschuh, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     1f8258de239da872fd3cdccfb97b406ccb354ce3
Gitweb:        https://git.kernel.org/tip/1f8258de239da872fd3cdccfb97b406ccb354ce3
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:24 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:22 +02:00

LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Now that there is a definition of VDSO_CLOCKMODE_CPU even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-7-ddbe447be860@linutronix.de
---
 arch/loongarch/kernel/time.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index dbaaabc..5892f6d 100644
--- a/arch/loongarch/kernel/time.c
+++ b/arch/loongarch/kernel/time.c
@@ -212,9 +212,7 @@ static struct clocksource clocksource_const = {
 	.read = read_const_counter,
 	.mask = CLOCKSOURCE_MASK(64),
 	.flags = CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode = VDSO_CLOCKMODE_CPU,
-#endif
 };
 
 int __init constant_clocksource_init(void)

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

* [tip: timers/vdso] clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
@ 2026-08-10 14:26   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: thomas.weissschuh, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     f9217a8cc4f19510a7f2176b92546a7438a279ac
Gitweb:        https://git.kernel.org/tip/f9217a8cc4f19510a7f2176b92546a7438a279ac
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:23 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-6-ddbe447be860@linutronix.de
---
 drivers/clocksource/timer-riscv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/timer-riscv.c
index cfc4d83..b310e67 100644
--- a/drivers/clocksource/timer-riscv.c
+++ b/drivers/clocksource/timer-riscv.c
@@ -98,11 +98,7 @@ static struct clocksource riscv_clocksource = {
 	.mask		= CLOCKSOURCE_MASK(64),
 	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
 	.read		= riscv_clocksource_rdtime,
-#if IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY)
 	.vdso_clock_mode = VDSO_CLOCKMODE_ARCHTIMER,
-#else
-	.vdso_clock_mode = VDSO_CLOCKMODE_NONE,
-#endif
 };
 
 static int riscv_timer_starting_cpu(unsigned int cpu)

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

* [tip: timers/vdso] clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
@ 2026-08-10 14:26   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:26 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: thomas.weissschuh, Thomas Gleixner, Marc Zyngier, x86,
	linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     3e56253e0c94337590b5131174dce0e7637bbe48
Gitweb:        https://git.kernel.org/tip/3e56253e0c94337590b5131174dce0e7637bbe48
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:22 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Now that there is a definition of VDSO_CLOCKMODE_ARCHTIMER
even if no vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-5-ddbe447be860@linutronix.de
---
 drivers/clocksource/arm_arch_timer.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 4adf756..a5157d8 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -56,11 +56,7 @@ static struct clock_event_device __percpu *arch_timer_evt;
 static enum arch_timer_ppi_nr arch_timer_uses_ppi __ro_after_init = ARCH_TIMER_VIRT_PPI;
 static bool arch_timer_c3stop __ro_after_init;
 static bool arch_counter_suspend_stop __ro_after_init;
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_ARCHTIMER;
-#else
-static enum vdso_clock_mode vdso_default = VDSO_CLOCKMODE_NONE;
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 static cpumask_t evtstrm_available = CPU_MASK_NONE;
 static bool evtstrm_enable __ro_after_init = IS_ENABLED(CONFIG_ARM_ARCH_TIMER_EVTSTREAM);

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

* [tip: timers/vdso] clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
@ 2026-08-10 14:26   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: thomas.weissschuh, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     02e7d58cdd93a606b61f941f6ad5285cffa5436c
Gitweb:        https://git.kernel.org/tip/02e7d58cdd93a606b61f941f6ad5285cffa5436c
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:21 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Now that there is a definition of VDSO_CLOCKMODE_GIC even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-4-ddbe447be860@linutronix.de
---
 drivers/clocksource/mips-gic-timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c
index a166926..1501c7d 100644
--- a/drivers/clocksource/mips-gic-timer.c
+++ b/drivers/clocksource/mips-gic-timer.c
@@ -198,9 +198,7 @@ static struct clocksource gic_clocksource = {
 	.name			= "GIC",
 	.read			= gic_hpt_read,
 	.flags			= CLOCK_SOURCE_IS_CONTINUOUS,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	.vdso_clock_mode	= VDSO_CLOCKMODE_GIC,
-#endif
 };
 
 static void gic_clocksource_unstable(char *reason)

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

* [tip: timers/vdso] MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
@ 2026-08-10 14:26   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: thomas.weissschuh, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     b86aefb11c6dd60c192b222a0a601115196b72a5
Gitweb:        https://git.kernel.org/tip/b86aefb11c6dd60c192b222a0a601115196b72a5
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:20 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Now that there is a definition of VDSO_CLOCKMODE_R4K even if no
vDSO is built, the ugly ifdeffery can be removed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-3-ddbe447be860@linutronix.de
---
 arch/mips/kernel/csrc-r4k.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
index 241a934..59eca39 100644
--- a/arch/mips/kernel/csrc-r4k.c
+++ b/arch/mips/kernel/csrc-r4k.c
@@ -126,14 +126,12 @@ int __init init_r4k_clocksource(void)
 	clocksource_mips.rating = 200;
 	clocksource_mips.rating += clamp(mips_hpt_frequency / 10000000, 0, 99);
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 	/*
 	 * R2 onwards makes the count accessible to user mode so it can be used
 	 * by the VDSO (HWREna is configured by configure_hwrena()).
 	 */
 	if (cpu_has_mips_r2_r6 && rdhwr_count_usable())
 		clocksource_mips.vdso_clock_mode = VDSO_CLOCKMODE_R4K;
-#endif
 
 	clocksource_register_hz(&clocksource_mips, mips_hpt_frequency);
 

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

* [tip: timers/vdso] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
  (?)
@ 2026-08-10 14:27   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:27 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: thomas.weissschuh, Thomas Gleixner, Arnd Bergmann, x86,
	linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     1bafc1f65972fb1ca9b87bb4ead593436162c4be
Gitweb:        https://git.kernel.org/tip/1bafc1f65972fb1ca9b87bb4ead593436162c4be
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:19 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY

Some code, for example clocksource drivers, may want to use the vDSO
clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
But the symbols are completely hidden in that case, making ugly
ifdeffery necessary.

Always provide the enum definitions.

As not all architectures provide asm/vdso/clocksource.h,
provide an empty stub in asm-generic for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-2-ddbe447be860@linutronix.de
---
 include/asm-generic/Kbuild             | 1 +
 include/asm-generic/vdso/clocksource.h | 0
 include/vdso/clocksource.h             | 4 +---
 3 files changed, 2 insertions(+), 3 deletions(-)
 create mode 100644 include/asm-generic/vdso/clocksource.h

diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 15df9dc..2bc00c6 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -62,6 +62,7 @@ mandatory-y += topology.h
 mandatory-y += trace_clock.h
 mandatory-y += uaccess.h
 mandatory-y += unwind_user.h
+mandatory-y += vdso/clocksource.h
 mandatory-y += vermagic.h
 mandatory-y += vga.h
 mandatory-y += video.h
diff --git a/include/asm-generic/vdso/clocksource.h b/include/asm-generic/vdso/clocksource.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/include/asm-generic/vdso/clocksource.h
diff --git a/include/vdso/clocksource.h b/include/vdso/clocksource.h
index c682e7c..bce81c0 100644
--- a/include/vdso/clocksource.h
+++ b/include/vdso/clocksource.h
@@ -4,13 +4,11 @@
 
 #include <vdso/limits.h>
 
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
 #include <asm/vdso/clocksource.h>
-#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
 
 enum vdso_clock_mode {
 	VDSO_CLOCKMODE_NONE,
-#ifdef CONFIG_GENERIC_GETTIMEOFDAY
+#ifdef VDSO_ARCH_CLOCKMODES
 	VDSO_ARCH_CLOCKMODES,
 #endif
 	VDSO_CLOCKMODE_MAX,

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

* [tip: timers/vdso] kbuild: Support generated asm-headers in subdirectories
  2026-07-24 13:36   ` Thomas Weißschuh
  (?)
  (?)
@ 2026-08-10 14:27   ` tip-bot2 for Thomas Weißschuh
  -1 siblings, 0 replies; 29+ messages in thread
From: tip-bot2 for Thomas Weißschuh @ 2026-08-10 14:27 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: thomas.weissschuh, Thomas Gleixner, Nicolas Schier, x86,
	linux-kernel

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     2d69b891e6461eb3dc9af4741ded915966db4e01
Gitweb:        https://git.kernel.org/tip/2d69b891e6461eb3dc9af4741ded915966db4e01
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 24 Jul 2026 15:36:18 +02:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00

kbuild: Support generated asm-headers in subdirectories

Extend the asm-header stub generation to also handle subdirectories.
An upcoming vdso/ header refactoring requires this.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-1-ddbe447be860@linutronix.de
---
 scripts/Makefile.asm-headers | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/scripts/Makefile.asm-headers b/scripts/Makefile.asm-headers
index 8a4856e..b389313 100644
--- a/scripts/Makefile.asm-headers
+++ b/scripts/Makefile.asm-headers
@@ -48,14 +48,13 @@ syscall-y   := $(addprefix $(obj)/, $(syscall-y))
 generated-y := $(addprefix $(obj)/, $(generated-y))
 
 # Remove stale wrappers when the corresponding files are removed from generic-y
-old-headers := $(wildcard $(obj)/*.h)
+old-headers := $(shell test -d $(obj) && find $(obj) -name *.h)
 unwanted    := $(filter-out $(generic-y) $(generated-y) $(syscall-y),$(old-headers))
 
-quiet_cmd_wrap = WRAP    $@
-      cmd_wrap = echo "\#include <asm-generic/$*.h>" > $@
+filechk_wrap = echo "\#include <asm-generic/$*.h>"
 
 quiet_cmd_remove = REMOVE  $(unwanted)
-      cmd_remove = rm -f $(unwanted)
+      cmd_remove = rm -f $(unwanted); find $(obj) -type d -empty -delete
 
 quiet_cmd_syshdr = SYSHDR  $@
       cmd_syshdr = $(CONFIG_SHELL) $(syshdr) \
@@ -74,8 +73,8 @@ all: $(generic-y) $(syscall-y)
 	$(if $(unwanted),$(call cmd,remove))
 	@:
 
-$(obj)/%.h: $(srctree)/$(generic)/%.h
-	$(call cmd,wrap)
+$(obj)/%.h: $(srctree)/$(generic)/%.h FORCE
+	$(call filechk,wrap)
 
 $(obj)/unistd_%.h: $(syscalltbl) $(syshdr) FORCE
 	$(call if_changed,syshdr)

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

end of thread, other threads:[~2026-08-10 14:27 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-24 13:36 [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery Thomas Weißschuh
2026-07-24 13:36 ` Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 1/7] kbuild: support generated asm-headers in subdirectories Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-01 19:30   ` Nicolas Schier
2026-08-01 19:30     ` Nicolas Schier
2026-08-10 14:27   ` [tip: timers/vdso] kbuild: Support " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-07-24 15:31   ` Arnd Bergmann
2026-07-24 15:31     ` Arnd Bergmann
2026-08-10 14:27   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 3/7] MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-10 14:26   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 4/7] clocksource/drivers/mips-gic-timer: " Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-10 14:26   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 5/7] clocksource/drivers/arm_arch_timer: " Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-10 14:26   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 6/7] clocksource/drivers/timer-riscv: " Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-10 14:26   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 13:36 ` [PATCH v4 7/7] LoongArch: " Thomas Weißschuh
2026-07-24 13:36   ` Thomas Weißschuh
2026-08-10 14:26   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2026-07-24 15:35 ` [PATCH v4 0/7] vDSO: " Arnd Bergmann
2026-07-24 15:35   ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.