<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/cris/kernel/time.c, branch v3.0.43</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/cris/kernel/time.c?h=v3.0.43</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/cris/kernel/time.c?h=v3.0.43'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-01-13T16:03:07Z</updated>
<entry>
<title>set_rtc_mmss: show warning message only once</title>
<updated>2011-01-13T16:03:07Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2011-01-13T00:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e5c12409c54c30f1d1b16bba5d4d24e35aa283c'/>
<id>urn:sha1:3e5c12409c54c30f1d1b16bba5d4d24e35aa283c</id>
<content type='text'>
Occasionally the system gets into a state where the CMOS clock has gotten
slightly ahead of current time and the periodic update of RTC fails.  The
message is a nuisance and repeats spamming the log.

  See: http://www.ntp.org/ntpfaq/NTP-s-trbl-spec.htm#Q-LINUX-SET-RTC-MMSS

Rather than just removing the message, make it show only once and reduce
severity since it indicates a normal and non urgent condition.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Matt Turner &lt;mattst88@gmail.com&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: David Howells &lt;dhowells@redhat.com&gt;
Cc: Paul Mundt &lt;lethal@linux-sh.org&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>CRIS: GENERIC_TIME fixes</title>
<updated>2010-08-04T10:58:55Z</updated>
<author>
<name>Jesper Nilsson</name>
<email>jesper.nilsson@axis.com</email>
</author>
<published>2010-07-30T15:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=60dbd6633178a8625ed71329da0167c6d50c559c'/>
<id>urn:sha1:60dbd6633178a8625ed71329da0167c6d50c559c</id>
<content type='text'>
GENERIC_TIME was not functional for CRIS, giving random backward
time jumps.

For CRISv32 implement a new clocksource using the free running counter
and ditch the arch_gettimeoffset.

The random time jumps still existed, but turned out to be the write_seqlock
which was missing around our do_timer() call.

So switch over to GENERIC_TIME using the clocksource for CRISv32.

CRISv10 doesn't have the free running counter needed for the
clocksource trick, but we can still use GENERIC_TIME with
arch_gettimeoffset.

Unfortunately, there were problems in using the prescaler register
to timer0 for the gettimeoffset calculation, so it is now ignored,
making our resolution worse by the tune of 40usec (0.4%) worst case.

At the same time, clean up some formatting and use NSEC_PER_SEC
instead of 1000000000.

Signed-off-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
</content>
</entry>
<entry>
<title>cris: Convert cris to use read/update_persistent_clock</title>
<updated>2010-03-13T00:14:13Z</updated>
<author>
<name>John Stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2010-03-04T03:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8eff8a5c1d3a1de7a2d173e0effc6cc9bcbb5177'/>
<id>urn:sha1:8eff8a5c1d3a1de7a2d173e0effc6cc9bcbb5177</id>
<content type='text'>
This patch converts the cris architecture to use the generic
read_persistent_clock and update_persistent_clock interfaces, reducing
the amount of arch specific code we have to maintain, and allowing for
further cleanups in the future.

I have not built or tested this patch, so help from arch maintainers
would be appreciated.

Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt;
Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Cc: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
LKML-Reference: &lt;1267675049-12337-14-git-send-email-johnstul@us.ibm.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>cris: convert to use arch_gettimeoffset()</title>
<updated>2010-03-06T19:26:28Z</updated>
<author>
<name>john stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2010-03-05T21:42:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ba875ba6b7cd28c5f15680ed694276510aa69970'/>
<id>urn:sha1:ba875ba6b7cd28c5f15680ed694276510aa69970</id>
<content type='text'>
Convert cris to use GENERIC_TIME via the arch_getoffset() infrastructure,
reducing the amount of arch specific code we need to maintain.

Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt;
Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Cc: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>cris: use bcd2bin/bin2bcd</title>
<updated>2008-10-20T15:52:41Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-10-19T03:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4110a0d6206bd175419cc5503f80cc296d184cbf'/>
<id>urn:sha1:4110a0d6206bd175419cc5503f80cc296d184cbf</id>
<content type='text'>
Change cris to use the new bcd2bin/bin2bcd functions instead of the
obsolete BCD_TO_BIN/BIN_TO_BCD macros.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Chris Zankel &lt;zankel@tensilica.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>CRIS: Drop regs parameter from call to profile_tick in kernel/time.c</title>
<updated>2008-02-08T10:06:40Z</updated>
<author>
<name>Jesper Nilsson</name>
<email>jesper.nilsson@axis.com</email>
</author>
<published>2008-01-31T16:56:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c261038108b814a1ea1e85daeaa950cbd35a7db7'/>
<id>urn:sha1:c261038108b814a1ea1e85daeaa950cbd35a7db7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CRIS: Add sched_clock to kernel/time.c</title>
<updated>2008-02-08T10:06:37Z</updated>
<author>
<name>Jesper Nilsson</name>
<email>jesper.nilsson@axis.com</email>
</author>
<published>2008-01-28T15:40:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=daa00b9caf1b6b022ff8aada7502b5ccc34becf4'/>
<id>urn:sha1:daa00b9caf1b6b022ff8aada7502b5ccc34becf4</id>
<content type='text'>
Also, clean up some whitespace errors.
</content>
</entry>
<entry>
<title>cris build fixes: fixes in arch/cris/kernel/time.c</title>
<updated>2007-11-15T02:45:45Z</updated>
<author>
<name>Jesper Nilsson</name>
<email>jesper.nilsson@axis.com</email>
</author>
<published>2007-11-15T01:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0188e6032119cbeda8c63dbd40f733ae976eb365'/>
<id>urn:sha1:0188e6032119cbeda8c63dbd40f733ae976eb365</id>
<content type='text'>
- Remove debug print.
- Change #if to #ifdef to avoid compile time warning if CONFIG_PROFILING
  isn't set.
- Number of parameters to profile_tick has changed, drop the regs parameter.

Signed-off-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Acked-by: Mikael Starvik &lt;starvik@axis.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Consolidate default sched_clock()</title>
<updated>2007-02-11T18:51:28Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@openvz.org</email>
</author>
<published>2007-02-10T09:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b035b6de24932ffd4a2b1c6619a2f5711da6920f'/>
<id>urn:sha1:b035b6de24932ffd4a2b1c6619a2f5711da6920f</id>
<content type='text'>
Use attribute(weak).

Signed-off-by: Alexey Dobriyan &lt;adobriyan@openvz.org&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] CRIS: local_irq_disable() is redundant after local_irq_save()</title>
<updated>2007-02-11T18:51:20Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2007-02-10T09:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c101b7b13707f84791441fd04f11cf710d0d2d9'/>
<id>urn:sha1:7c101b7b13707f84791441fd04f11cf710d0d2d9</id>
<content type='text'>
arch/cris/arch-v10/kernel/time.c::get_ns_in_jiffie() contains
local_irq_disable() call after local_irq_save().  This looks redundant.

arch/cris/kernel/time.c::do_gettimeofday() contains local_irq_disable() call
after local_irq_save().  This looks redundant.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
