<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/alpha/kernel/sys_marvel.c, branch v3.2.41</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/alpha/kernel/sys_marvel.c?h=v3.2.41</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/alpha/kernel/sys_marvel.c?h=v3.2.41'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-07-22T15:26:06Z</updated>
<entry>
<title>PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.</title>
<updated>2011-07-22T15:26:06Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2011-06-10T14:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5341942d784134f2997b3ff82cd63cf71d1f932'/>
<id>urn:sha1:d5341942d784134f2997b3ff82cd63cf71d1f932</id>
<content type='text'>
Aside of the usual motivation for constification,  this function has a
history of being abused a hook for interrupt and other fixups so I turned
this function const ages ago in the MIPS code but it should be done
treewide.

Due to function pointer passing in varous places a few other functions
had to be constified as well.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
To: Anton Vorontsov &lt;avorontsov@mvista.com&gt;
To: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
To: Colin Cross &lt;ccross@android.com&gt;
Acked-by: "David S. Miller" &lt;davem@davemloft.net&gt;
To: Eric Miao &lt;eric.y.miao@gmail.com&gt;
To: Erik Gilling &lt;konkers@android.com&gt;
Acked-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt;
To: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
To: Imre Kaloz &lt;kaloz@openwrt.org&gt;
To: Ingo Molnar &lt;mingo@redhat.com&gt;
To: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
To: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
To: Krzysztof Halasa &lt;khc@pm.waw.pl&gt;
To: Lennert Buytenhek &lt;kernel@wantstofly.org&gt;
To: Matt Turner &lt;mattst88@gmail.com&gt;
To: Nicolas Pitre &lt;nico@fluxnic.net&gt;
To: Olof Johansson &lt;olof@lixom.net&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
To: Richard Henderson &lt;rth@twiddle.net&gt;
To: Russell King &lt;linux@arm.linux.org.uk&gt;
To: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: linux-alpha@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-pci@vger.kernel.org
Cc: linux-sh@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Cc: sparclinux@vger.kernel.org
Cc: x86@kernel.org
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>alpha: Convert to new irq function names</title>
<updated>2011-03-29T12:47:58Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-25T21:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a9eb076b21425929ce543978db03265d9db210de'/>
<id>urn:sha1:a9eb076b21425929ce543978db03265d9db210de</id>
<content type='text'>
Scripted with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>alpha: marvel: Convert irq_chip functions</title>
<updated>2011-03-02T19:57:57Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-02-06T14:32:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=08876fe8519c4f7625efba8aa3d51b1d24cd8a13'/>
<id>urn:sha1:08876fe8519c4f7625efba8aa3d51b1d24cd8a13</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
</content>
</entry>
<entry>
<title>alpha: kill off alpha_do_IRQ</title>
<updated>2011-01-17T04:42:13Z</updated>
<author>
<name>Kyle McMartin</name>
<email>kyle@redhat.com</email>
</author>
<published>2010-10-15T02:31:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7d209c8110ecd49db46da786437485e8ef67f414'/>
<id>urn:sha1:7d209c8110ecd49db46da786437485e8ef67f414</id>
<content type='text'>
Good riddance... Nuke a pile of redundant handlers that the
generic code takes care of as well.

Tested-by: Michael Cree &lt;mcree@orcon.net.nz&gt;
Signed-off-by: Kyle McMartin &lt;kyle@redhat.com&gt;
Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
</content>
</entry>
<entry>
<title>alpha: irq clean up</title>
<updated>2011-01-17T04:42:12Z</updated>
<author>
<name>Kyle McMartin</name>
<email>kyle@redhat.com</email>
</author>
<published>2010-10-15T02:31:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a891b393dd7f6ed84ecee98c0eac4a808ff2cbbc'/>
<id>urn:sha1:a891b393dd7f6ed84ecee98c0eac4a808ff2cbbc</id>
<content type='text'>
Stop touching irq_desc[irq] directly, instead use accessor
functions provided. Use irq_has_action instead of directly
testing the irq_desc.

Tested-by: Michael Cree &lt;mcree@orcon.net.nz&gt;
Signed-off-by: Kyle McMartin &lt;kyle@redhat.com&gt;
Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
</content>
</entry>
<entry>
<title>alpha: use set_irq_chip and push down __do_IRQ to the machine types</title>
<updated>2011-01-17T04:42:11Z</updated>
<author>
<name>Kyle McMartin</name>
<email>kyle@redhat.com</email>
</author>
<published>2010-10-15T02:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5ccde0a64c3dbe954a8a13a6ba9fb3b6d7c6225'/>
<id>urn:sha1:d5ccde0a64c3dbe954a8a13a6ba9fb3b6d7c6225</id>
<content type='text'>
Also kill superfluous IRQ_DISABLED initialization, since that's the
default state of the irq_desc[i].status field.

Tested-by: Michael Cree &lt;mcree@orcon.net.nz&gt;
Signed-off-by: Kyle McMartin &lt;kyle@redhat.com&gt;
Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
</content>
</entry>
<entry>
<title>alpha: Fixup last users of irq_chip-&gt;typename</title>
<updated>2009-12-01T03:51:31Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2009-12-01T03:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ab1221c20255f35d85664a046549bc6135122c2'/>
<id>urn:sha1:8ab1221c20255f35d85664a046549bc6135122c2</id>
<content type='text'>
The typename member of struct irq_chip was kept for migration purposes
and is obsolete since more than 2 years. Fix up the leftovers.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: linux-alpha@vger.kernel.org
Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
</content>
</entry>
<entry>
<title>alpha: remove obsolete hw_interrupt_type</title>
<updated>2009-06-17T02:47:46Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2009-06-16T22:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=44377f622ee4f23ea0afc9b83dba5d3ec2d560cd'/>
<id>urn:sha1:44377f622ee4f23ea0afc9b83dba5d3ec2d560cd</id>
<content type='text'>
The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
been kept around for migration reasons.  After more than two years it's
time to remove them finally.

This patch cleans up one of the remaining users.  When all such patches
hit mainline we can remove the defines and typedefs finally.

Impact: cleanup

Convert the last remaining users to struct irq_chip and remove the
define.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Richard Henderson &lt;rth@twiddle.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>alpha: fix RTC on marvel</title>
<updated>2009-01-16T00:39:40Z</updated>
<author>
<name>Ivan Kokshaysky</name>
<email>ink@jurassic.park.msu.ru</email>
</author>
<published>2009-01-15T21:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5f7dc5d75076fd1c1fc6bc09f2467509d20db24a'/>
<id>urn:sha1:5f7dc5d75076fd1c1fc6bc09f2467509d20db24a</id>
<content type='text'>
Unlike other alphas, marvel doesn't have real PC-style CMOS clock hardware
- RTC accesses are emulated via PAL calls.  Unfortunately, for unknown
reason these calls work only on CPU #0.  So current implementation for
arbitrary CPU makes CMOS_READ/WRITE to be executed on CPU #0 via IPI.
However, for obvious reason this doesn't work with standard
get/set_rtc_time() functions, where a bunch of CMOS accesses is done with
disabled interrupts.

Solved by making the IPI calls for entire get/set_rtc_time() functions,
not for individual CMOS accesses.  Which is also a lot more effective
performance-wise.

The patch is largely based on the code from Jay Estabrook.
My changes:
- tweak asm-generic/rtc.h by adding a couple of #defines to
  avoid a massive code duplication in arch/alpha/include/asm/rtc.h;
- sys_marvel.c: fix get/set_rtc_time() return values (Jay's FIXMEs).

NOTE: this fixes *only* LIB_RTC drivers.  Legacy (CONFIG_RTC) driver
wont't work on marvel.  Actually I think that we should just disable
CONFIG_RTC on alpha (maybe in 2.6.30?), like most other arches - AFAIK,
all modern distributions use LIB_RTC anyway.

Signed-off-by: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Richard Henderson &lt;rth@twiddle.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>alpha: remove remaining __FUNCTION__ occurrences</title>
<updated>2008-04-28T15:58:27Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-28T09:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bbb8d343affd21850849fa4d41bf91c7527a3d04'/>
<id>urn:sha1:bbb8d343affd21850849fa4d41bf91c7527a3d04</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

The change in pci-iommu,c should be safe as arena has not been assigned
when we get to this point.

Some were within #if 0 blocks, have changed them and left the blocks
as they appear to be debugging infrastructure.

A #define FN __FUNCTION__ was removed and occurances of FN were replaced
with __func__ as well.

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Richard Henderson &lt;rth@twiddle.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>
</feed>
