mirror of https://github.com/torvalds/linux.git
vdso: Drop Kconfig GENERIC_VDSO_TIME_NS
All architectures implementing time-related functionality in the vDSO are using the generic vDSO library which handles time namespaces properly. Remove the now unnecessary Kconfig symbol. Enables the use of time namespaces on architectures, which use the generic vDSO but did not enable GENERIC_VDSO_TIME_NS, namely MIPS and arm. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-10-d9b65750e49f@linutronix.de
This commit is contained in:
parent
7b338f6d4e
commit
bad53ae2dc
|
|
@ -162,7 +162,6 @@ config ARM64
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL
|
select GENERIC_TIME_VSYSCALL
|
||||||
select GENERIC_GETTIMEOFDAY
|
select GENERIC_GETTIMEOFDAY
|
||||||
select GENERIC_VDSO_TIME_NS
|
|
||||||
select HARDIRQS_SW_RESEND
|
select HARDIRQS_SW_RESEND
|
||||||
select HAS_IOPORT
|
select HAS_IOPORT
|
||||||
select HAVE_MOVE_PMD
|
select HAVE_MOVE_PMD
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,6 @@ config LOONGARCH
|
||||||
select GENERIC_SCHED_CLOCK
|
select GENERIC_SCHED_CLOCK
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL
|
select GENERIC_TIME_VSYSCALL
|
||||||
select GENERIC_VDSO_TIME_NS
|
|
||||||
select GPIOLIB
|
select GPIOLIB
|
||||||
select HAS_IOPORT
|
select HAS_IOPORT
|
||||||
select HAVE_ARCH_AUDITSYSCALL
|
select HAVE_ARCH_AUDITSYSCALL
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,6 @@ config PPC
|
||||||
select GENERIC_PCI_IOMAP if PCI
|
select GENERIC_PCI_IOMAP if PCI
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL
|
select GENERIC_TIME_VSYSCALL
|
||||||
select GENERIC_VDSO_TIME_NS
|
|
||||||
select HAS_IOPORT if PCI
|
select HAS_IOPORT if PCI
|
||||||
select HAVE_ARCH_AUDITSYSCALL
|
select HAVE_ARCH_AUDITSYSCALL
|
||||||
select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP
|
select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,6 @@ config RISCV
|
||||||
select GENERIC_SCHED_CLOCK
|
select GENERIC_SCHED_CLOCK
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL if GENERIC_GETTIMEOFDAY
|
select GENERIC_TIME_VSYSCALL if GENERIC_GETTIMEOFDAY
|
||||||
select GENERIC_VDSO_TIME_NS if GENERIC_GETTIMEOFDAY
|
|
||||||
select HARDIRQS_SW_RESEND
|
select HARDIRQS_SW_RESEND
|
||||||
select HAS_IOPORT if MMU
|
select HAS_IOPORT if MMU
|
||||||
select HAVE_ALIGNED_STRUCT_PAGE
|
select HAVE_ALIGNED_STRUCT_PAGE
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,6 @@ config S390
|
||||||
select GENERIC_GETTIMEOFDAY
|
select GENERIC_GETTIMEOFDAY
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL
|
select GENERIC_TIME_VSYSCALL
|
||||||
select GENERIC_VDSO_TIME_NS
|
|
||||||
select GENERIC_IOREMAP if PCI
|
select GENERIC_IOREMAP if PCI
|
||||||
select HAVE_ALIGNED_STRUCT_PAGE
|
select HAVE_ALIGNED_STRUCT_PAGE
|
||||||
select HAVE_ARCH_AUDITSYSCALL
|
select HAVE_ARCH_AUDITSYSCALL
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,6 @@ config X86
|
||||||
select GENERIC_SMP_IDLE_THREAD
|
select GENERIC_SMP_IDLE_THREAD
|
||||||
select GENERIC_TIME_VSYSCALL
|
select GENERIC_TIME_VSYSCALL
|
||||||
select GENERIC_GETTIMEOFDAY
|
select GENERIC_GETTIMEOFDAY
|
||||||
select GENERIC_VDSO_TIME_NS
|
|
||||||
select GENERIC_VDSO_OVERFLOW_PROTECT
|
select GENERIC_VDSO_OVERFLOW_PROTECT
|
||||||
select GUP_GET_PXX_LOW_HIGH if X86_PAE
|
select GUP_GET_PXX_LOW_HIGH if X86_PAE
|
||||||
select HARDIRQS_SW_RESEND
|
select HARDIRQS_SW_RESEND
|
||||||
|
|
|
||||||
|
|
@ -1347,7 +1347,7 @@ config UTS_NS
|
||||||
|
|
||||||
config TIME_NS
|
config TIME_NS
|
||||||
bool "TIME namespace"
|
bool "TIME namespace"
|
||||||
depends on GENERIC_VDSO_TIME_NS
|
depends on GENERIC_GETTIMEOFDAY
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
In this namespace boottime and monotonic clocks can be set.
|
In this namespace boottime and monotonic clocks can be set.
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,6 @@ config GENERIC_GETTIMEOFDAY
|
||||||
Each architecture that enables this feature has to
|
Each architecture that enables this feature has to
|
||||||
provide the fallback implementation.
|
provide the fallback implementation.
|
||||||
|
|
||||||
config GENERIC_VDSO_TIME_NS
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
Selected by architectures which support time namespaces in the
|
|
||||||
VDSO
|
|
||||||
|
|
||||||
config GENERIC_VDSO_OVERFLOW_PROTECT
|
config GENERIC_VDSO_OVERFLOW_PROTECT
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,5 @@ CONFIG_USER_NS=y
|
||||||
CONFIG_PID_NS=y
|
CONFIG_PID_NS=y
|
||||||
CONFIG_NET_NS=y
|
CONFIG_NET_NS=y
|
||||||
CONFIG_TIME_NS=y
|
CONFIG_TIME_NS=y
|
||||||
CONFIG_GENERIC_VDSO_TIME_NS=y
|
|
||||||
CONFIG_CGROUPS=y
|
CONFIG_CGROUPS=y
|
||||||
CONFIG_CHECKPOINT_RESTORE=y
|
CONFIG_CHECKPOINT_RESTORE=y
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue