From: John Stultz <johnstul@us.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: John Stultz <johnstul@us.ibm.com>,
jacob.jun.pan@intel.com, Glauber Costa <glommer@redhat.com>,
Dimitri Sivanich <sivanich@sgi.com>,
Alok N Kataria <akataria@vmware.com>,
Rusty Russell <rusty@rustcorp.com.au>,
Jeremy Fitzhardinge <jeremy@xensource.com>,
Chris McDermott <lcm@us.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>,
Magnus Damm <magnus.damm@gmail.com>,
Paul Mundt <lethal@linux-sh.org>, Tony Luck <tony.luck@intel.com>,
"David S. Miller" <davem@davemloft.net>,
Haavard Skinnemoen <hskinnemoen@atmel.com>,
Ralf Baechle <ralf@linux-mips.org>,
Mike Frysinger <vapier@gentoo.org>
Subject: [PATCH 0/7] clocksource_register_khz/hz cleanups(for 2.6.37?)
Date: Wed, 20 Oct 2010 16:44:06 -0700 [thread overview]
Message-ID: <1287618253-13258-1-git-send-email-johnstul@us.ibm.com> (raw)
So the common x86 clocksources have switched over to using
clocksource_register_khz/hz() and so far I've seen no bug
reports, so I wanted to post the conversion for a few more
architectures so they can be queued up for 2.6.37 (or later
if the maintainer feels more testing would be good).
These changes greatly simplify clocksource registration,
removing much of the copy/paste voodoo surrounding how
to calculate good mult and shift values for clocksources.
While the patch set is numbered here, the patches are not
dependent on each other. So each maintainer can make an
independent call on merging for 2.6.37.
The conversion is fairly straight forward. However, I have
not been able to test these, so I'd appreciate any testing
or feedback. Any assistance from the maintainers in getting
these into their trees would also be greatly appreciated.
thanks
-john
CC: jacob.jun.pan@intel.com
CC: Glauber Costa <glommer@redhat.com>
CC: Dimitri Sivanich <sivanich@sgi.com>
CC: Alok N Kataria <akataria@vmware.com>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Jeremy Fitzhardinge <jeremy@xensource.com>
CC: Chris McDermott <lcm@us.ibm.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Magnus Damm <magnus.damm@gmail.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: Tony Luck <tony.luck@intel.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Haavard Skinnemoen <hskinnemoen@atmel.com>
CC: Ralf Baechle <ralf@linux-mips.org>
CC: Mike Frysinger <vapier@gentoo.org>
John Stultz (7):
x86: Convert remaining clocksources to clocksource_register_hz/khz
sh: convert to clocksource_register_hz
ia64: convert to clocksource_register_hz/khz
sparc: convert to clocksource_register_hz/khz
avr32: Convert to clocksource_register_hz
mips: convert to clocksource_register_hz/khz
blackfin: convert to clocksource_register_hz
arch/avr32/kernel/time.c | 5 +--
arch/blackfin/kernel/time-ts.c | 35 +---------------------
arch/ia64/kernel/cyclone.c | 6 +---
arch/ia64/kernel/time.c | 9 +----
arch/ia64/sn/kernel/sn2/timer.c | 6 +---
arch/mips/alchemy/common/time.c | 3 +-
arch/mips/cavium-octeon/csrc-octeon.c | 3 +-
arch/mips/include/asm/time.h | 6 ----
arch/mips/jz4740/time.c | 3 +-
arch/mips/kernel/cevt-txx9.c | 3 +-
arch/mips/kernel/csrc-bcm1480.c | 3 +-
arch/mips/kernel/csrc-ioasic.c | 4 +--
arch/mips/kernel/csrc-powertv.c | 35 ++---------------------
arch/mips/kernel/csrc-r4k.c | 4 +--
arch/mips/kernel/csrc-sb1250.c | 3 +-
arch/mips/kernel/i8253.c | 5 +--
arch/mips/loongson/common/cs5536/cs5536_mfgpt.c | 5 +--
arch/mips/sgi-ip27/ip27-timer.c | 3 +-
arch/sparc/kernel/time_64.c | 4 +--
arch/x86/kernel/apb_timer.c | 10 +------
arch/x86/kernel/i8253.c | 6 +---
arch/x86/kernel/kvmclock.c | 6 +---
arch/x86/kernel/uv_time.c | 6 +---
arch/x86/kernel/vmiclock_32.c | 9 +-----
arch/x86/lguest/boot.c | 4 +--
arch/x86/xen/time.c | 6 +---
drivers/char/hpet.c | 6 +---
drivers/clocksource/cyclone.c | 10 +-----
drivers/clocksource/sh_cmt.c | 14 ++++----
drivers/clocksource/sh_tmu.c | 12 ++++----
30 files changed, 45 insertions(+), 189 deletions(-)
next reply other threads:[~2010-10-20 23:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 23:44 John Stultz [this message]
2010-10-20 23:44 ` [PATCH 1/7] x86: Convert remaining clocksources to clocksource_register_hz/khz John Stultz
2010-10-20 23:44 ` [PATCH 2/7] sh: convert to clocksource_register_hz John Stultz
2010-10-20 23:44 ` [PATCH 3/7] ia64: convert to clocksource_register_hz/khz John Stultz
2010-10-20 23:44 ` [PATCH 4/7] sparc: " John Stultz
2010-10-20 23:44 ` [PATCH 5/7] avr32: Convert to clocksource_register_hz John Stultz
2010-10-20 23:44 ` [PATCH 6/7] mips: convert to clocksource_register_hz/khz John Stultz
2010-10-20 23:44 ` [PATCH 7/7] blackfin: convert to clocksource_register_hz John Stultz
2010-10-21 8:33 ` [PATCH 4/7] sparc: convert to clocksource_register_hz/khz David Miller
2010-10-21 19:16 ` [PATCH 1/7] x86: Convert remaining clocksources " Alok Kataria
2010-10-21 19:39 ` 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=1287618253-13258-1-git-send-email-johnstul@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=akataria@vmware.com \
--cc=davem@davemloft.net \
--cc=glommer@redhat.com \
--cc=hskinnemoen@atmel.com \
--cc=jacob.jun.pan@intel.com \
--cc=jeremy@xensource.com \
--cc=lcm@us.ibm.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=ralf@linux-mips.org \
--cc=rusty@rustcorp.com.au \
--cc=sivanich@sgi.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
Powered by JetHome