All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 01/24] timers: Provide generic Kconfig switches
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 23:14   ` Paul Mundt
  2012-05-18 16:45 ` [patch 03/24] arm: Use generic time config Anna-Maria Gleixner
                   ` (22 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner

[-- Attachment #1: timers-add-generic-kconfig-options.patch --]
[-- Type: text/plain, Size: 1221 bytes --]

From: Thomas Gleixner <tglx@linutronix.de>

We really don't want all the arch code defining stuff
over and over.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
---
 kernel/time/Kconfig |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Index: tip/kernel/time/Kconfig
===================================================================
--- tip.orig/kernel/time/Kconfig
+++ 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



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

* [patch 00/24] timers: Cleanup Kconfig
@ 2012-05-18 16:45 Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 01/24] timers: Provide generic Kconfig switches Anna-Maria Gleixner
                   ` (23 more replies)
  0 siblings, 24 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner

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




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

* [patch 02/24] x86: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 01/24] timers: Provide generic Kconfig switches Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 03/24] arm: Use generic time config Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:27   ` [tip:timers/core] " tip-bot for Thomas Gleixner
  2012-05-18 16:45 ` [patch 04/24] avr32: " Anna-Maria Gleixner
                   ` (20 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, x86

[-- Attachment #1: x86-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1967 bytes --]

From: Thomas Gleixner <tglx@linutronix.de>

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: x86@kernel.org
---
 arch/x86/Kconfig |   32 ++++++++------------------------
 1 file changed, 8 insertions(+), 24 deletions(-)

Index: linux/arch/x86/Kconfig
===================================================================
--- linux.orig/arch/x86/Kconfig
+++ 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



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

* [patch 03/24] arm: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 01/24] timers: Provide generic Kconfig switches Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:09   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 02/24] x86: " Anna-Maria Gleixner
                   ` (21 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Russell King

[-- Attachment #1: arm-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1062 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Russell King <linux@arm.linux.org.uk>
---
 arch/arm/Kconfig |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

Index: linux/arch/arm/Kconfig
===================================================================
--- linux.orig/arch/arm/Kconfig
+++ 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



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

* [patch 04/24] avr32: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (2 preceding siblings ...)
  2012-05-18 16:45 ` [patch 02/24] x86: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:10   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 05/24] blackfin: " Anna-Maria Gleixner
                   ` (19 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Haavard Skinnemoen

[-- Attachment #1: avr32-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 833 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc:  Haavard Skinnemoen <hskinnemoen@gmail.com>
---
 arch/avr32/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/avr32/Kconfig
===================================================================
--- linux.orig/arch/avr32/Kconfig
+++ 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
 



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

* [patch 05/24] blackfin: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (3 preceding siblings ...)
  2012-05-18 16:45 ` [patch 04/24] avr32: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:11   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 07/24] cris: " Anna-Maria Gleixner
                   ` (18 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Mike Frysinger

[-- Attachment #1: blackfin-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1123 bytes --]

Use seperate selector for clockevents.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 arch/blackfin/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Index: linux/arch/blackfin/Kconfig
===================================================================
--- linux.orig/arch/blackfin/Kconfig
+++ 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"



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

* [patch 06/24] c6x: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (5 preceding siblings ...)
  2012-05-18 16:45 ` [patch 07/24] cris: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 17:42   ` Mark Salter
  2012-05-21  9:11   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 08/24] hexagon: " Anna-Maria Gleixner
                   ` (16 subsequent siblings)
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Mark Salter

[-- Attachment #1: c6x-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 704 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Mark Salter <msalter@redhat.com>
---
 arch/c6x/Kconfig |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux/arch/c6x/Kconfig
===================================================================
--- linux.orig/arch/c6x/Kconfig
+++ 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
 



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

* [patch 07/24] cris: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (4 preceding siblings ...)
  2012-05-18 16:45 ` [patch 05/24] blackfin: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:12   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 06/24] c6x: " Anna-Maria Gleixner
                   ` (17 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Jesper Nilsson

[-- Attachment #1: cris-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 736 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
---
 arch/cris/Kconfig |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux/arch/cris/Kconfig
===================================================================
--- linux.orig/arch/cris/Kconfig
+++ 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



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

* [patch 08/24] hexagon: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (6 preceding siblings ...)
  2012-05-18 16:45 ` [patch 06/24] c6x: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:13   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 09/24] ia64: " Anna-Maria Gleixner
                   ` (15 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Richard Kuo

[-- Attachment #1: hexagon-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1182 bytes --]

config GENERIC_TIME not longer used.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Richard Kuo <rkuo@codeaurora.org>
---
 arch/hexagon/Kconfig |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

Index: linux/arch/hexagon/Kconfig
===================================================================
--- linux.orig/arch/hexagon/Kconfig
+++ 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



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

* [patch 09/24] ia64: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (7 preceding siblings ...)
  2012-05-18 16:45 ` [patch 08/24] hexagon: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:14   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 10/24] m32r: " Anna-Maria Gleixner
                   ` (14 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Tony Luck

[-- Attachment #1: ia64-use-generic-time-config-.patch --]
[-- Type: text/plain, Size: 934 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Tony Luck <tony.luck@intel.com>
---
 arch/ia64/Kconfig |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Index: linux/arch/ia64/Kconfig
===================================================================
--- linux.orig/arch/ia64/Kconfig
+++ 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



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

* [patch 10/24] m32r: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (8 preceding siblings ...)
  2012-05-18 16:45 ` [patch 09/24] ia64: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:15   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 11/24] m68k: " Anna-Maria Gleixner
                   ` (13 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Hirokazu Takata

[-- Attachment #1: m32r-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 667 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
---
 arch/m32r/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/m32r/Kconfig
===================================================================
--- linux.orig/arch/m32r/Kconfig
+++ 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"



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

* [patch 12/24] microblaze: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (10 preceding siblings ...)
  2012-05-18 16:45 ` [patch 11/24] m68k: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:16   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 14/24] mn10300: " Anna-Maria Gleixner
                   ` (11 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Michal Simek

[-- Attachment #1: microblaze-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 755 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/Kconfig |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux/arch/microblaze/Kconfig
===================================================================
--- linux.orig/arch/microblaze/Kconfig
+++ 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
 



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

* [patch 11/24] m68k: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (9 preceding siblings ...)
  2012-05-18 16:45 ` [patch 10/24] m32r: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:16   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 12/24] microblaze: " Anna-Maria Gleixner
                   ` (12 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Geert Uytterhoeven

[-- Attachment #1: m68k-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 873 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/m68k/Kconfig |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux/arch/m68k/Kconfig
===================================================================
--- linux.orig/arch/m68k/Kconfig
+++ 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
 



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

* [patch 13/24] mips: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (12 preceding siblings ...)
  2012-05-18 16:45 ` [patch 14/24] mn10300: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:17   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 16/24] powerpc: " Anna-Maria Gleixner
                   ` (9 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Ralf Baechle

[-- Attachment #1: mips-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 934 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
---
 arch/mips/Kconfig |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

Index: linux/arch/mips/Kconfig
===================================================================
--- linux.orig/arch/mips/Kconfig
+++ 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
 #



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

* [patch 14/24] mn10300: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (11 preceding siblings ...)
  2012-05-18 16:45 ` [patch 12/24] microblaze: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:18   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 13/24] mips: " Anna-Maria Gleixner
                   ` (10 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, David Howells

[-- Attachment #1: mn10300-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 813 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: David Howells <dhowells@redhat.com>
---
 arch/mn10300/Kconfig |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux/arch/mn10300/Kconfig
===================================================================
--- linux.orig/arch/mn10300/Kconfig
+++ 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
 



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

* [patch 16/24] powerpc: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (13 preceding siblings ...)
  2012-05-18 16:45 ` [patch 13/24] mips: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:19   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 15/24] openrisc: " Anna-Maria Gleixner
                   ` (8 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Benjamin Herrenschmidt

[-- Attachment #1: powerpc-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 868 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 arch/powerpc/Kconfig |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Index: linux/arch/powerpc/Kconfig
===================================================================
--- linux.orig/arch/powerpc/Kconfig
+++ 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



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

* [patch 15/24] openrisc: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (14 preceding siblings ...)
  2012-05-18 16:45 ` [patch 16/24] powerpc: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 19:56   ` Jonas Bonn
  2012-05-21  9:20   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 17/24] s390: " Anna-Maria Gleixner
                   ` (7 subsequent siblings)
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Jonas Bonn

[-- Attachment #1: openrisc-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 691 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Jonas Bonn <jonas@southpole.se>
---
 arch/openrisc/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/openrisc/Kconfig
===================================================================
--- linux.orig/arch/openrisc/Kconfig
+++ 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
 



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

* [patch 18/24] score: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (16 preceding siblings ...)
  2012-05-18 16:45 ` [patch 17/24] s390: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:22   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 19/24] sh: " Anna-Maria Gleixner
                   ` (5 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Chen Liqin

[-- Attachment #1: score-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 724 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
---
 arch/score/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/score/Kconfig
===================================================================
--- linux.orig/arch/score/Kconfig
+++ 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



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

* [patch 17/24] s390: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (15 preceding siblings ...)
  2012-05-18 16:45 ` [patch 15/24] openrisc: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:21   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 18/24] score: " Anna-Maria Gleixner
                   ` (6 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Martin Schwidefsky

[-- Attachment #1: s390-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1050 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc:  Martin Schwidefsky <schwidefsky@de.ibm.com>
---
 arch/s390/Kconfig |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Index: linux/arch/s390/Kconfig
===================================================================
--- linux.orig/arch/s390/Kconfig
+++ 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"



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

* [patch 19/24] sh: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (17 preceding siblings ...)
  2012-05-18 16:45 ` [patch 18/24] score: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:22   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 21/24] tile: " Anna-Maria Gleixner
                   ` (4 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Paul Mundt

[-- Attachment #1: sh-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 994 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/Kconfig |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Index: linux/arch/sh/Kconfig
===================================================================
--- linux.orig/arch/sh/Kconfig
+++ 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



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

* [patch 20/24] sparc: Use: generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (19 preceding siblings ...)
  2012-05-18 16:45 ` [patch 21/24] tile: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 17:50   ` Sam Ravnborg
  2012-05-21  9:23   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 22/24] um: Use " Anna-Maria Gleixner
                   ` (2 subsequent siblings)
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, David S. Miller

[-- Attachment #1: sparc-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1174 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: "David S. Miller" <davem@davemloft.net>
---
 arch/sparc/Kconfig |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

Index: linux/arch/sparc/Kconfig
===================================================================
--- linux.orig/arch/sparc/Kconfig
+++ 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



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

* [patch 21/24] tile: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (18 preceding siblings ...)
  2012-05-18 16:45 ` [patch 19/24] sh: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:24   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 20/24] sparc: Use: " Anna-Maria Gleixner
                   ` (3 subsequent siblings)
  23 siblings, 1 reply; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Chris Metcalf

[-- Attachment #1: tile-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 821 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc:  Chris Metcalf <cmetcalf@tilera.com>
---
 arch/tile/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/tile/Kconfig
===================================================================
--- linux.orig/arch/tile/Kconfig
+++ 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



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

* [patch 23/24] unicore32: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (21 preceding siblings ...)
  2012-05-18 16:45 ` [patch 22/24] um: Use " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-21  9:26   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-21  9:40   ` [patch 23/24] " guanxuetao
  2012-05-18 16:45 ` [patch 24/24] alpha: " Anna-Maria Gleixner
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Guan Xuetao

[-- Attachment #1: unicore32-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 488 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
---
 arch/unicore32/Kconfig |    3 ---
 1 file changed, 3 deletions(-)

Index: linux/arch/unicore32/Kconfig
===================================================================
--- linux.orig/arch/unicore32/Kconfig
+++ 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
 



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

* [patch 22/24] um: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (20 preceding siblings ...)
  2012-05-18 16:45 ` [patch 20/24] sparc: Use: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 17:19   ` Richard Weinberger
  2012-05-21  9:25   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 23/24] unicore32: " Anna-Maria Gleixner
  2012-05-18 16:45 ` [patch 24/24] alpha: " Anna-Maria Gleixner
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Richard Weinberger

[-- Attachment #1: um-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 726 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Richard Weinberger <richard@nod.at>
---
 arch/um/Kconfig.common |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Index: linux/arch/um/Kconfig.common
===================================================================
--- linux.orig/arch/um/Kconfig.common
+++ 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



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

* [patch 24/24] alpha: Use generic time config
  2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
                   ` (22 preceding siblings ...)
  2012-05-18 16:45 ` [patch 23/24] unicore32: " Anna-Maria Gleixner
@ 2012-05-18 16:45 ` Anna-Maria Gleixner
  2012-05-18 17:06   ` Matt Turner
  2012-05-21  9:08   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  23 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-18 16:45 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Matt Turner

[-- Attachment #1: alpha-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 794 bytes --]

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Matt Turner <mattst88@gmail.com>
---
 arch/alpha/Kconfig |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/alpha/Kconfig
===================================================================
--- linux.orig/arch/alpha/Kconfig
+++ 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
 



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

* Re: [patch 24/24] alpha: Use generic time config
  2012-05-18 16:45 ` [patch 24/24] alpha: " Anna-Maria Gleixner
@ 2012-05-18 17:06   ` Matt Turner
  2012-05-21  9:08   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: Matt Turner @ 2012-05-18 17:06 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner

On Fri, May 18, 2012 at 12:45 PM, Anna-Maria Gleixner
<anna-maria@glx-um.de> wrote:
> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: Matt Turner <mattst88@gmail.com>
> ---
>  arch/alpha/Kconfig |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> Index: linux/arch/alpha/Kconfig
> ===================================================================
> --- linux.orig/arch/alpha/Kconfig
> +++ 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

Acked-by: Matt Turner <mattst88@gmail.com>

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

* Re: [patch 22/24] um: Use generic time config
  2012-05-18 16:45 ` [patch 22/24] um: Use " Anna-Maria Gleixner
@ 2012-05-18 17:19   ` Richard Weinberger
  2012-05-21  9:25   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: Richard Weinberger @ 2012-05-18 17:19 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner

On Fri, 18 May 2012 16:45:55 -0000, Anna-Maria Gleixner
<anna-maria@glx-um.de> wrote:
> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: Richard Weinberger <richard@nod.at>

Acked-by: Richard Weinberger <richard@nod.at>

Thanks,
//richard

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

* Re: [patch 06/24] c6x: Use generic time config
  2012-05-18 16:45 ` [patch 06/24] c6x: " Anna-Maria Gleixner
@ 2012-05-18 17:42   ` Mark Salter
  2012-05-21  9:11   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: Mark Salter @ 2012-05-18 17:42 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner

On Fri, 2012-05-18 at 16:45 +0000, Anna-Maria Gleixner wrote:
> plain text document attachment (c6x-use-generic-time-config.patch)
> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: Mark Salter <msalter@redhat.com>
> ---
>  arch/c6x/Kconfig |    7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 

Acked-by: Mark Salter <msalter@redhat.com>



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

* Re: [patch 20/24] sparc: Use: generic time config
  2012-05-18 16:45 ` [patch 20/24] sparc: Use: " Anna-Maria Gleixner
@ 2012-05-18 17:50   ` Sam Ravnborg
  2012-05-18 17:53     ` David Miller
  2012-05-20 16:52     ` Sam Ravnborg
  2012-05-21  9:23   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  1 sibling, 2 replies; 61+ messages in thread
From: Sam Ravnborg @ 2012-05-18 17:50 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner, David S. Miller

Hi Anna-Maria.

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

On Fri, May 18, 2012 at 04:45:54PM -0000, Anna-Maria Gleixner wrote:
> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: "David S. Miller" <davem@davemloft.net>
> ---
>  arch/sparc/Kconfig |   15 +++------------
>  1 file changed, 3 insertions(+), 12 deletions(-)
> 
> Index: linux/arch/sparc/Kconfig
> ===================================================================
> --- linux.orig/arch/sparc/Kconfig
> +++ 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

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

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

* Re: [patch 20/24] sparc: Use: generic time config
  2012-05-18 17:50   ` Sam Ravnborg
@ 2012-05-18 17:53     ` David Miller
  2012-05-18 18:52       ` Sam Ravnborg
  2012-05-20 16:52     ` Sam Ravnborg
  1 sibling, 1 reply; 61+ messages in thread
From: David Miller @ 2012-05-18 17:53 UTC (permalink / raw)
  To: sam; +Cc: anna-maria, linux-kernel, tglx

From: Sam Ravnborg <sam@ravnborg.org>
Date: Fri, 18 May 2012 19:50:41 +0200

> On Fri, May 18, 2012 at 04:45:54PM -0000, Anna-Maria Gleixner wrote:
>> Index: linux/arch/sparc/Kconfig
>> ===================================================================
>> --- linux.orig/arch/sparc/Kconfig
>> +++ 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
> 
> 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.

On top of that, I get the impression that this patch series is not
bisectable at all.

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

* Re: [patch 20/24] sparc: Use: generic time config
  2012-05-18 17:53     ` David Miller
@ 2012-05-18 18:52       ` Sam Ravnborg
  0 siblings, 0 replies; 61+ messages in thread
From: Sam Ravnborg @ 2012-05-18 18:52 UTC (permalink / raw)
  To: David Miller; +Cc: anna-maria, linux-kernel, tglx

On Fri, May 18, 2012 at 01:53:35PM -0400, David Miller wrote:
> From: Sam Ravnborg <sam@ravnborg.org>
> Date: Fri, 18 May 2012 19:50:41 +0200
> 
> > On Fri, May 18, 2012 at 04:45:54PM -0000, Anna-Maria Gleixner wrote:
> >> Index: linux/arch/sparc/Kconfig
> >> ===================================================================
> >> --- linux.orig/arch/sparc/Kconfig
> >> +++ 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
> > 
> > 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.
> 
> 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

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

* Re: [patch 15/24] openrisc: Use generic time config
  2012-05-18 16:45 ` [patch 15/24] openrisc: " Anna-Maria Gleixner
@ 2012-05-18 19:56   ` Jonas Bonn
  2012-05-21  9:20   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: Jonas Bonn @ 2012-05-18 19:56 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner


Good idea!

Acked-by: Jonas Bonn <jonas@southpole.se>

Thanks,
Jonas

On Fri, 2012-05-18 at 16:45 +0000, Anna-Maria Gleixner wrote:
> plain text document attachment
> (openrisc-use-generic-time-config.patch)
> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: Jonas Bonn <jonas@southpole.se>
> ---
>  arch/openrisc/Kconfig |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> Index: linux/arch/openrisc/Kconfig
> ===================================================================
> --- linux.orig/arch/openrisc/Kconfig
> +++ 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
>  
> 
> 



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

* Re: [patch 01/24] timers: Provide generic Kconfig switches
  2012-05-18 16:45 ` [patch 01/24] timers: Provide generic Kconfig switches Anna-Maria Gleixner
@ 2012-05-18 23:14   ` Paul Mundt
  2012-05-20 15:59     ` Anna-Maria Gleixner
  0 siblings, 1 reply; 61+ messages in thread
From: Paul Mundt @ 2012-05-18 23:14 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner

On Fri, May 18, 2012 at 04:45:43PM -0000, Anna-Maria Gleixner wrote:
> +# 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
> 
Looks like you've missed GENERIC_CMOS_UPDATE.

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

* Re: [patch 01/24] timers: Provide generic Kconfig switches
  2012-05-18 23:14   ` Paul Mundt
@ 2012-05-20 15:59     ` Anna-Maria Gleixner
  2012-05-20 16:03       ` Thomas Gleixner
  2012-05-21  9:07       ` [tip:timers/core] " tip-bot for Thomas Gleixner
  0 siblings, 2 replies; 61+ messages in thread
From: Anna-Maria Gleixner @ 2012-05-20 15:59 UTC (permalink / raw)
  To: Paul Mundt; +Cc: LKML, Thomas Gleixner

On Sat, 2012-05-19 at 08:14 +0900, Paul Mundt wrote:
> On Fri, May 18, 2012 at 04:45:43PM -0000, Anna-Maria Gleixner wrote:
> > +# 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 <tglx@linutronix.de>
Date: Fri, 18 May 2012 09:59:57 +0200

From: Thomas Gleixner <tglx@linutronix.de>

We really don't want all the arch code defining stuff
over and over.

[ anna-maria: Added missing GENERIC_CMOS_UPDATE switch ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
---
 kernel/time/Kconfig |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Index: linux/kernel/time/Kconfig
===================================================================
--- linux.orig/kernel/time/Kconfig
+++ 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



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

* Re: [patch 01/24] timers: Provide generic Kconfig switches
  2012-05-20 15:59     ` Anna-Maria Gleixner
@ 2012-05-20 16:03       ` Thomas Gleixner
  2012-05-21  9:07       ` [tip:timers/core] " tip-bot for Thomas Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: Thomas Gleixner @ 2012-05-20 16:03 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: Paul Mundt, LKML

On Sun, 20 May 2012, Anna-Maria Gleixner wrote:
> On Sat, 2012-05-19 at 08:14 +0900, Paul Mundt wrote:
> > On Fri, May 18, 2012 at 04:45:43PM -0000, Anna-Maria Gleixner wrote:
> > > +# 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. :)


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

* Re: [patch 20/24] sparc: Use: generic time config
  2012-05-18 17:50   ` Sam Ravnborg
  2012-05-18 17:53     ` David Miller
@ 2012-05-20 16:52     ` Sam Ravnborg
  1 sibling, 0 replies; 61+ messages in thread
From: Sam Ravnborg @ 2012-05-20 16:52 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner, David S. Miller

On Fri, May 18, 2012 at 07:50:41PM +0200, Sam Ravnborg wrote:
> Hi Anna-Maria.
> 
> I really like the cleanup provided by this patch-set, but..
> 
> On Fri, May 18, 2012 at 04:45:54PM -0000, Anna-Maria Gleixner wrote:
> > Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> > Cc: "David S. Miller" <davem@davemloft.net>
> > ---
> >  arch/sparc/Kconfig |   15 +++------------
> >  1 file changed, 3 insertions(+), 12 deletions(-)
> > 
> > Index: linux/arch/sparc/Kconfig
> > ===================================================================
> > --- linux.orig/arch/sparc/Kconfig
> > +++ 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
> 
> 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:

Acked-by: Sam Ravnborg <sam@ravnborg.org>

	Sam

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

* [tip:timers/core] timers: Provide generic Kconfig switches
  2012-05-20 15:59     ` Anna-Maria Gleixner
  2012-05-20 16:03       ` Thomas Gleixner
@ 2012-05-21  9:07       ` tip-bot for Thomas Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Thomas Gleixner @ 2012-05-21  9:07 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, sam, lethal, tglx, anna-maria

Commit-ID:  b5e498ad67863cc877fb05e6a71ce58eda4fb2ca
Gitweb:     http://git.kernel.org/tip/b5e498ad67863cc877fb05e6a71ce58eda4fb2ca
Author:     Thomas Gleixner <tglx@linutronix.de>
AuthorDate: Fri, 18 May 2012 09:59:57 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
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 ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Link: http://lkml.kernel.org/r/1337529587.3208.2.camel@dionysos
Acked-by: Sam Ravnborg <sam@ravnborg.org>
---
 kernel/time/Kconfig |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index a20dc8a..f6ebc4f 100644
--- a/kernel/time/Kconfig
+++ b/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

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

* [tip:timers/core] alpha: Use generic time config
  2012-05-18 16:45 ` [patch 24/24] alpha: " Anna-Maria Gleixner
  2012-05-18 17:06   ` Matt Turner
@ 2012-05-21  9:08   ` tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:08 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, mattst88, tglx, anna-maria

Commit-ID:  6e24f31eab6af44043e9d432bde415c1b4ca1a9e
Gitweb:     http://git.kernel.org/tip/6e24f31eab6af44043e9d432bde415c1b4ca1a9e
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:56 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:41 +0200

alpha: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Acked-by: Matt Turner <mattst88@gmail.com>
Link: http://lkml.kernel.org/r/20120518163107.510619939@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/alpha/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 22e58a9..77ba268 100644
--- a/arch/alpha/Kconfig
+++ b/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
 

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

* [tip:timers/core] arm: Use generic time config
  2012-05-18 16:45 ` [patch 03/24] arm: Use generic time config Anna-Maria Gleixner
@ 2012-05-21  9:09   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:09 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, linux, tglx, anna-maria

Commit-ID:  3d92a71a4467681ef6a47e10447d200b52c78af8
Gitweb:     http://git.kernel.org/tip/3d92a71a4467681ef6a47e10447d200b52c78af8
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:44 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:41 +0200

arm: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Russell King <linux@arm.linux.org.uk>
Link: http://lkml.kernel.org/r/20120518163104.760560327@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/arm/Kconfig |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 36586dba..feccc1d 100644
--- a/arch/arm/Kconfig
+++ b/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

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

* [tip:timers/core] avr32: Use generic time config
  2012-05-18 16:45 ` [patch 04/24] avr32: " Anna-Maria Gleixner
@ 2012-05-21  9:10   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:10 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, hskinnemoen, tglx, anna-maria

Commit-ID:  8d6af9914cacfbb60537cf5c46f9ebfc26ff2440
Gitweb:     http://git.kernel.org/tip/8d6af9914cacfbb60537cf5c46f9ebfc26ff2440
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:45 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:41 +0200

avr32: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Link: http://lkml.kernel.org/r/20120518163104.889514832@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 arch/avr32/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index 3dea7231..0bd13ab 100644
--- a/arch/avr32/Kconfig
+++ b/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
 

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

* [tip:timers/core] blackfin: Use generic time config
  2012-05-18 16:45 ` [patch 05/24] blackfin: " Anna-Maria Gleixner
@ 2012-05-21  9:11   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:11 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, vapier, tglx, anna-maria

Commit-ID:  dfbaec06bd80117f8ed944236efab8fb32cd4f68
Gitweb:     http://git.kernel.org/tip/dfbaec06bd80117f8ed944236efab8fb32cd4f68
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:45 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:41 +0200

blackfin: Use generic time config

Use seperate selector for clockevents.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Link: http://lkml.kernel.org/r/20120518163105.026597932@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 arch/blackfin/Kconfig |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 373a690..bc21de2 100644
--- a/arch/blackfin/Kconfig
+++ b/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"

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

* [tip:timers/core] c6x: Use generic time config
  2012-05-18 16:45 ` [patch 06/24] c6x: " Anna-Maria Gleixner
  2012-05-18 17:42   ` Mark Salter
@ 2012-05-21  9:11   ` tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:11 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, msalter, anna-maria

Commit-ID:  6220443db41899606a8621215e0f6e99477f7152
Gitweb:     http://git.kernel.org/tip/6220443db41899606a8621215e0f6e99477f7152
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:46 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:41 +0200

c6x: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Acked-by: Mark Salter <msalter@redhat.com>
Link: http://lkml.kernel.org/r/20120518163105.156595383@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/c6x/Kconfig |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index 1c3ccd4..30c04c6 100644
--- a/arch/c6x/Kconfig
+++ b/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
 

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

* [tip:timers/core] cris: Use generic time config
  2012-05-18 16:45 ` [patch 07/24] cris: " Anna-Maria Gleixner
@ 2012-05-21  9:12   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, jesper.nilsson, tglx, anna-maria

Commit-ID:  5227b636eca4226287e43fc1de1e09a694bcaa34
Gitweb:     http://git.kernel.org/tip/5227b636eca4226287e43fc1de1e09a694bcaa34
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:46 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:42 +0200

cris: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Link: http://lkml.kernel.org/r/20120518163105.286556794@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/cris/Kconfig |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index b3abfb0..4a63e7e 100644
--- a/arch/cris/Kconfig
+++ b/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

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

* [tip:timers/core] hexagon: Use generic time config
  2012-05-18 16:45 ` [patch 08/24] hexagon: " Anna-Maria Gleixner
@ 2012-05-21  9:13   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:13 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, anna-maria, rkuo

Commit-ID:  24a6f35e192ed54205024742eb8a4a2f99c1da9d
Gitweb:     http://git.kernel.org/tip/24a6f35e192ed54205024742eb8a4a2f99c1da9d
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:47 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:42 +0200

hexagon: Use generic time config

config GENERIC_TIME not longer used.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Richard Kuo <rkuo@codeaurora.org>
Link: http://lkml.kernel.org/r/20120518163105.416570309@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/hexagon/Kconfig |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig
index 9059e39..7727ed9 100644
--- a/arch/hexagon/Kconfig
+++ b/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

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

* [tip:timers/core] ia64: Use generic time config
  2012-05-18 16:45 ` [patch 09/24] ia64: " Anna-Maria Gleixner
@ 2012-05-21  9:14   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:14 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tony.luck, tglx, anna-maria

Commit-ID:  21b19710a2fbbec3d81e7cb4d74a8ea4f0acfeea
Gitweb:     http://git.kernel.org/tip/21b19710a2fbbec3d81e7cb4d74a8ea4f0acfeea
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:48 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:42 +0200

ia64: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20120518163105.547603093@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/ia64/Kconfig |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index bd72669..9f9d57b 100644
--- a/arch/ia64/Kconfig
+++ b/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

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

* [tip:timers/core] m32r: Use generic time config
  2012-05-18 16:45 ` [patch 10/24] m32r: " Anna-Maria Gleixner
@ 2012-05-21  9:15   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:15 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, takata, tglx, anna-maria

Commit-ID:  97a1c1e918f6cf746352f565f5f2e00916309ede
Gitweb:     http://git.kernel.org/tip/97a1c1e918f6cf746352f565f5f2e00916309ede
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:48 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:42 +0200

m32r: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Link: http://lkml.kernel.org/r/20120518163105.678581749@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/m32r/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index ef80a65..b638d5b 100644
--- a/arch/m32r/Kconfig
+++ b/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"

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

* [tip:timers/core] m68k: Use generic time config
  2012-05-18 16:45 ` [patch 11/24] m68k: " Anna-Maria Gleixner
@ 2012-05-21  9:16   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:16 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, geert, tglx, anna-maria

Commit-ID:  60a5e4c3d3df6ec9006576935953dde6cf94f02a
Gitweb:     http://git.kernel.org/tip/60a5e4c3d3df6ec9006576935953dde6cf94f02a
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:49 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:42 +0200

m68k: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20120518163105.808606368@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/m68k/Kconfig |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index d318c60..2f4b0f0 100644
--- a/arch/m68k/Kconfig
+++ b/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
 

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

* [tip:timers/core] microblaze: Use generic time config
  2012-05-18 16:45 ` [patch 12/24] microblaze: " Anna-Maria Gleixner
@ 2012-05-21  9:16   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:16 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, monstr, tglx, anna-maria

Commit-ID:  d6412e2bdcd8dae1d502b49aff418275742d2887
Gitweb:     http://git.kernel.org/tip/d6412e2bdcd8dae1d502b49aff418275742d2887
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:49 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

microblaze: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Michal Simek <monstr@monstr.eu>
Link: http://lkml.kernel.org/r/20120518163105.939597527@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/microblaze/Kconfig |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index ac22dc7..3e786ac 100644
--- a/arch/microblaze/Kconfig
+++ b/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
 

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

* [tip:timers/core] mips: Use generic time config
  2012-05-18 16:45 ` [patch 13/24] mips: " Anna-Maria Gleixner
@ 2012-05-21  9:17   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:17 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, ralf, tglx, anna-maria

Commit-ID:  cde1794b069f44ca02f3f4f50a903e9361132244
Gitweb:     http://git.kernel.org/tip/cde1794b069f44ca02f3f4f50a903e9361132244
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:50 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

mips: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Link: http://lkml.kernel.org/r/20120518163106.073559820@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/mips/Kconfig |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ce30e2f..c9c330b 100644
--- a/arch/mips/Kconfig
+++ b/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
 #

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

* [tip:timers/core] mn10300: Use generic time config
  2012-05-18 16:45 ` [patch 14/24] mn10300: " Anna-Maria Gleixner
@ 2012-05-21  9:18   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:18 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, dhowells, tglx, anna-maria

Commit-ID:  ea5332098e68e2380429ce8025996fad61ca28a6
Gitweb:     http://git.kernel.org/tip/ea5332098e68e2380429ce8025996fad61ca28a6
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:50 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

mn10300: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: David Howells <dhowells@redhat.com>
Link: http://lkml.kernel.org/r/20120518163106.201635926@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/mn10300/Kconfig |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig
index 3aa3de0..7f78057 100644
--- a/arch/mn10300/Kconfig
+++ b/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
 

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

* [tip:timers/core] powerpc: Use generic time config
  2012-05-18 16:45 ` [patch 16/24] powerpc: " Anna-Maria Gleixner
@ 2012-05-21  9:19   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:19 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, benh, tglx, anna-maria

Commit-ID:  b9ed27dfcd8b68de90dc285acd9e7c7113964888
Gitweb:     http://git.kernel.org/tip/b9ed27dfcd8b68de90dc285acd9e7c7113964888
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:51 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

powerpc: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Link: http://lkml.kernel.org/r/20120518163106.464567389@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/powerpc/Kconfig |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index feab3ba..901215f 100644
--- a/arch/powerpc/Kconfig
+++ b/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

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

* [tip:timers/core] openrisc: Use generic time config
  2012-05-18 16:45 ` [patch 15/24] openrisc: " Anna-Maria Gleixner
  2012-05-18 19:56   ` Jonas Bonn
@ 2012-05-21  9:20   ` tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:20 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, jonas, tglx, anna-maria

Commit-ID:  5bf8f6bfc950abe23927e0ff54cdb260d19d608e
Gitweb:     http://git.kernel.org/tip/5bf8f6bfc950abe23927e0ff54cdb260d19d608e
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:51 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

openrisc: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Acked-by: Jonas Bonn <jonas@southpole.se>
Link: http://lkml.kernel.org/r/20120518163106.333611712@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/openrisc/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index a478719..be04485 100644
--- a/arch/openrisc/Kconfig
+++ b/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
 

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

* [tip:timers/core] s390: Use generic time config
  2012-05-18 16:45 ` [patch 17/24] s390: " Anna-Maria Gleixner
@ 2012-05-21  9:21   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:21 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, schwidefsky, tglx, anna-maria

Commit-ID:  a6527b92e40f48b29c31be911c3d62eec484cf70
Gitweb:     http://git.kernel.org/tip/a6527b92e40f48b29c31be911c3d62eec484cf70
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:52 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:43 +0200

s390: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/20120518163106.595607369@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/s390/Kconfig |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 9015060..f9edb93 100644
--- a/arch/s390/Kconfig
+++ b/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"

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

* [tip:timers/core] score: Use generic time config
  2012-05-18 16:45 ` [patch 18/24] score: " Anna-Maria Gleixner
@ 2012-05-21  9:22   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:22 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, liqin.chen, hpa, mingo, tglx, anna-maria

Commit-ID:  43229d1e0976e42069cbc8cab99273183becd0ec
Gitweb:     http://git.kernel.org/tip/43229d1e0976e42069cbc8cab99273183becd0ec
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:52 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

score: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Link: http://lkml.kernel.org/r/20120518163106.727602709@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/score/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/score/Kconfig b/arch/score/Kconfig
index 4b28577..f5d3b32 100644
--- a/arch/score/Kconfig
+++ b/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

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

* [tip:timers/core] sh: Use generic time config
  2012-05-18 16:45 ` [patch 19/24] sh: " Anna-Maria Gleixner
@ 2012-05-21  9:22   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:22 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, lethal, tglx, anna-maria

Commit-ID:  8cf200d8d01e71e8708a883a9cd0439cda6c2432
Gitweb:     http://git.kernel.org/tip/8cf200d8d01e71e8708a883a9cd0439cda6c2432
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:53 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

sh: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Link: http://lkml.kernel.org/r/20120518163106.857566635@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/sh/Kconfig |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index ff9e033..cffd8b0 100644
--- a/arch/sh/Kconfig
+++ b/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

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

* [tip:timers/core] sparc: Use: generic time config
  2012-05-18 16:45 ` [patch 20/24] sparc: Use: " Anna-Maria Gleixner
  2012-05-18 17:50   ` Sam Ravnborg
@ 2012-05-21  9:23   ` tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:23 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, sam, tglx, anna-maria, davem

Commit-ID:  ded1cc5cfc3b4bc007fe3bb8fbfd9e66d8d667d7
Gitweb:     http://git.kernel.org/tip/ded1cc5cfc3b4bc007fe3bb8fbfd9e66d8d667d7
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:54 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

sparc: Use: generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: David S. Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20120518163106.987564297@glx-um.de
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/sparc/Kconfig |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6c0683d..33399d3 100644
--- a/arch/sparc/Kconfig
+++ b/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

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

* [tip:timers/core] tile: Use generic time config
  2012-05-18 16:45 ` [patch 21/24] tile: " Anna-Maria Gleixner
@ 2012-05-21  9:24   ` tip-bot for Anna-Maria Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:24 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, cmetcalf, tglx, anna-maria

Commit-ID:  4ec008d630d9d96579b5911c140bb8de2aa68f0e
Gitweb:     http://git.kernel.org/tip/4ec008d630d9d96579b5911c140bb8de2aa68f0e
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:54 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

tile: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Link: http://lkml.kernel.org/r/20120518163107.122560037@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/tile/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index 96033e2..b56772c 100644
--- a/arch/tile/Kconfig
+++ b/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

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

* [tip:timers/core] um: Use generic time config
  2012-05-18 16:45 ` [patch 22/24] um: Use " Anna-Maria Gleixner
  2012-05-18 17:19   ` Richard Weinberger
@ 2012-05-21  9:25   ` tip-bot for Anna-Maria Gleixner
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:25 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, richard, tglx, anna-maria

Commit-ID:  875c9d09b5a6400d6882b0e6e828862a73ce739d
Gitweb:     http://git.kernel.org/tip/875c9d09b5a6400d6882b0e6e828862a73ce739d
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:55 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

um: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Acked-by: Richard Weinberger <richard@nod.at>
Link: http://lkml.kernel.org/r/20120518163107.251597655@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/um/Kconfig.common |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index 20a49ba..806185d 100644
--- a/arch/um/Kconfig.common
+++ b/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

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

* [tip:timers/core] unicore32: Use generic time config
  2012-05-18 16:45 ` [patch 23/24] unicore32: " Anna-Maria Gleixner
@ 2012-05-21  9:26   ` tip-bot for Anna-Maria Gleixner
  2012-05-21  9:40   ` [patch 23/24] " guanxuetao
  1 sibling, 0 replies; 61+ messages in thread
From: tip-bot for Anna-Maria Gleixner @ 2012-05-21  9:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, gxt, tglx, anna-maria

Commit-ID:  22bc48f986d21d0a8d80a642c7c4e87c11f42a5d
Gitweb:     http://git.kernel.org/tip/22bc48f986d21d0a8d80a642c7c4e87c11f42a5d
Author:     Anna-Maria Gleixner <anna-maria@glx-um.de>
AuthorDate: Fri, 18 May 2012 16:45:55 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

unicore32: Use generic time config

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Link: http://lkml.kernel.org/r/20120518163107.383567224@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/unicore32/Kconfig |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index eeb8054..a25ca76 100644
--- a/arch/unicore32/Kconfig
+++ b/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
 

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

* [tip:timers/core] x86: Use generic time config
  2012-05-18 16:45 ` [patch 02/24] x86: " Anna-Maria Gleixner
@ 2012-05-21  9:27   ` tip-bot for Thomas Gleixner
  0 siblings, 0 replies; 61+ messages in thread
From: tip-bot for Thomas Gleixner @ 2012-05-21  9:27 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, anna-maria

Commit-ID:  bdebaf80a02b854381fe212e0dac13c8c8edac57
Gitweb:     http://git.kernel.org/tip/bdebaf80a02b854381fe212e0dac13c8c8edac57
Author:     Thomas Gleixner <tglx@linutronix.de>
AuthorDate: Fri, 18 May 2012 16:45:44 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 21 May 2012 11:01:44 +0200

x86: Use generic time config

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Link: http://lkml.kernel.org/r/20120518163104.630579708@glx-um.de
Cc: x86@kernel.org
---
 arch/x86/Kconfig |   31 +++++++------------------------
 1 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c9866b0..3b0a921 100644
--- a/arch/x86/Kconfig
+++ b/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

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

* Re: [patch 23/24] unicore32: Use generic time config
  2012-05-18 16:45 ` [patch 23/24] unicore32: " Anna-Maria Gleixner
  2012-05-21  9:26   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
@ 2012-05-21  9:40   ` guanxuetao
  1 sibling, 0 replies; 61+ messages in thread
From: guanxuetao @ 2012-05-21  9:40 UTC (permalink / raw)
  To: Anna-Maria Gleixner; +Cc: LKML, Thomas Gleixner, Guan Xuetao

> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
> ---

Good idea.

Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>

Btw, I suggest sending patch 00 & 01 to related persons or maintainers.

Thanks.

Guan Xuetao

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

end of thread, other threads:[~2012-05-21  9:27 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-18 16:45 [patch 00/24] timers: Cleanup Kconfig Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 01/24] timers: Provide generic Kconfig switches Anna-Maria Gleixner
2012-05-18 23:14   ` Paul Mundt
2012-05-20 15:59     ` Anna-Maria Gleixner
2012-05-20 16:03       ` Thomas Gleixner
2012-05-21  9:07       ` [tip:timers/core] " tip-bot for Thomas Gleixner
2012-05-18 16:45 ` [patch 03/24] arm: Use generic time config Anna-Maria Gleixner
2012-05-21  9:09   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 02/24] x86: " Anna-Maria Gleixner
2012-05-21  9:27   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2012-05-18 16:45 ` [patch 04/24] avr32: " Anna-Maria Gleixner
2012-05-21  9:10   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 05/24] blackfin: " Anna-Maria Gleixner
2012-05-21  9:11   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 07/24] cris: " Anna-Maria Gleixner
2012-05-21  9:12   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 06/24] c6x: " Anna-Maria Gleixner
2012-05-18 17:42   ` Mark Salter
2012-05-21  9:11   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 08/24] hexagon: " Anna-Maria Gleixner
2012-05-21  9:13   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 09/24] ia64: " Anna-Maria Gleixner
2012-05-21  9:14   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 10/24] m32r: " Anna-Maria Gleixner
2012-05-21  9:15   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 11/24] m68k: " Anna-Maria Gleixner
2012-05-21  9:16   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 12/24] microblaze: " Anna-Maria Gleixner
2012-05-21  9:16   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 14/24] mn10300: " Anna-Maria Gleixner
2012-05-21  9:18   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 13/24] mips: " Anna-Maria Gleixner
2012-05-21  9:17   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 16/24] powerpc: " Anna-Maria Gleixner
2012-05-21  9:19   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 15/24] openrisc: " Anna-Maria Gleixner
2012-05-18 19:56   ` Jonas Bonn
2012-05-21  9:20   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 17/24] s390: " Anna-Maria Gleixner
2012-05-21  9:21   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 18/24] score: " Anna-Maria Gleixner
2012-05-21  9:22   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 19/24] sh: " Anna-Maria Gleixner
2012-05-21  9:22   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 21/24] tile: " Anna-Maria Gleixner
2012-05-21  9:24   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 20/24] sparc: Use: " Anna-Maria Gleixner
2012-05-18 17:50   ` Sam Ravnborg
2012-05-18 17:53     ` David Miller
2012-05-18 18:52       ` Sam Ravnborg
2012-05-20 16:52     ` Sam Ravnborg
2012-05-21  9:23   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 22/24] um: Use " Anna-Maria Gleixner
2012-05-18 17:19   ` Richard Weinberger
2012-05-21  9:25   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-18 16:45 ` [patch 23/24] unicore32: " Anna-Maria Gleixner
2012-05-21  9:26   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner
2012-05-21  9:40   ` [patch 23/24] " guanxuetao
2012-05-18 16:45 ` [patch 24/24] alpha: " Anna-Maria Gleixner
2012-05-18 17:06   ` Matt Turner
2012-05-21  9:08   ` [tip:timers/core] " tip-bot for Anna-Maria Gleixner

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