Skip to contentSkip to conversation

timers: Cleanup Kconfig

PATCH In review Anna-Maria Gleixner 10 participants 61 messages May 18, 2012 – May 21, 2012

Subsystems (13)
Arm (32-bit) x86 PowerPC MIPS +9 more subsystems
lore
Share & tools
lore
#0 lore raw

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(-)
#1 lore raw

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
Index: tip/kernel/time/Kconfig
===================================================================
@@ -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
#2 lore raw

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.

#3 lore raw

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_CLOCKEVENTS

Looks 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
Index: linux/kernel/time/Kconfig
===================================================================
@@ -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
#4 lore raw

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_CLOCKEVENTS

Looks 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. :)

#5 lore raw

[tip:timers/core] timers: Provide generic Kconfig switches

In reply to Anna-Maria Gleixner
Commit-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
index a20dc8a..f6ebc4f 100644
@@ -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
#6 lore raw

PATCH 2/24 x86: Use generic time config

In reply to Anna-Maria Gleixner

From: Thomas Gleixner <[email protected]>

---
 arch/x86/Kconfig |   32 ++++++++------------------------
 1 file changed, 8 insertions(+), 24 deletions(-)
arch/x86/Kconfig +7 -24
Index: linux/arch/x86/Kconfig
===================================================================
@@ -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
#7 lore raw

[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
index c9866b0..3b0a921 100644
@@ -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
#8 lore raw

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
Index: linux/arch/arm/Kconfig
===================================================================
@@ -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
#9 lore raw

[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
index 36586dba..feccc1d 100644
@@ -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
#10 lore raw

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
Index: linux/arch/avr32/Kconfig
===================================================================
@@ -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
 
#11 lore raw

[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
index 3dea7231..0bd13ab 100644
@@ -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
 
#12 lore raw

PATCH 5/24 blackfin: Use generic time config

In reply to Anna-Maria Gleixner

Use seperate selector for clockevents.

---
 arch/blackfin/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/blackfin/Kconfig +3 -5
Index: linux/arch/blackfin/Kconfig
===================================================================
@@ -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"
#13 lore raw

[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
index 373a690..bc21de2 100644
@@ -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"
#14 lore raw

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
Index: linux/arch/c6x/Kconfig
===================================================================
@@ -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
 
#16 lore raw

[tip:timers/core] c6x: Use generic time config

In reply to Anna-Maria Gleixner
Commit-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
index 1c3ccd4..30c04c6 100644
@@ -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
 
#17 lore raw

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
Index: linux/arch/cris/Kconfig
===================================================================
@@ -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
#18 lore raw

[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
index b3abfb0..4a63e7e 100644
@@ -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
#19 lore raw

PATCH 8/24 hexagon: Use generic time config

In reply to Anna-Maria Gleixner

config GENERIC_TIME not longer used.

---
 arch/hexagon/Kconfig |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)
arch/hexagon/Kconfig +3 -12
Index: linux/arch/hexagon/Kconfig
===================================================================
@@ -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
#20 lore raw

[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
index 9059e39..7727ed9 100644
@@ -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
#21 lore raw

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
Index: linux/arch/ia64/Kconfig
===================================================================
@@ -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
#22 lore raw

[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
index bd72669..9f9d57b 100644
@@ -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
#23 lore raw

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
Index: linux/arch/m32r/Kconfig
===================================================================
@@ -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"
#24 lore raw

[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
index ef80a65..b638d5b 100644
@@ -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"
#25 lore raw

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
Index: linux/arch/m68k/Kconfig
===================================================================
@@ -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
 
#26 lore raw

[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
index d318c60..2f4b0f0 100644
@@ -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
 
#27 lore raw

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
Index: linux/arch/microblaze/Kconfig
===================================================================
@@ -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
 
#28 lore raw

[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
index ac22dc7..3e786ac 100644
@@ -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
 
#29 lore raw

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
Index: linux/arch/mips/Kconfig
===================================================================
@@ -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
 #
#30 lore raw

[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
index ce30e2f..c9c330b 100644
@@ -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
 #
#31 lore raw

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
Index: linux/arch/mn10300/Kconfig
===================================================================
@@ -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
 
#32 lore raw

[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
index 3aa3de0..7f78057 100644
@@ -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
 
#33 lore raw

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
Index: linux/arch/openrisc/Kconfig
===================================================================
@@ -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
 
maintainer Acked-by on v1 15/24
#34 lore raw

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)

---
 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
 
#35 lore raw

[tip:timers/core] openrisc: Use generic time config

In reply to Anna-Maria Gleixner
Commit-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
index a478719..be04485 100644
@@ -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
 
#36 lore raw

PATCH 16/24 powerpc: Use generic time config

In reply to Anna-Maria Gleixner
Cc Benjamin Herrenschmidt <[email protected]>
---
 arch/powerpc/Kconfig |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
arch/powerpc/Kconfig +3 -9
Index: linux/arch/powerpc/Kconfig
===================================================================
@@ -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
#37 lore raw

[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
index feab3ba..901215f 100644
@@ -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
#38 lore raw

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
Index: linux/arch/s390/Kconfig
===================================================================
@@ -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"
#39 lore raw

[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
index 9015060..f9edb93 100644
@@ -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"
#40 lore raw

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
Index: linux/arch/score/Kconfig
===================================================================
@@ -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
#41 lore raw

[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
index 4b28577..f5d3b32 100644
@@ -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
#42 lore raw

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
Index: linux/arch/sh/Kconfig
===================================================================
@@ -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
#43 lore raw

[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
index ff9e033..cffd8b0 100644
@@ -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
#44 lore raw

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
Index: linux/arch/sparc/Kconfig
===================================================================
@@ -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
#45 lore raw

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
---
 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

maintainer
#46 lore raw

Re: [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_UPDATE

I do not see where we define the GENERIC_CMOS_UPDATE symbol, 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.

#47 lore raw

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 +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_UPDATE

I do not see where we define the GENERIC_CMOS_UPDATE symbol, 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

Acked-by
#48 lore raw

Re: [patch 20/24] sparc: Use: generic time config

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

Hi Anna-Maria.

I really like the cleanup provided by this patch-set, but..

Quoted 6 lines · Anna-Maria Gleixner
---
 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_UPDATE

I do not see where we define the GENERIC_CMOS_UPDATE symbol, so this looks wrong.

Whit the updated 01/24 patch you can add my:

Sam

#49 lore raw

[tip:timers/core] sparc: Use: generic time config

In reply to Anna-Maria Gleixner
Commit-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
index 6c0683d..33399d3 100644
@@ -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
#50 lore raw

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
Index: linux/arch/tile/Kconfig
===================================================================
@@ -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
#51 lore raw

[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
index 96033e2..b56772c 100644
@@ -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
#52 lore raw

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
Index: linux/arch/um/Kconfig.common
===================================================================
@@ -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
#54 lore raw

[tip:timers/core] um: Use generic time config

In reply to Anna-Maria Gleixner
Commit-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
index 20a49ba..806185d 100644
@@ -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
#55 lore raw

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
Index: linux/arch/unicore32/Kconfig
===================================================================
@@ -25,9 +25,6 @@ config HAVE_PWM
 config GENERIC_GPIO
 	def_bool y
 
-config GENERIC_CLOCKEVENTS
-	bool
-
 config GENERIC_CSUM
 	def_bool y
 
#57 lore raw

[tip:timers/core] unicore32: Use generic time config

In reply to Anna-Maria Gleixner
Commit-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
index eeb8054..a25ca76 100644
@@ -25,9 +25,6 @@ config HAVE_PWM
 config GENERIC_GPIO
 	def_bool y
 
-config GENERIC_CLOCKEVENTS
-	bool
-
 config GENERIC_CSUM
 	def_bool y
 
#58 lore raw

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
Index: linux/arch/alpha/Kconfig
===================================================================
@@ -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
 
maintainer Acked-by on v1 24/24
#59 lore raw

Re: [patch 24/24] alpha: Use generic time config

Quoted 25 lines · Anna-Maria Gleixner

---
 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 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,

arch/alpha/Kconfig +0 -0
@@ -47,9 +48,6 @@ config GENERIC_CALIBRATE_DELAY

       bool
       default y

arch/alpha/Kconfig +0 -3
-config GENERIC_CMOS_UPDATE
-        def_bool y
-
Quoted 2 lines

 config GENERIC_GPIO
       bool

#60 lore raw

[tip:timers/core] alpha: Use generic time config

In reply to Anna-Maria Gleixner
Commit-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
index 22e58a9..77ba268 100644
@@ -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