From: John Stultz <johnstul@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: John Stultz <johnstul@us.ibm.com>,
Chris McDermott <lcm@us.ibm.com>,
Chris Metcalf <cmetcalf@tilera.com>,
Chris Zankel <chris@zankel.net>,
"David S. Miller" <davem@davemloft.net>,
Dimitri Sivanich <sivanich@sgi.com>,
Glauber Costa <glommer@redhat.com>,
Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>,
jacob.jun.pan@intel.com,
Jeremy Fitzhardinge <jeremy@xensource.com>,
Jesper Nilsson <jesper.nilsson@axis.com>,
Kyle McMartin <kyle@mcmartin.ca>, Michal Simek <monstr@monstr.eu>,
Mikael Starvik <starvik@axis.com>,
Mike Frysinger <vapier@gentoo.org>,
Rusty Russell <rusty@rustcorp.com.au>,
Thomas Gleixner <tglx@linutronix.de>,
Tony Luck <tony.luck@intel.com>
Subject: [PATCH 00/10] clocksource_register_khz/hz cleanups (for 2.6.38)
Date: Mon, 1 Nov 2010 13:12:20 -0700 [thread overview]
Message-ID: <1288642350-1599-1-git-send-email-johnstul@us.ibm.com> (raw)
clocksource_register_hz/khz() properly calculates a
clocksource mult and shift value for a clocksource,
removing much of the copy/pasted or arch-specific helper
functions that do so.
The common x86 clocksources have been converted to use
clocksource_register_hz/clocksource_register_khz and I've
seen no related bug reports, so I think the infrastructure
is fairly sound. So I wanted to start consolidating the
other arches to also use the clocksource_register_hz/khz
method.
I was a bit too late sending some of these patches out for
the 2.6.37 cycle, so I wanted to send these out early for
2.6.38.
While all of these patches are untested, they are pretty
straight forward, so please consider including these into
your 2.6.38 queue for testing.
thanks
-john
CC: Chris McDermott <lcm@us.ibm.com>
CC: Chris Metcalf <cmetcalf@tilera.com>
CC: Chris Zankel <chris@zankel.net>
CC: "David S. Miller" <davem@davemloft.net>
CC: Dimitri Sivanich <sivanich@sgi.com>
CC: Glauber Costa <glommer@redhat.com>
CC: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
CC: jacob.jun.pan@intel.com
CC: Jeremy Fitzhardinge <jeremy@xensource.com>
CC: Jesper Nilsson <jesper.nilsson@axis.com>
CC: Kyle McMartin <kyle@mcmartin.ca>
CC: Michal Simek <monstr@monstr.eu>
CC: Mikael Starvik <starvik@axis.com>
CC: Mike Frysinger <vapier@gentoo.org>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Tony Luck <tony.luck@intel.com>
John Stultz (10):
x86: Convert untested clocksources to clocksource_register_hz/khz
ia64: convert to clocksource_register_hz/khz
cris: convert to clocksource_register_khz
tile: convert to use clocksource_register_hz
parisc: convert to clocksource_register_hz/khz
microblaze: convert to clocksource_register_hz/khz
avr32: Convert to clocksource_register_hz
blackfin: convert to clocksource_register_hz
xtensa: convert to clocksource_register_hz/khz
sparc: convert to clocksource_register_hz/khz
arch/avr32/kernel/time.c | 5 +----
arch/blackfin/kernel/time-ts.c | 35 ++---------------------------------
arch/cris/arch-v32/kernel/time.c | 4 +---
arch/ia64/kernel/cyclone.c | 6 +-----
arch/ia64/kernel/time.c | 9 ++-------
arch/ia64/sn/kernel/sn2/timer.c | 6 +-----
arch/microblaze/kernel/timer.c | 6 +-----
arch/parisc/kernel/time.c | 6 +-----
arch/sparc/kernel/time_64.c | 4 +---
arch/tile/kernel/time.c | 5 +----
arch/x86/kernel/apb_timer.c | 10 +---------
arch/x86/kernel/i8253.c | 6 +-----
arch/x86/kernel/kvmclock.c | 6 +-----
arch/x86/lguest/boot.c | 4 +---
arch/x86/platform/uv/uv_time.c | 6 +-----
arch/x86/xen/time.c | 6 +-----
arch/xtensa/kernel/time.c | 13 +------------
drivers/char/hpet.c | 6 +-----
drivers/clocksource/cyclone.c | 10 ++--------
19 files changed, 22 insertions(+), 131 deletions(-)
--
1.7.3.2.146.gca209
next reply other threads:[~2010-11-01 20:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 20:12 John Stultz [this message]
2010-11-01 20:12 ` [PATCH 01/10] x86: Convert untested clocksources to clocksource_register_hz/khz John Stultz
2010-11-01 20:12 ` [PATCH 02/10] ia64: convert " John Stultz
2010-11-01 20:12 ` [PATCH 03/10] cris: convert to clocksource_register_khz John Stultz
2010-11-01 20:12 ` [PATCH 04/10] tile: convert to use clocksource_register_hz John Stultz
2010-11-11 21:21 ` Chris Metcalf
2010-11-11 22:06 ` john stultz
2010-11-11 22:22 ` Peter Zijlstra
2010-11-11 23:21 ` john stultz
2010-11-11 22:17 ` john stultz
2010-11-01 20:12 ` [PATCH 05/10] parisc: convert to clocksource_register_hz/khz John Stultz
2010-11-01 20:12 ` [PATCH 06/10] microblaze: " John Stultz
2010-11-10 13:10 ` Michal Simek
2010-11-01 20:12 ` [PATCH 07/10] avr32: Convert to clocksource_register_hz John Stultz
2010-11-01 20:12 ` [PATCH 08/10] blackfin: convert " John Stultz
2010-11-01 20:12 ` [PATCH 09/10] xtensa: convert to clocksource_register_hz/khz John Stultz
2010-11-01 20:12 ` [PATCH 10/10] sparc: " John Stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1288642350-1599-1-git-send-email-johnstul@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=chris@zankel.net \
--cc=cmetcalf@tilera.com \
--cc=davem@davemloft.net \
--cc=glommer@redhat.com \
--cc=hans-christian.egtvedt@atmel.com \
--cc=jacob.jun.pan@intel.com \
--cc=jeremy@xensource.com \
--cc=jesper.nilsson@axis.com \
--cc=kyle@mcmartin.ca \
--cc=lcm@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=monstr@monstr.eu \
--cc=rusty@rustcorp.com.au \
--cc=sivanich@sgi.com \
--cc=starvik@axis.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®