<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/sh/kernel/timers/timer-mtu2.c, branch master</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=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-05-03T08:40:13Z</updated>
<entry>
<title>sh: remove old MTU2 driver</title>
<updated>2009-05-03T08:40:13Z</updated>
<author>
<name>Magnus Damm</name>
<email>damm@igel.co.jp</email>
</author>
<published>2009-04-30T07:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3280c8865e1b738604bacdea54738acef31e8c12'/>
<id>urn:sha1:3280c8865e1b738604bacdea54738acef31e8c12</id>
<content type='text'>
This patch removes the old MTU2 driver (CONFIG_SH_MTU2/timer-mtu2.c)

As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_MTU2
and configure timer channel using platform data.

If multiple MTU channels are enabled using platform data, use the
earlytimer parameter on the kernel command line to select channel.
For instance, use "earlytimer=sh_mtu2.0" to select the first channel.

To verify which timer is being used, look at printouts or the timer
irq count in /proc/interrupts.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>time: sh: convert to use arch_getoffset() infrastructure</title>
<updated>2009-05-03T08:32:55Z</updated>
<author>
<name>john stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2009-05-01T20:10:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7563431107f6debf57c1dbecfb9498cf31a1c036'/>
<id>urn:sha1:7563431107f6debf57c1dbecfb9498cf31a1c036</id>
<content type='text'>
Convert sh to use GENERIC_TIME via the arch_getoffset() infrastructure.

Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>cpumask: remove references to struct irqaction's mask field.</title>
<updated>2009-03-30T11:35:14Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2009-03-31T04:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1a8a51004a18b627ea81444201f7867875212f46'/>
<id>urn:sha1:1a8a51004a18b627ea81444201f7867875212f46</id>
<content type='text'>
Impact: cleanup

It's unused, since about 1995.  So remove all initialization of it in
preparation for actually removing the field.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>sh: Fix up MTU2 support for SH7203.</title>
<updated>2009-01-29T09:10:13Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2009-01-29T09:10:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d63f3a5857906851b9c1a39e3871a97f4acc1005'/>
<id>urn:sha1:d63f3a5857906851b9c1a39e3871a97f4acc1005</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Add support for SH7201 CPU subtype.</title>
<updated>2008-12-22T09:43:50Z</updated>
<author>
<name>Peter Griffin</name>
<email>pgriffin@mpc-data.co.uk</email>
</author>
<published>2008-11-28T13:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2825999e8a9bd7ab7e25a7e7475c7cdd10371a13'/>
<id>urn:sha1:2825999e8a9bd7ab7e25a7e7475c7cdd10371a13</id>
<content type='text'>
This patch adds support for the SH-2A FPU based SH7201 processor subtype.

Signed-off-by: Peter Griffin &lt;pgriffin@mpc-data.co.uk&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-03-06T02:18:22Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-03-04T23:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=866e6b9e5019e210d96ced31fbae531ed756e486'/>
<id>urn:sha1:866e6b9e5019e210d96ced31fbae531ed756e486</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Shut up some trivial build warnings.</title>
<updated>2008-02-14T05:22:11Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2008-02-12T08:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=43081e18336d67937092dd05ffe320d2fbffd012'/>
<id>urn:sha1:43081e18336d67937092dd05ffe320d2fbffd012</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>xtime_lock vs update_process_times</title>
<updated>2008-02-13T21:29:25Z</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2008-02-13T20:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aa02cd2d9bd1e24a230bd66a0a741b984d03915a'/>
<id>urn:sha1:aa02cd2d9bd1e24a230bd66a0a741b984d03915a</id>
<content type='text'>
Commit d3d74453c34f8fd87674a8cf5b8a327c68f22e99 ("hrtimer: fixup the
HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback") broke several archs, and since
only Russell bothered to merge the fix, and Greg to ACK his arch, I'm
sending this for merger.

I have confirmation that the Alpha bit results in a booting kernel.
That leaves: blackfin, frv, sh and sparc untested.

The deadlock in question was found by Russell:

  IRQ handle
    -&gt; timer_tick() - xtime seqlock held for write
      -&gt; update_process_times()
        -&gt; run_local_timers()
          -&gt; hrtimer_run_queues()
            -&gt; hrtimer_get_softirq_time() - tries to get a read lock

Now, Thomas assures me the fix is trivial, only do_timer() needs to be
done under the xtime_lock, and update_process_times() can savely be
removed from under it.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Acked-by: Greg Ungerer &lt;gerg@uclinux.org&gt;
CC: Richard Henderson &lt;rth@twiddle.net&gt;
CC: Bryan Wu &lt;bryan.wu@analog.com&gt;
CC: David Howells &lt;dhowells@redhat.com&gt;
CC: Paul Mundt &lt;lethal@linux-sh.org&gt;
CC: William Irwin &lt;wli@holomorphy.com&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Acked-by: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Add IRQF_IRQPOLL flag on sh</title>
<updated>2007-05-08T18:15:22Z</updated>
<author>
<name>Bernhard Walle</name>
<email>bwalle@suse.de</email>
</author>
<published>2007-05-08T07:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e9485baed07561e516690671343622e5fcd73b48'/>
<id>urn:sha1:e9485baed07561e516690671343622e5fcd73b48</id>
<content type='text'>
Add IRQF_IRQPOLL on each timer interrupt on SH2.

Signed-off-by: Bernhard Walle &lt;bwalle@suse.de&gt;
Cc: Paul Mundt &lt;lethal@linux-sh.org&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&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>sh: Clock framework tidying.</title>
<updated>2006-12-06T01:45:40Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2006-12-01T04:15:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1d118562c2067a42d0e8f70671a4ce27d7c6ffee'/>
<id>urn:sha1:1d118562c2067a42d0e8f70671a4ce27d7c6ffee</id>
<content type='text'>
This syncs up the SH clock framework with the linux/clk.h API,
for which there were only some minor changes required, namely
the clk_get() dev_id and subsequent callsites.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
