<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/clocksource, branch v2.6.37</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.37</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.37'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-12-17T10:38:33Z</updated>
<entry>
<title>clocksource: sh_cmt: Remove nested spinlock fix</title>
<updated>2010-12-17T10:38:33Z</updated>
<author>
<name>Takashi YOSHII</name>
<email>takashi.yoshii.zj@renesas.com</email>
</author>
<published>2010-12-17T07:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=65ada547d68dc075aa06df92fe325bff07cbc606'/>
<id>urn:sha1:65ada547d68dc075aa06df92fe325bff07cbc606</id>
<content type='text'>
There are control flow that sh_cmt_set_next() does double
spin-lock. The callers sh_cmt_{start,stop}() already have
lock. But another callers sh_cmt_clock_event_{start,next}()
does not.

Now sh_cmt_set_next() does not lock by itself. All the
callers should hold spin-lock before calling it.

[damm@opensource.se: use __sh_cmt_set_next() to simplify code]
[damm@opensource.se: added stable, suitable for v2.6.35 + v2.6.36]
Cc: stable@kernel.org
Signed-off-by: Takashi YOSHII &lt;takashi.yoshii.zj@renesas.com&gt;
Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>ARM: shmobile: remove sh_timer_config clk member</title>
<updated>2010-10-31T14:40:39Z</updated>
<author>
<name>Magnus Damm</name>
<email>damm@opensource.se</email>
</author>
<published>2010-10-13T07:36:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03ff858c09c81a659b2a90a08826bc0abdbb784c'/>
<id>urn:sha1:03ff858c09c81a659b2a90a08826bc0abdbb784c</id>
<content type='text'>
Now when the SH-Mobile ARM platforms have been converted
to use device name it is possible to remove "clk" from
struct sh_timer_config.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2010-08-16T04:32:24Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2010-08-16T04:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301'/>
<id>urn:sha1:bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301</id>
<content type='text'>
Conflicts:
	arch/sh/include/asm/Kbuild
	drivers/Makefile

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_cmt: Rate calculation fix</title>
<updated>2010-08-04T07:01:29Z</updated>
<author>
<name>Magnus Damm</name>
<email>damm@opensource.se</email>
</author>
<published>2010-08-02T09:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=38409d726bc6413d39f082f60bc803f52d8b5849'/>
<id>urn:sha1:38409d726bc6413d39f082f60bc803f52d8b5849</id>
<content type='text'>
Fix the rate calculation in the CMT driver.
Without this fix the clocksource runs way
too fast and we get a divide-by-zero error.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_cmt: One-off clockevent fix V2</title>
<updated>2010-08-04T07:01:24Z</updated>
<author>
<name>Magnus Damm</name>
<email>damm@opensource.se</email>
</author>
<published>2010-08-04T04:31:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=43809473b9d5fa9f82bf64ddeb3c21fe1140ef0e'/>
<id>urn:sha1:43809473b9d5fa9f82bf64ddeb3c21fe1140ef0e</id>
<content type='text'>
Fix a one-off error in the CMT driver V2. The match register
should be programmed with the period minus one.

Many thanks to Eiraku-san for tracking down this issue.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>x86: Convert common clocksources to use clocksource_register_hz/khz</title>
<updated>2010-07-27T10:40:55Z</updated>
<author>
<name>John Stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2010-07-14T00:56:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f12a15be63d1de9a35971f35f06b73088fa25c3a'/>
<id>urn:sha1:f12a15be63d1de9a35971f35f06b73088fa25c3a</id>
<content type='text'>
This converts the most common of the x86 clocksources over to use
clocksource_register_hz/khz.

Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt;
LKML-Reference: &lt;1279068988-21864-11-git-send-email-johnstul@us.ibm.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>Andres has moved</title>
<updated>2010-07-20T23:25:41Z</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@queued.net</email>
</author>
<published>2010-07-20T20:24:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d45840d9f04be4d8c0288066f37bca3a448f7471'/>
<id>urn:sha1:d45840d9f04be4d8c0288066f37bca3a448f7471</id>
<content type='text'>
My Collabora address is no longer enabled - update the MODULE_AUTHOR
fields of drivers to my current email address.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&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>clocksource: sh_cmt: Fix up bogus shift value.</title>
<updated>2010-06-22T07:41:31Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2010-06-22T07:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5967d33ce8a030f01a716fc0b25fcb03744a5fda'/>
<id>urn:sha1:5967d33ce8a030f01a716fc0b25fcb03744a5fda</id>
<content type='text'>
The previous CMT fixup accidentally copied in the TMU shift value, reset
this back to its original value while preserving the TMU fix.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_cmt: compute mult and shift before registration</title>
<updated>2010-06-02T08:10:44Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2010-06-02T08:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f4d7c3565c1692c54d9152b52090fe73f0029e37'/>
<id>urn:sha1:f4d7c3565c1692c54d9152b52090fe73f0029e37</id>
<content type='text'>
Based on the sh_tmu change in 66f49121ffa41a19c59965b31b046d8368fec3c7
("clocksource: sh_tmu: compute mult and shift before registration").
The same issues impact the sh_cmt driver, so we take the same approach
here.

Cc: stable@kernel.org
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_tmu: compute mult and shift before registration</title>
<updated>2010-06-02T08:02:35Z</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2010-05-31T21:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=66f49121ffa41a19c59965b31b046d8368fec3c7'/>
<id>urn:sha1:66f49121ffa41a19c59965b31b046d8368fec3c7</id>
<content type='text'>
Since commit 98962465ed9e6ea99c38e0af63fe1dcb5a79dc25 ("nohz: Prevent
clocksource wrapping during idle"), the CPU of an R2D board never goes
to idle. This commit assumes that mult and shift are assigned before
the clocksource is registered. As a consequence the safe maximum sleep
time is negative and the CPU never goes into idle.

This patch fixes the problem by moving mult and shift initialization
from sh_tmu_clocksource_enable() to sh_tmu_register_clocksource().

Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
Cc: stable@kernel.org
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
