timers: Cleanup Kconfig
Subsystems (13)
cover timers: Cleanup Kconfig
This patch series moves the timer related Kconfig switches which are copied all over arch/ to kernel/time/Kconfig and lets arch Kconfigs select the core options.
Anna-Maria
--- arch/alpha/Kconfig | 4 +--- arch/arm/Kconfig | 18 ++---------------- arch/avr32/Kconfig | 4 +--- arch/blackfin/Kconfig | 8 +++----- arch/c6x/Kconfig | 7 +------ arch/cris/Kconfig | 7 +------ arch/hexagon/Kconfig | 15 +++------------ arch/ia64/Kconfig | 9 ++------- arch/m32r/Kconfig | 4 +--- arch/m68k/Kconfig | 7 +------ arch/microblaze/Kconfig | 7 +------ arch/mips/Kconfig | 13 ++----------- arch/mn10300/Kconfig | 7 +------ arch/openrisc/Kconfig | 4 +--- arch/powerpc/Kconfig | 12 +++--------- arch/s390/Kconfig | 12 +++--------- arch/score/Kconfig | 4 +--- arch/sh/Kconfig | 12 ++---------- arch/sparc/Kconfig | 15 +++------------ arch/tile/Kconfig | 4 +--- arch/um/Kconfig.common | 5 +---- arch/unicore32/Kconfig | 3 --- arch/x86/Kconfig | 31 +++++++------------------------ kernel/time/Kconfig | 31 +++++++++++++++++++++++++++++++ 24 files changed, 73 insertions(+), 170 deletions(-)
PATCH 1/24 timers: Provide generic Kconfig switches
From: Thomas Gleixner <[email protected]>
We really don't want all the arch code defining stuff over and over.
--- kernel/time/Kconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
kernel/time/Kconfig +31 -0
@@ -33,3 +33,34 @@ config GENERIC_CLOCKEVENTS_BUILD config GENERIC_CLOCKEVENTS_MIN_ADJUST bool + +# Options selectable by arch Kconfig + +# Watchdog function for clocksources to detect instabilities +config CLOCKSOURCE_WATCHDOG + bool + +# Architecture has extra clocksource data +config ARCH_CLOCKSOURCE_DATA + bool + +# Timekeeping vsyscall support +config GENERIC_TIME_VSYSCALL + bool + +# ktime_t scalar 64bit nsec representation +config KTIME_SCALAR + bool + +# Old style timekeeping +config ARCH_USES_GETTIMEOFFSET + bool + +# The generic clock events infrastructure +config GENERIC_CLOCKEVENTS + bool + +# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTS
Re: [patch 01/24] timers: Provide generic Kconfig switches
Quoted 21 lines · Anna-Maria Gleixner
kernel/time/Kconfig +20
-0+# Options selectable by arch Kconfig + +# Watchdog function for clocksources to detect instabilities +config CLOCKSOURCE_WATCHDOG + bool + +# Architecture has extra clocksource data +config ARCH_CLOCKSOURCE_DATA + bool + +# Timekeeping vsyscall support +config GENERIC_TIME_VSYSCALL + bool + +# ktime_t scalar 64bit nsec representation +config KTIME_SCALAR + bool + +# Old style timekeeping +config ARCH_USES_GETTIMEOFFSET
kernel/time/Kconfig config GENERIC_CLOCKEVENTS_BUILD · line 66
Quoted 10 lines
kernel/time/Kconfig +10
-0+ bool + +# The generic clock events infrastructure +config GENERIC_CLOCKEVENTS + bool + +# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTS
Looks like you've missed GENERIC_CMOS_UPDATE.
Re: [patch 01/24] timers: Provide generic Kconfig switches
Quoted 7 lines · Paul Mundt
Review
Quoted 5 lines · Anna-Maria Gleixner
(quoted diff) +4
-0+# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTSLooks like you've missed
GENERIC_CMOS_UPDATE.
Looks like the author of the patch missed it. Find an updated version below.
Thanks,
Anna-Maria
------------>
Subject: timers: Provide generic Kconfig switches
From: Thomas Gleixner <[email protected]>
Date: Fri, 18 May 2012 09:59:57 +0200
From: Thomas Gleixner <[email protected]>
We really don't want all the arch code defining stuff over and over.
[ anna-maria: Added missing GENERIC_CMOS_UPDATE switch ]
--- kernel/time/Kconfig | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+)
kernel/time/Kconfig +35 -0
@@ -33,3 +33,38 @@ config GENERIC_CLOCKEVENTS_BUILD config GENERIC_CLOCKEVENTS_MIN_ADJUST bool + +# Options selectable by arch Kconfig + +# Watchdog function for clocksources to detect instabilities +config CLOCKSOURCE_WATCHDOG + bool + +# Architecture has extra clocksource data +config ARCH_CLOCKSOURCE_DATA + bool + +# Timekeeping vsyscall support +config GENERIC_TIME_VSYSCALL + bool + +# ktime_t scalar 64bit nsec representation +config KTIME_SCALAR + bool + +# Old style timekeeping +config ARCH_USES_GETTIMEOFFSET + bool + +# The generic clock events infrastructure +config GENERIC_CLOCKEVENTS + bool + +# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTS + +# Generic update of CMOS clock +config GENERIC_CMOS_UPDATE + bool
Re: [patch 01/24] timers: Provide generic Kconfig switches
Quoted 11 lines · Anna-Maria Gleixner
Quoted 7 lines · Paul Mundt
kernel/time/Kconfig config GENERIC_CLOCKEVENTS_BUILD · line 66
Quoted 5 lines · Anna-Maria Gleixner
kernel/time/Kconfig +4
-0+# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTSLooks like you've missed
GENERIC_CMOS_UPDATE.Looks like the author of the patch missed it. Find an updated version below.
You can whack that guy if you meet him. :)
[tip:timers/core] timers: Provide generic Kconfig switches
In reply to Anna-Maria GleixnerCommit-ID: b5e498ad67863cc877fb05e6a71ce58eda4fb2ca Gitweb: http://git.kernel.org/tip/b5e498ad67863cc877fb05e6a71ce58eda4fb2ca Author: Thomas Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 09:59:57 +0200 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:40 +0200
timers: Provide generic Kconfig switches
We really don't want all the arch code defining stuff over and over.
[ anna-maria: Added missing GENERIC_CMOS_UPDATE switch ]
--- kernel/time/Kconfig | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-)
kernel/time/Kconfig +35 -0
@@ -33,3 +33,38 @@ config GENERIC_CLOCKEVENTS_BUILD config GENERIC_CLOCKEVENTS_MIN_ADJUST bool + +# Options selectable by arch Kconfig + +# Watchdog function for clocksources to detect instabilities +config CLOCKSOURCE_WATCHDOG + bool + +# Architecture has extra clocksource data +config ARCH_CLOCKSOURCE_DATA + bool + +# Timekeeping vsyscall support +config GENERIC_TIME_VSYSCALL + bool + +# ktime_t scalar 64bit nsec representation +config KTIME_SCALAR + bool + +# Old style timekeeping +config ARCH_USES_GETTIMEOFFSET + bool + +# The generic clock events infrastructure +config GENERIC_CLOCKEVENTS + bool + +# Clockevents broadcasting infrastructure +config GENERIC_CLOCKEVENTS_BROADCAST + bool + depends on GENERIC_CLOCKEVENTS + +# Generic update of CMOS clock +config GENERIC_CMOS_UPDATE + bool
PATCH 2/24 x86: Use generic time config
In reply to Anna-Maria GleixnerFrom: Thomas Gleixner <[email protected]>
--- arch/x86/Kconfig | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-)
arch/x86/Kconfig +7 -24
@@ -82,6 +82,13 @@ config X86 select ARCH_HAVE_NMI_SAFE_CMPXCHG select GENERIC_IOMAP select DCACHE_WORD_ACCESS + select GENERIC_CMOS_UPDATE + select CLOCKSOURCE_WATCHDOG + select GENERIC_CLOCKEVENTS + select ARCH_CLOCKSOURCE_DATA if X86_64 + select GENERIC_CLOCKEVENTS_BROADCAST if X86_64 || (X86_32 && X86_LOCAL_APIC) + select GENERIC_TIME_VSYSCALL if X86_64 + select KTIME_SCALAR if X86_32 config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS)
@@ -96,23 +103,6 @@ config ARCH_DEFCONFIG default "arch/x86/configs/i386_defconfig" if X86_32 default "arch/x86/configs/x86_64_defconfig" if X86_64 -config GENERIC_CMOS_UPDATE - def_bool y - -config CLOCKSOURCE_WATCHDOG - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - -config ARCH_CLOCKSOURCE_DATA - def_bool y - depends on X86_64 - -config GENERIC_CLOCKEVENTS_BROADCAST - def_bool y - depends on X86_64 || (X86_32 && X86_LOCAL_APIC) - config LOCKDEP_SUPPORT def_bool y
@@ -166,10 +156,6 @@ config ARCH_HAS_CPU_IDLE_WAIT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_TIME_VSYSCALL - bool - default X86_64 - config ARCH_HAS_CPU_RELAX def_bool y
@@ -236,9 +222,6 @@ config ARCH_HWEIGHT_CFLAGS default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 -config KTIME_SCALAR - def_bool X86_32 - config ARCH_CPU_PROBE_RELEASE def_bool y depends on HOTPLUG_CPU
[tip:timers/core] x86: Use generic time config
Commit-ID: bdebaf80a02b854381fe212e0dac13c8c8edac57 Gitweb: http://git.kernel.org/tip/bdebaf80a02b854381fe212e0dac13c8c8edac57 Author: Thomas Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:44 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
x86: Use generic time config
--- arch/x86/Kconfig | 31 +++++++------------------------ 1 files changed, 7 insertions(+), 24 deletions(-)
arch/x86/Kconfig +7 -24
@@ -82,6 +82,13 @@ config X86 select ARCH_HAVE_NMI_SAFE_CMPXCHG select GENERIC_IOMAP select DCACHE_WORD_ACCESS + select GENERIC_CMOS_UPDATE + select CLOCKSOURCE_WATCHDOG + select GENERIC_CLOCKEVENTS + select ARCH_CLOCKSOURCE_DATA if X86_64 + select GENERIC_CLOCKEVENTS_BROADCAST if X86_64 || (X86_32 && X86_LOCAL_APIC) + select GENERIC_TIME_VSYSCALL if X86_64 + select KTIME_SCALAR if X86_32 config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS)
@@ -96,23 +103,6 @@ config ARCH_DEFCONFIG default "arch/x86/configs/i386_defconfig" if X86_32 default "arch/x86/configs/x86_64_defconfig" if X86_64 -config GENERIC_CMOS_UPDATE - def_bool y - -config CLOCKSOURCE_WATCHDOG - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - -config ARCH_CLOCKSOURCE_DATA - def_bool y - depends on X86_64 - -config GENERIC_CLOCKEVENTS_BROADCAST - def_bool y - depends on X86_64 || (X86_32 && X86_LOCAL_APIC) - config LOCKDEP_SUPPORT def_bool y
@@ -166,10 +156,6 @@ config ARCH_HAS_CPU_IDLE_WAIT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_TIME_VSYSCALL - bool - default X86_64 - config ARCH_HAS_CPU_RELAX def_bool y
@@ -236,9 +222,6 @@ config ARCH_HWEIGHT_CFLAGS default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 -config KTIME_SCALAR - def_bool X86_32 - config ARCH_CPU_PROBE_RELEASE def_bool y depends on HOTPLUG_CPU
PATCH 3/24 arm: Use generic time config
In reply to Anna-Maria Gleixner--- arch/arm/Kconfig | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
arch/arm/Kconfig +2 -16
@@ -34,6 +34,8 @@ config ARM select CPU_PM if (SUSPEND || CPU_IDLE) select GENERIC_PCI_IOMAP select HAVE_BPF_JIT if NET + select KTIME_SCALAR + select GENERIC_CLOCKEVENTS_BROADCAST if SMP help The ARM series is a line of low-power-consumption RISC chip designs licensed by ARM Ltd and targeted at embedded applications and
@@ -57,22 +59,6 @@ config SYS_SUPPORTS_APM_EMULATION config GENERIC_GPIO bool -config ARCH_USES_GETTIMEOFFSET - bool - default n - -config GENERIC_CLOCKEVENTS - bool - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - depends on GENERIC_CLOCKEVENTS - default y if SMP - -config KTIME_SCALAR - bool - default y - config HAVE_TCM bool select GENERIC_ALLOCATOR
[tip:timers/core] arm: Use generic time config
Commit-ID: 3d92a71a4467681ef6a47e10447d200b52c78af8 Gitweb: http://git.kernel.org/tip/3d92a71a4467681ef6a47e10447d200b52c78af8 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:44 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:41 +0200
arm: Use generic time config
--- arch/arm/Kconfig | 18 ++---------------- 1 files changed, 2 insertions(+), 16 deletions(-)
arch/arm/Kconfig +2 -16
@@ -34,6 +34,8 @@ config ARM select CPU_PM if (SUSPEND || CPU_IDLE) select GENERIC_PCI_IOMAP select HAVE_BPF_JIT if NET + select KTIME_SCALAR + select GENERIC_CLOCKEVENTS_BROADCAST if SMP help The ARM series is a line of low-power-consumption RISC chip designs licensed by ARM Ltd and targeted at embedded applications and
@@ -57,22 +59,6 @@ config SYS_SUPPORTS_APM_EMULATION config GENERIC_GPIO bool -config ARCH_USES_GETTIMEOFFSET - bool - default n - -config GENERIC_CLOCKEVENTS - bool - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - depends on GENERIC_CLOCKEVENTS - default y if SMP - -config KTIME_SCALAR - bool - default y - config HAVE_TCM bool select GENERIC_ALLOCATOR
PATCH 4/24 avr32: Use generic time config
In reply to Anna-Maria Gleixner--- arch/avr32/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/avr32/Kconfig +1 -3
@@ -12,6 +12,7 @@ config AVR32 select HARDIRQS_SW_RESEND select GENERIC_IRQ_SHOW select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CLOCKEVENTS help AVR32 is a high-performance 32-bit RISC microprocessor core, designed for cost-sensitive embedded applications, with particular
@@ -35,9 +36,6 @@ config TRACE_IRQFLAGS_SUPPORT config RWSEM_GENERIC_SPINLOCK def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config RWSEM_XCHGADD_ALGORITHM def_bool n
[tip:timers/core] avr32: Use generic time config
Commit-ID: 8d6af9914cacfbb60537cf5c46f9ebfc26ff2440 Gitweb: http://git.kernel.org/tip/8d6af9914cacfbb60537cf5c46f9ebfc26ff2440 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:45 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:41 +0200
avr32: Use generic time config
--- arch/avr32/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/avr32/Kconfig +1 -3
@@ -12,6 +12,7 @@ config AVR32 select HARDIRQS_SW_RESEND select GENERIC_IRQ_SHOW select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CLOCKEVENTS help AVR32 is a high-performance 32-bit RISC microprocessor core, designed for cost-sensitive embedded applications, with particular
@@ -35,9 +36,6 @@ config TRACE_IRQFLAGS_SUPPORT config RWSEM_GENERIC_SPINLOCK def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config RWSEM_XCHGADD_ALGORITHM def_bool n
PATCH 5/24 blackfin: Use generic time config
In reply to Anna-Maria GleixnerUse seperate selector for clockevents.
--- arch/blackfin/Kconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
arch/blackfin/Kconfig +3 -5
@@ -37,6 +37,7 @@ config BLACKFIN select GENERIC_IRQ_PROBE select IRQ_PER_CPU if SMP select HAVE_NMI_WATCHDOG if NMI_WATCHDOG + select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS config GENERIC_CSUM def_bool y
@@ -593,9 +594,10 @@ comment "Kernel Timer/Scheduler" source kernel/Kconfig.hz -config GENERIC_CLOCKEVENTS +config SET_GENERIC_CLOCKEVENTS bool "Generic clock events" default y + select GENERIC_CLOCKEVENTS menu "Clock event device" depends on GENERIC_CLOCKEVENTS
@@ -629,10 +631,6 @@ config GPTMR0_CLOCKSOURCE depends on !TICKSOURCE_GPTMR0 endmenu -config ARCH_USES_GETTIMEOFFSET - depends on !GENERIC_CLOCKEVENTS - def_bool y - source kernel/time/Kconfig comment "Misc"
[tip:timers/core] blackfin: Use generic time config
Commit-ID: dfbaec06bd80117f8ed944236efab8fb32cd4f68 Gitweb: http://git.kernel.org/tip/dfbaec06bd80117f8ed944236efab8fb32cd4f68 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:45 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:41 +0200
blackfin: Use generic time config
Use seperate selector for clockevents.
--- arch/blackfin/Kconfig | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-)
arch/blackfin/Kconfig +3 -5
@@ -37,6 +37,7 @@ config BLACKFIN select GENERIC_IRQ_PROBE select IRQ_PER_CPU if SMP select HAVE_NMI_WATCHDOG if NMI_WATCHDOG + select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS config GENERIC_CSUM def_bool y
@@ -593,9 +594,10 @@ comment "Kernel Timer/Scheduler" source kernel/Kconfig.hz -config GENERIC_CLOCKEVENTS +config SET_GENERIC_CLOCKEVENTS bool "Generic clock events" default y + select GENERIC_CLOCKEVENTS menu "Clock event device" depends on GENERIC_CLOCKEVENTS
@@ -629,10 +631,6 @@ config GPTMR0_CLOCKSOURCE depends on !TICKSOURCE_GPTMR0 endmenu -config ARCH_USES_GETTIMEOFFSET - depends on !GENERIC_CLOCKEVENTS - def_bool y - source kernel/time/Kconfig comment "Misc"
PATCH 6/24 c6x: Use generic time config
In reply to Anna-Maria Gleixner--- arch/c6x/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/c6x/Kconfig +1 -6
@@ -15,6 +15,7 @@ config TMS320C6X select IRQ_DOMAIN select OF select OF_EARLY_FLATTREE + select GENERIC_CLOCKEVENTS config MMU def_bool n
@@ -43,12 +44,6 @@ config GENERIC_CALIBRATE_DELAY config GENERIC_HWEIGHT def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - config GENERIC_BUG def_bool y
Re: [patch 06/24] c6x: Use generic time config
Quoted 7 lines · Anna-Maria Gleixner
plain text document attachment (c6x-use-generic-time-config.patch)
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc Mark Salter <[email protected]>--- arch/c6x/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
[tip:timers/core] c6x: Use generic time config
In reply to Anna-Maria GleixnerCommit-ID: 6220443db41899606a8621215e0f6e99477f7152 Gitweb: http://git.kernel.org/tip/6220443db41899606a8621215e0f6e99477f7152 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:46 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:41 +0200
c6x: Use generic time config
--- arch/c6x/Kconfig | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/c6x/Kconfig +1 -6
@@ -15,6 +15,7 @@ config TMS320C6X select IRQ_DOMAIN select OF select OF_EARLY_FLATTREE + select GENERIC_CLOCKEVENTS config MMU def_bool n
@@ -43,12 +44,6 @@ config GENERIC_CALIBRATE_DELAY config GENERIC_HWEIGHT def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - config GENERIC_BUG def_bool y
PATCH 7/24 cris: Use generic time config
In reply to Anna-Maria Gleixner--- arch/cris/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/cris/Kconfig +1 -6
@@ -13,12 +13,6 @@ config RWSEM_GENERIC_SPINLOCK config RWSEM_XCHGADD_ALGORITHM bool -config GENERIC_CMOS_UPDATE - def_bool y - -config ARCH_USES_GETTIMEOFFSET - def_bool n - config ARCH_HAS_ILOG2_U32 bool default n
@@ -49,6 +43,7 @@ config CRIS select HAVE_GENERIC_HARDIRQS select GENERIC_IRQ_SHOW select GENERIC_IOMAP + select GENERIC_CMOS_UPDATE config HZ int
[tip:timers/core] cris: Use generic time config
Commit-ID: 5227b636eca4226287e43fc1de1e09a694bcaa34 Gitweb: http://git.kernel.org/tip/5227b636eca4226287e43fc1de1e09a694bcaa34 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:46 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:42 +0200
cris: Use generic time config
--- arch/cris/Kconfig | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/cris/Kconfig +1 -6
@@ -13,12 +13,6 @@ config RWSEM_GENERIC_SPINLOCK config RWSEM_XCHGADD_ALGORITHM bool -config GENERIC_CMOS_UPDATE - def_bool y - -config ARCH_USES_GETTIMEOFFSET - def_bool n - config ARCH_HAS_ILOG2_U32 bool default n
@@ -49,6 +43,7 @@ config CRIS select HAVE_GENERIC_HARDIRQS select GENERIC_IRQ_SHOW select GENERIC_IOMAP + select GENERIC_CMOS_UPDATE config HZ int
PATCH 8/24 hexagon: Use generic time config
In reply to Anna-Maria Gleixnerconfig GENERIC_TIME not longer used.
--- arch/hexagon/Kconfig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
arch/hexagon/Kconfig +3 -12
@@ -28,6 +28,9 @@ config HEXAGON select NO_IOPORT select GENERIC_IOMAP # mostly generic routines, with some accelerated ones + select KTIME_SCALAR + select GENERIC_CLOCKEVENTS + select GENERIC_CLOCKEVENTS_BROADCAST ---help--- Qualcomm Hexagon is a processor architecture designed for high performance and low power across a wide variety of applications.
@@ -56,9 +59,6 @@ config PCI config EARLY_PRINTK def_bool y -config KTIME_SCALAR - def_bool y - config MMU def_bool y
@@ -98,15 +98,6 @@ config GENERIC_FIND_NEXT_BIT config GENERIC_HWEIGHT def_bool y -config GENERIC_TIME - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - def_bool y - config STACKTRACE_SUPPORT def_bool y select STACKTRACE
[tip:timers/core] hexagon: Use generic time config
Commit-ID: 24a6f35e192ed54205024742eb8a4a2f99c1da9d Gitweb: http://git.kernel.org/tip/24a6f35e192ed54205024742eb8a4a2f99c1da9d Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:47 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:42 +0200
hexagon: Use generic time config
config GENERIC_TIME not longer used.
--- arch/hexagon/Kconfig | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-)
arch/hexagon/Kconfig +3 -12
@@ -28,6 +28,9 @@ config HEXAGON select NO_IOPORT select GENERIC_IOMAP # mostly generic routines, with some accelerated ones + select KTIME_SCALAR + select GENERIC_CLOCKEVENTS + select GENERIC_CLOCKEVENTS_BROADCAST ---help--- Qualcomm Hexagon is a processor architecture designed for high performance and low power across a wide variety of applications.
@@ -56,9 +59,6 @@ config PCI config EARLY_PRINTK def_bool y -config KTIME_SCALAR - def_bool y - config MMU def_bool y
@@ -98,15 +98,6 @@ config GENERIC_FIND_NEXT_BIT config GENERIC_HWEIGHT def_bool y -config GENERIC_TIME - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - def_bool y - config STACKTRACE_SUPPORT def_bool y select STACKTRACE
PATCH 9/24 ia64: Use generic time config
In reply to Anna-Maria Gleixner--- arch/ia64/Kconfig | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
arch/ia64/Kconfig +2 -7
@@ -33,6 +33,8 @@ config IA64 select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_HAVE_NMI_SAFE_CMPXCHG select GENERIC_IOMAP + select ARCH_CLOCKSOURCE_DATA + select GENERIC_TIME_VSYSCALL default y help The Itanium Processor Family is Intel's 64-bit successor to
@@ -88,10 +90,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_TIME_VSYSCALL - bool - default y - config HAVE_SETUP_PER_CPU_AREA def_bool y
@@ -106,9 +104,6 @@ config EFI bool default y -config ARCH_CLOCKSOURCE_DATA - def_bool y - config SCHED_OMIT_FRAME_POINTER bool default y
[tip:timers/core] ia64: Use generic time config
Commit-ID: 21b19710a2fbbec3d81e7cb4d74a8ea4f0acfeea Gitweb: http://git.kernel.org/tip/21b19710a2fbbec3d81e7cb4d74a8ea4f0acfeea Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:48 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:42 +0200
ia64: Use generic time config
--- arch/ia64/Kconfig | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-)
arch/ia64/Kconfig +2 -7
@@ -33,6 +33,8 @@ config IA64 select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_HAVE_NMI_SAFE_CMPXCHG select GENERIC_IOMAP + select ARCH_CLOCKSOURCE_DATA + select GENERIC_TIME_VSYSCALL default y help The Itanium Processor Family is Intel's 64-bit successor to
@@ -88,10 +90,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_TIME_VSYSCALL - bool - default y - config HAVE_SETUP_PER_CPU_AREA def_bool y
@@ -106,9 +104,6 @@ config EFI bool default y -config ARCH_CLOCKSOURCE_DATA - def_bool y - config SCHED_OMIT_FRAME_POINTER bool default y
PATCH 10/24 m32r: Use generic time config
In reply to Anna-Maria Gleixner--- arch/m32r/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/m32r/Kconfig +1 -3
@@ -11,6 +11,7 @@ config M32R select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW select GENERIC_ATOMIC64 + select ARCH_USES_GETTIMEOFFSET config SBUS bool
@@ -33,9 +34,6 @@ config HZ int default 100 -config ARCH_USES_GETTIMEOFFSET - def_bool y - source "init/Kconfig" source "kernel/Kconfig.freezer"
[tip:timers/core] m32r: Use generic time config
Commit-ID: 97a1c1e918f6cf746352f565f5f2e00916309ede Gitweb: http://git.kernel.org/tip/97a1c1e918f6cf746352f565f5f2e00916309ede Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:48 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:42 +0200
m32r: Use generic time config
--- arch/m32r/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/m32r/Kconfig +1 -3
@@ -11,6 +11,7 @@ config M32R select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW select GENERIC_ATOMIC64 + select ARCH_USES_GETTIMEOFFSET config SBUS bool
@@ -33,9 +34,6 @@ config HZ int default 100 -config ARCH_USES_GETTIMEOFFSET - def_bool y - source "init/Kconfig" source "kernel/Kconfig.freezer"
PATCH 11/24 m68k: Use generic time config
In reply to Anna-Maria Gleixner--- arch/m68k/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/m68k/Kconfig +1 -6
@@ -8,6 +8,7 @@ config M68K select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS select GENERIC_CPU_DEVICES select FPU if MMU + select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE config RWSEM_GENERIC_SPINLOCK bool
@@ -22,9 +23,6 @@ config ARCH_HAS_ILOG2_U32 config ARCH_HAS_ILOG2_U64 bool -config GENERIC_CLOCKEVENTS - bool - config GENERIC_GPIO bool
@@ -43,9 +41,6 @@ config TIME_LOW_RES bool default y -config ARCH_USES_GETTIMEOFFSET - def_bool MMU && !COLDFIRE - config NO_IOPORT def_bool y
[tip:timers/core] m68k: Use generic time config
Commit-ID: 60a5e4c3d3df6ec9006576935953dde6cf94f02a Gitweb: http://git.kernel.org/tip/60a5e4c3d3df6ec9006576935953dde6cf94f02a Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:49 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:42 +0200
m68k: Use generic time config
--- arch/m68k/Kconfig | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/m68k/Kconfig +1 -6
@@ -8,6 +8,7 @@ config M68K select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS select GENERIC_CPU_DEVICES select FPU if MMU + select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE config RWSEM_GENERIC_SPINLOCK bool
@@ -22,9 +23,6 @@ config ARCH_HAS_ILOG2_U32 config ARCH_HAS_ILOG2_U64 bool -config GENERIC_CLOCKEVENTS - bool - config GENERIC_GPIO bool
@@ -43,9 +41,6 @@ config TIME_LOW_RES bool default y -config ARCH_USES_GETTIMEOFFSET - def_bool MMU && !COLDFIRE - config NO_IOPORT def_bool y
PATCH 12/24 microblaze: Use generic time config
In reply to Anna-Maria Gleixner--- arch/microblaze/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/microblaze/Kconfig +1 -6
@@ -22,6 +22,7 @@ config MICROBLAZE select GENERIC_PCI_IOMAP select GENERIC_CPU_DEVICES select GENERIC_ATOMIC64 + select GENERIC_CLOCKEVENTS config SWAP def_bool n
@@ -50,12 +51,6 @@ config GENERIC_HWEIGHT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_TIME_VSYSCALL - def_bool n - -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_GPIO def_bool y
[tip:timers/core] microblaze: Use generic time config
Commit-ID: d6412e2bdcd8dae1d502b49aff418275742d2887 Gitweb: http://git.kernel.org/tip/d6412e2bdcd8dae1d502b49aff418275742d2887 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:49 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
microblaze: Use generic time config
--- arch/microblaze/Kconfig | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/microblaze/Kconfig +1 -6
@@ -22,6 +22,7 @@ config MICROBLAZE select GENERIC_PCI_IOMAP select GENERIC_CPU_DEVICES select GENERIC_ATOMIC64 + select GENERIC_CLOCKEVENTS config SWAP def_bool n
@@ -50,12 +51,6 @@ config GENERIC_HWEIGHT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_TIME_VSYSCALL - def_bool n - -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_GPIO def_bool y
PATCH 13/24 mips: Use generic time config
In reply to Anna-Maria Gleixner--- arch/mips/Kconfig | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
arch/mips/Kconfig +2 -11
@@ -29,6 +29,8 @@ config MIPS select HAVE_MEMBLOCK select HAVE_MEMBLOCK_NODE_MAP select ARCH_DISCARD_MEMBLOCK + select GENERIC_CLOCKEVENTS + select GENERIC_CMOS_UPDATE menu "Machine selection"
@@ -856,14 +858,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_CLOCKEVENTS - bool - default y - -config GENERIC_CMOS_UPDATE - bool - default y - config SCHED_OMIT_FRAME_POINTER bool default y
@@ -2050,9 +2044,6 @@ config CPU_HAS_SYNC depends on !CPU_R3000 default y -config GENERIC_CLOCKEVENTS_BROADCAST - bool - # # CPU non-features #
[tip:timers/core] mips: Use generic time config
Commit-ID: cde1794b069f44ca02f3f4f50a903e9361132244 Gitweb: http://git.kernel.org/tip/cde1794b069f44ca02f3f4f50a903e9361132244 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:50 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
mips: Use generic time config
--- arch/mips/Kconfig | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-)
arch/mips/Kconfig +2 -11
@@ -29,6 +29,8 @@ config MIPS select HAVE_MEMBLOCK select HAVE_MEMBLOCK_NODE_MAP select ARCH_DISCARD_MEMBLOCK + select GENERIC_CLOCKEVENTS + select GENERIC_CMOS_UPDATE menu "Machine selection"
@@ -856,14 +858,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_CLOCKEVENTS - bool - default y - -config GENERIC_CMOS_UPDATE - bool - default y - config SCHED_OMIT_FRAME_POINTER bool default y
@@ -2050,9 +2044,6 @@ config CPU_HAS_SYNC depends on !CPU_R3000 default y -config GENERIC_CLOCKEVENTS_BROADCAST - bool - # # CPU non-features #
PATCH 14/24 mn10300: Use generic time config
In reply to Anna-Maria Gleixner--- arch/mn10300/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/mn10300/Kconfig +1 -6
@@ -6,6 +6,7 @@ config MN10300 select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_KGDB select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER + select GENERIC_CLOCKEVENTS config AM33_2 def_bool n
@@ -42,15 +43,9 @@ config RWSEM_XCHGADD_ALGORITHM config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_CMOS_UPDATE - def_bool n - config GENERIC_HWEIGHT def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_BUG def_bool y
[tip:timers/core] mn10300: Use generic time config
Commit-ID: ea5332098e68e2380429ce8025996fad61ca28a6 Gitweb: http://git.kernel.org/tip/ea5332098e68e2380429ce8025996fad61ca28a6 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:50 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
mn10300: Use generic time config
--- arch/mn10300/Kconfig | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/mn10300/Kconfig +1 -6
@@ -6,6 +6,7 @@ config MN10300 select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_KGDB select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER + select GENERIC_CLOCKEVENTS config AM33_2 def_bool n
@@ -42,15 +43,9 @@ config RWSEM_XCHGADD_ALGORITHM config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_CMOS_UPDATE - def_bool n - config GENERIC_HWEIGHT def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_BUG def_bool y
PATCH 15/24 openrisc: Use generic time config
In reply to Anna-Maria Gleixner--- arch/openrisc/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/openrisc/Kconfig +1 -3
@@ -17,6 +17,7 @@ config OPENRISC select GENERIC_IOMAP select GENERIC_CPU_DEVICES select GENERIC_ATOMIC64 + select GENERIC_CLOCKEVENTS config MMU def_bool y
@@ -46,9 +47,6 @@ config NO_IOPORT config GENERIC_GPIO def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config TRACE_IRQFLAGS_SUPPORT def_bool y
Re: [patch 15/24] openrisc: Use generic time config
Good idea!
Thanks,
Jonas
Quoted 32 lines · Anna-Maria Gleixner
plain text document attachment
(openrisc-use-generic-time-config.patch)Signed-off-by Anna-Maria Gleixner <[email protected]>Cc Jonas Bonn <[email protected]>--- arch/openrisc/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)Index: linux/arch/openrisc/Kconfig
===================================================================arch/openrisc/Kconfig +1
-3@@ -17,6 +17,7 @@ config OPENRISC select GENERIC_IOMAP select GENERIC_CPU_DEVICES select GENERIC_ATOMIC64 + select GENERIC_CLOCKEVENTS config MMU def_bool y@@ -46,9 +47,6 @@ config NO_IOPORT config GENERIC_GPIO def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config TRACE_IRQFLAGS_SUPPORT def_bool y
[tip:timers/core] openrisc: Use generic time config
In reply to Anna-Maria GleixnerCommit-ID: 5bf8f6bfc950abe23927e0ff54cdb260d19d608e Gitweb: http://git.kernel.org/tip/5bf8f6bfc950abe23927e0ff54cdb260d19d608e Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:51 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
openrisc: Use generic time config
--- arch/openrisc/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/openrisc/Kconfig +1 -3
@@ -17,6 +17,7 @@ config OPENRISC select GENERIC_IOMAP select GENERIC_CPU_DEVICES select GENERIC_ATOMIC64 + select GENERIC_CLOCKEVENTS config MMU def_bool y
@@ -46,9 +47,6 @@ config NO_IOPORT config GENERIC_GPIO def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - config TRACE_IRQFLAGS_SUPPORT def_bool y
PATCH 16/24 powerpc: Use generic time config
In reply to Anna-Maria Gleixner--- arch/powerpc/Kconfig | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
arch/powerpc/Kconfig +3 -9
@@ -27,15 +27,6 @@ config MMU bool default y -config GENERIC_CMOS_UPDATE - def_bool y - -config GENERIC_TIME_VSYSCALL - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - config HAVE_SETUP_PER_CPU_AREA def_bool PPC64
@@ -144,6 +135,9 @@ config PPC select HAVE_BPF_JIT if (PPC64 && NET) select HAVE_ARCH_JUMP_LABEL select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CMOS_UPDATE + select GENERIC_TIME_VSYSCALL + select GENERIC_CLOCKEVENTS config EARLY_PRINTK bool
[tip:timers/core] powerpc: Use generic time config
Commit-ID: b9ed27dfcd8b68de90dc285acd9e7c7113964888 Gitweb: http://git.kernel.org/tip/b9ed27dfcd8b68de90dc285acd9e7c7113964888 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:51 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
powerpc: Use generic time config
--- arch/powerpc/Kconfig | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-)
arch/powerpc/Kconfig +3 -9
@@ -27,15 +27,6 @@ config MMU bool default y -config GENERIC_CMOS_UPDATE - def_bool y - -config GENERIC_TIME_VSYSCALL - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - config HAVE_SETUP_PER_CPU_AREA def_bool PPC64
@@ -144,6 +135,9 @@ config PPC select HAVE_BPF_JIT if (PPC64 && NET) select HAVE_ARCH_JUMP_LABEL select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CMOS_UPDATE + select GENERIC_TIME_VSYSCALL + select GENERIC_CLOCKEVENTS config EARLY_PRINTK bool
PATCH 17/24 s390: Use generic time config
In reply to Anna-Maria Gleixner--- arch/s390/Kconfig | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
arch/s390/Kconfig +3 -9
@@ -28,12 +28,6 @@ config ARCH_HAS_ILOG2_U64 config GENERIC_HWEIGHT def_bool y -config GENERIC_TIME_VSYSCALL - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_BUG def_bool y if BUG
@@ -122,6 +116,9 @@ config S390 select ARCH_INLINE_WRITE_UNLOCK_BH select ARCH_INLINE_WRITE_UNLOCK_IRQ select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE + select GENERIC_TIME_VSYSCALL + select GENERIC_CLOCKEVENTS + select KTIME_SCALAR if 32BIT config SCHED_OMIT_FRAME_POINTER def_bool y
@@ -146,9 +143,6 @@ config 64BIT config 32BIT def_bool y if !64BIT -config KTIME_SCALAR - def_bool 32BIT - config SMP def_bool y prompt "Symmetric multi-processing support"
[tip:timers/core] s390: Use generic time config
Commit-ID: a6527b92e40f48b29c31be911c3d62eec484cf70 Gitweb: http://git.kernel.org/tip/a6527b92e40f48b29c31be911c3d62eec484cf70 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:52 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:43 +0200
s390: Use generic time config
--- arch/s390/Kconfig | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-)
arch/s390/Kconfig +3 -9
@@ -28,12 +28,6 @@ config ARCH_HAS_ILOG2_U64 config GENERIC_HWEIGHT def_bool y -config GENERIC_TIME_VSYSCALL - def_bool y - -config GENERIC_CLOCKEVENTS - def_bool y - config GENERIC_BUG def_bool y if BUG
@@ -122,6 +116,9 @@ config S390 select ARCH_INLINE_WRITE_UNLOCK_BH select ARCH_INLINE_WRITE_UNLOCK_IRQ select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE + select GENERIC_TIME_VSYSCALL + select GENERIC_CLOCKEVENTS + select KTIME_SCALAR if 32BIT config SCHED_OMIT_FRAME_POINTER def_bool y
@@ -146,9 +143,6 @@ config 64BIT config 32BIT def_bool y if !64BIT -config KTIME_SCALAR - def_bool 32BIT - config SMP def_bool y prompt "Symmetric multi-processing support"
PATCH 18/24 score: Use generic time config
In reply to Anna-Maria Gleixner--- arch/score/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/score/Kconfig +1 -3
@@ -9,6 +9,7 @@ config SCORE select HAVE_MEMBLOCK_NODE_MAP select ARCH_DISCARD_MEMBLOCK select GENERIC_CPU_DEVICES + select GENERIC_CLOCKEVENTS choice prompt "System type"
@@ -51,9 +52,6 @@ config GENERIC_HWEIGHT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - menu "Kernel type" config 32BIT
[tip:timers/core] score: Use generic time config
Commit-ID: 43229d1e0976e42069cbc8cab99273183becd0ec Gitweb: http://git.kernel.org/tip/43229d1e0976e42069cbc8cab99273183becd0ec Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:52 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
score: Use generic time config
--- arch/score/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/score/Kconfig +1 -3
@@ -9,6 +9,7 @@ config SCORE select HAVE_MEMBLOCK_NODE_MAP select ARCH_DISCARD_MEMBLOCK select GENERIC_CPU_DEVICES + select GENERIC_CLOCKEVENTS choice prompt "System type"
@@ -51,9 +52,6 @@ config GENERIC_HWEIGHT config GENERIC_CALIBRATE_DELAY def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - menu "Kernel type" config 32BIT
PATCH 19/24 sh: Use generic time config
In reply to Anna-Maria Gleixner--- arch/sh/Kconfig | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
arch/sh/Kconfig +2 -10
@@ -28,6 +28,8 @@ config SUPERH select RTC_LIB select GENERIC_ATOMIC64 select GENERIC_IRQ_SHOW + select GENERIC_CLOCKEVENTS + select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast
@@ -86,16 +88,6 @@ config GENERIC_GPIO config GENERIC_CALIBRATE_DELAY bool -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - -config GENERIC_CMOS_UPDATE - def_bool y - depends on SH_SH03 || SH_DREAMCAST - config GENERIC_LOCKBREAK def_bool y depends on SMP && PREEMPT
[tip:timers/core] sh: Use generic time config
Commit-ID: 8cf200d8d01e71e8708a883a9cd0439cda6c2432 Gitweb: http://git.kernel.org/tip/8cf200d8d01e71e8708a883a9cd0439cda6c2432 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:53 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
sh: Use generic time config
--- arch/sh/Kconfig | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-)
arch/sh/Kconfig +2 -10
@@ -28,6 +28,8 @@ config SUPERH select RTC_LIB select GENERIC_ATOMIC64 select GENERIC_IRQ_SHOW + select GENERIC_CLOCKEVENTS + select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast
@@ -86,16 +88,6 @@ config GENERIC_GPIO config GENERIC_CALIBRATE_DELAY bool -config GENERIC_CLOCKEVENTS - def_bool y - -config GENERIC_CLOCKEVENTS_BROADCAST - bool - -config GENERIC_CMOS_UPDATE - def_bool y - depends on SH_SH03 || SH_DREAMCAST - config GENERIC_LOCKBREAK def_bool y depends on SMP && PREEMPT
PATCH 20/24 sparc: Use: generic time config
In reply to Anna-Maria Gleixner--- arch/sparc/Kconfig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
arch/sparc/Kconfig +3 -12
@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATE config SPARC32 def_bool !64BIT select GENERIC_ATOMIC64 select CLZ_TAB + select ARCH_USES_GETTIMEOFFSET config SPARC64 def_bool 64BIT
@@ -61,6 +63,7 @@ config SPARC64 select IRQ_PREFLOW_FASTEOI select ARCH_HAVE_NMI_SAFE_CMPXCHG select HAVE_C_RECORDMCOUNT + select GENERIC_CLOCKEVENTS config ARCH_DEFCONFIG string
@@ -73,18 +76,6 @@ config BITS default 32 if SPARC32 default 64 if SPARC64 -config ARCH_USES_GETTIMEOFFSET - bool - default y if SPARC32 - -config GENERIC_CMOS_UPDATE - bool - default y - -config GENERIC_CLOCKEVENTS - bool - default y if SPARC64 - config IOMMU_HELPER bool default y if SPARC64
Re: [patch 20/24] sparc: Use: generic time config
Hi Anna-Maria.
I really like the cleanup provided by this patch-set, but..
Quoted 11 lines · Anna-Maria Gleixner
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc "David S. Miller" <[email protected]>--- arch/sparc/Kconfig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)Index: linux/arch/sparc/Kconfig
===================================================================
arch/sparc/Kconfig config SPARC · line 33
Quoted 4 lines
arch/sparc/Kconfig +1
-0@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATE
I do not see where we define the GENERIC_CMOS_UPDATE symbol, so this looks wrong.
I looked only in upstream - and I did not look
in -tip.
Sam
David Miller
maintainerRe: [patch 20/24] sparc: Use: generic time config
From: Sam Ravnborg <[email protected]>
Date: Fri, 18 May 2012 19:50:41 +0200
Quoted 14 lines · Anna-Maria Gleixner
arch/sparc/Kconfig config SPARC · line 33
Quoted 9 lines
Index: linux/arch/sparc/Kconfig
===================================================================arch/sparc/Kconfig +1
-0@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATEI do not see where we define the
GENERIC_CMOS_UPDATEsymbol, so this looks wrong.
Quoted 2 lines
I looked only in upstream - and I did not look
in -tip.
On top of that, I get the impression that this patch series is not bisectable at all.
Re: [patch 20/24] sparc: Use: generic time config
Quoted 17 lines · David Miller
From: Sam Ravnborg <[email protected]>
Date: Fri, 18 May 2012 19:50:41 +0200Quoted 14 lines · Anna-Maria Gleixner
arch/sparc/Kconfig config SPARC · line 33
Quoted 9 lines
Index: linux/arch/sparc/Kconfig
===================================================================arch/sparc/Kconfig +1
-0@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATEI do not see where we define the
GENERIC_CMOS_UPDATEsymbol, so this looks wrong.
Quoted 5 lines
Quoted 2 lines
I looked only in upstream - and I did not look
in -tip.On top of that, I get the impression that this patch series is not bisectable at all.
I should be bisectable.
The first patch introduce the symbols with the default value n. But kconfig will use the "highest" value is see, independent on the order.
So the following fragment:
config FOO
def_bool y
config FOO
bool
config BAR
bool "BAR"
produces a CONFIG_FOO == y.
And for good measure I also tried with the two
"config FOO" symbols reversed and this produced identical output.
So unless I overlooked something it should be bisectable.
Sam
Sam Ravnborg
Acked-byRe: [patch 20/24] sparc: Use: generic time config
In reply to Sam RavnborgQuoted 11 lines · Sam Ravnborg
Hi Anna-Maria.
I really like the cleanup provided by this patch-set, but..
Quoted 6 lines · Anna-Maria Gleixner
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc "David S. Miller" <[email protected]>--- arch/sparc/Kconfig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
Quoted 12 lines
arch/sparc/Kconfig config SPARC · line 33
Quoted 9 lines
Index: linux/arch/sparc/Kconfig
===================================================================arch/sparc/Kconfig +1
-0@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATEI do not see where we define the
GENERIC_CMOS_UPDATEsymbol, so this looks wrong.
Whit the updated 01/24 patch you can add my:
Sam
[tip:timers/core] sparc: Use: generic time config
In reply to Anna-Maria GleixnerCommit-ID: ded1cc5cfc3b4bc007fe3bb8fbfd9e66d8d667d7 Gitweb: http://git.kernel.org/tip/ded1cc5cfc3b4bc007fe3bb8fbfd9e66d8d667d7 Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:54 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
sparc: Use: generic time config
--- arch/sparc/Kconfig | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-)
arch/sparc/Kconfig +3 -12
@@ -30,11 +30,13 @@ config SPARC select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 + select GENERIC_CMOS_UPDATE config SPARC32 def_bool !64BIT select GENERIC_ATOMIC64 select CLZ_TAB + select ARCH_USES_GETTIMEOFFSET config SPARC64 def_bool 64BIT
@@ -61,6 +63,7 @@ config SPARC64 select IRQ_PREFLOW_FASTEOI select ARCH_HAVE_NMI_SAFE_CMPXCHG select HAVE_C_RECORDMCOUNT + select GENERIC_CLOCKEVENTS config ARCH_DEFCONFIG string
@@ -73,18 +76,6 @@ config BITS default 32 if SPARC32 default 64 if SPARC64 -config ARCH_USES_GETTIMEOFFSET - bool - default y if SPARC32 - -config GENERIC_CMOS_UPDATE - bool - default y - -config GENERIC_CLOCKEVENTS - bool - default y if SPARC64 - config IOMMU_HELPER bool default y if SPARC64
PATCH 21/24 tile: Use generic time config
In reply to Anna-Maria Gleixner--- arch/tile/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/tile/Kconfig +1 -3
@@ -13,6 +13,7 @@ config TILE select GENERIC_IRQ_SHOW select SYS_HYPERVISOR select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CLOCKEVENTS # FIXME: investigate whether we need/want these options. # select HAVE_IOREMAP_PROT
@@ -46,9 +47,6 @@ config NEED_PER_CPU_PAGE_FIRST_CHUNK config SYS_SUPPORTS_HUGETLBFS def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - # FIXME: tilegx can implement a more efficient rwsem. config RWSEM_GENERIC_SPINLOCK def_bool y
[tip:timers/core] tile: Use generic time config
Commit-ID: 4ec008d630d9d96579b5911c140bb8de2aa68f0e Gitweb: http://git.kernel.org/tip/4ec008d630d9d96579b5911c140bb8de2aa68f0e Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:54 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
tile: Use generic time config
--- arch/tile/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/tile/Kconfig +1 -3
@@ -13,6 +13,7 @@ config TILE select GENERIC_IRQ_SHOW select SYS_HYPERVISOR select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CLOCKEVENTS # FIXME: investigate whether we need/want these options. # select HAVE_IOREMAP_PROT
@@ -46,9 +47,6 @@ config NEED_PER_CPU_PAGE_FIRST_CHUNK config SYS_SUPPORTS_HUGETLBFS def_bool y -config GENERIC_CLOCKEVENTS - def_bool y - # FIXME: tilegx can implement a more efficient rwsem. config RWSEM_GENERIC_SPINLOCK def_bool y
PATCH 22/24 um: Use generic time config
In reply to Anna-Maria Gleixner--- arch/um/Kconfig.common | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
arch/um/Kconfig.common +1 -4
@@ -10,6 +10,7 @@ config UML select GENERIC_IRQ_SHOW select GENERIC_CPU_DEVICES select GENERIC_IO + select GENERIC_CLOCKEVENTS config MMU bool
@@ -52,10 +53,6 @@ config GENERIC_BUG default y depends on BUG -config GENERIC_CLOCKEVENTS - bool - default y - # Used in kernel/irq/manage.c and include/linux/irq.h config IRQ_RELEASE_METHOD bool
Re: [patch 22/24] um: Use generic time config
Quoted 2 lines · Anna-Maria Gleixner
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc Richard Weinberger <[email protected]>
Thanks,
//richard
[tip:timers/core] um: Use generic time config
In reply to Anna-Maria GleixnerCommit-ID: 875c9d09b5a6400d6882b0e6e828862a73ce739d Gitweb: http://git.kernel.org/tip/875c9d09b5a6400d6882b0e6e828862a73ce739d Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:55 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
um: Use generic time config
--- arch/um/Kconfig.common | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
arch/um/Kconfig.common +1 -4
@@ -10,6 +10,7 @@ config UML select GENERIC_IRQ_SHOW select GENERIC_CPU_DEVICES select GENERIC_IO + select GENERIC_CLOCKEVENTS config MMU bool
@@ -52,10 +53,6 @@ config GENERIC_BUG default y depends on BUG -config GENERIC_CLOCKEVENTS - bool - default y - # Used in kernel/irq/manage.c and include/linux/irq.h config IRQ_RELEASE_METHOD bool
PATCH 23/24 unicore32: Use generic time config
In reply to Anna-Maria Gleixner--- arch/unicore32/Kconfig | 3 --- 1 file changed, 3 deletions(-)
arch/unicore32/Kconfig +0 -3
@@ -25,9 +25,6 @@ config HAVE_PWM config GENERIC_GPIO def_bool y -config GENERIC_CLOCKEVENTS - bool - config GENERIC_CSUM def_bool y
Re: [patch 23/24] unicore32: Use generic time config
Quoted 3 lines
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc Guan Xuetao <[email protected]>---
Good idea.
Btw, I suggest sending patch 00 & 01 to related persons or maintainers.
Thanks.
Guan Xuetao
[tip:timers/core] unicore32: Use generic time config
In reply to Anna-Maria GleixnerCommit-ID: 22bc48f986d21d0a8d80a642c7c4e87c11f42a5d Gitweb: http://git.kernel.org/tip/22bc48f986d21d0a8d80a642c7c4e87c11f42a5d Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:55 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:44 +0200
unicore32: Use generic time config
--- arch/unicore32/Kconfig | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
arch/unicore32/Kconfig +0 -3
@@ -25,9 +25,6 @@ config HAVE_PWM config GENERIC_GPIO def_bool y -config GENERIC_CLOCKEVENTS - bool - config GENERIC_CSUM def_bool y
PATCH 24/24 alpha: Use generic time config
In reply to Anna-Maria Gleixner--- arch/alpha/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/alpha/Kconfig +1 -3
@@ -15,6 +15,7 @@ config ALPHA select GENERIC_IRQ_SHOW select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CMOS_UPDATE help The Alpha is a 64-bit general-purpose processor designed and marketed by the Digital Equipment Corporation of blessed memory,
@@ -47,9 +48,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_CMOS_UPDATE - def_bool y - config GENERIC_GPIO bool
Re: [patch 24/24] alpha: Use generic time config
Quoted 25 lines · Anna-Maria Gleixner
Signed-off-by Anna-Maria Gleixner <[email protected]>Cc Matt Turner <[email protected]>---
arch/alpha/Kconfig | 4 +---1 file changed, 1 insertion(+), 3 deletions(-)Index: linux/arch/alpha/Kconfig
===================================================================arch/alpha/Kconfig +0
-0@@ -15,6 +15,7 @@ config ALPHAselect
GENERIC_IRQ_SHOW
selectARCH_WANT_OPTIONAL_GPIOLIB
selectARCH_HAVE_NMI_SAFE_CMPXCHG
+ selectGENERIC_CMOS_UPDATE
help
The Alpha is a 64-bit general-purpose processor designed and marketed by the Digital Equipment Corporation of blessed memory,arch/alpha/Kconfig +0
-0@@ -47,9 +48,6 @@ config GENERIC_CALIBRATE_DELAYbool
default yarch/alpha/Kconfig +0
-3-config GENERIC_CMOS_UPDATE - def_bool y -
Quoted 2 lines
config
GENERIC_GPIO
bool
[tip:timers/core] alpha: Use generic time config
In reply to Anna-Maria GleixnerCommit-ID: 6e24f31eab6af44043e9d432bde415c1b4ca1a9e Gitweb: http://git.kernel.org/tip/6e24f31eab6af44043e9d432bde415c1b4ca1a9e Author: Anna-Maria Gleixner <[email protected]> AuthorDate: Fri, 18 May 2012 16:45:56 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 21 May 2012 11:01:41 +0200
alpha: Use generic time config
--- arch/alpha/Kconfig | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/alpha/Kconfig +1 -3
@@ -15,6 +15,7 @@ config ALPHA select GENERIC_IRQ_SHOW select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_HAVE_NMI_SAFE_CMPXCHG + select GENERIC_CMOS_UPDATE help The Alpha is a 64-bit general-purpose processor designed and marketed by the Digital Equipment Corporation of blessed memory,
@@ -47,9 +48,6 @@ config GENERIC_CALIBRATE_DELAY bool default y -config GENERIC_CMOS_UPDATE - def_bool y - config GENERIC_GPIO bool