<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/sh/kernel/timers/timer-cmt.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-04-30T04:21:14Z</updated>
<entry>
<title>sh: remove old CMT driver</title>
<updated>2009-04-30T04:21:14Z</updated>
<author>
<name>Magnus Damm</name>
<email>damm@igel.co.jp</email>
</author>
<published>2009-04-30T04:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f425752fc66acf1d4e47970ea704ed7d31c14173'/>
<id>urn:sha1:f425752fc66acf1d4e47970ea704ed7d31c14173</id>
<content type='text'>
This patch removes the old CMT driver (CONFIG_SH_CMT/timer-cmt.c)

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

If multiple CMT channels are enabled using platform data, use the
earlytimer parameter on the kernel command line to select channel.
For instance, use "earlytimer=sh_cmt.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>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: fixup many sparse errors.</title>
<updated>2008-09-08T01:35:04Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2008-09-04T09:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fa43972fab24a3c050e880a7831f9378c6cebc0b'/>
<id>urn:sha1:fa43972fab24a3c050e880a7831f9378c6cebc0b</id>
<content type='text'>
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>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>sh: Add SH7263 CPU support.</title>
<updated>2008-01-28T04:18:57Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2007-11-26T10:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a8f67f4b4d4b74cd14d3540ade8657ebee543340'/>
<id>urn:sha1:a8f67f4b4d4b74cd14d3540ade8657ebee543340</id>
<content type='text'>
This adds support for the SH7263 (SH-2A) CPU.

This particular CPU is a superset of SH7203, adding some additional
peripheral blocks and hooking up additional (reserved on SH7203)
vectors in the INTC block.

No visibly nasty surprises, yet..

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Add SH7203 CPU support.</title>
<updated>2008-01-28T04:18:57Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2007-11-26T09:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6d01f51086cf6c475470cdae67d2f45e5fb57833'/>
<id>urn:sha1:6d01f51086cf6c475470cdae67d2f45e5fb57833</id>
<content type='text'>
This adds support for the SH7203 (SH-2A) CPU.

Signed-off-by: Kieran Bingham &lt;kbingham@mpc-data.co.uk&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.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>
<entry>
<title>sh: Turn off IRQs around get_timer_offset() calls.</title>
<updated>2006-12-06T01:45:39Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2006-12-01T04:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e74b56800e78a10bc09b56a87831876a1d9d09ae'/>
<id>urn:sha1:e74b56800e78a10bc09b56a87831876a1d9d09ae</id>
<content type='text'>
Since all of the sys_timer sources currently do this on their own
within the -&gt;get_offset() path, it's more sensible to just have
the caller take care of it when grabbing xtime_lock. Incidentally,
this is more in line with what others (ie, ARM) are doing already.

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