<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel/irq, branch v2.6.28.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/kernel/irq?h=v2.6.28.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/kernel/irq?h=v2.6.28.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-11-13T10:59:48Z</updated>
<entry>
<title>genirq: __irq_set_trigger: change pr_warning to pr_debug</title>
<updated>2008-11-13T10:59:48Z</updated>
<author>
<name>Mark Nelson</name>
<email>markn@au1.ibm.com</email>
</author>
<published>2008-11-13T10:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3ff68a6a106c362a6811d3e51bced58e6fc87de7'/>
<id>urn:sha1:3ff68a6a106c362a6811d3e51bced58e6fc87de7</id>
<content type='text'>
Commit 0c5d1eb77a8be917b638344a22afe1398236482b (genirq: record trigger
type) caused powerpc platforms that had no set_type() function in their
struct irq_chip to spew out warnings about "No set_type function for
IRQ...". This warning isn't necessarily justified though because the
generic powerpc platform code calls set_irq_type() (which in turn calls
__irq_set_trigger) with information from the device tree to establish
the interrupt mappings, regardless of whether the PIC can actually set
a type.

A platform's irq_chip might not have a set_type function for a variety
of reasons, for example: the platform may have the type essentially
hard-coded, or as in the case for Cell interrupts are just messages
past around that have no real concept of type, or the platform
could even have a virtual PIC as on the PS3.

Signed-off-by: Mark Nelson &lt;markn@au1.ibm.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>irq: fix typo</title>
<updated>2008-11-09T21:26:45Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-11-08T08:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f131e2436ddbac2527bb2d6297a823aae4b024f8'/>
<id>urn:sha1:f131e2436ddbac2527bb2d6297a823aae4b024f8</id>
<content type='text'>
Impact: build fix

fix build failure on UP.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: fix the affinity setting in setup_irq</title>
<updated>2008-11-09T21:23:54Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2008-11-07T12:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=612e3684c1b7752d2890510e4f90115fd1eb2afb'/>
<id>urn:sha1:612e3684c1b7752d2890510e4f90115fd1eb2afb</id>
<content type='text'>
The affinity setting in setup irq is called before the NO_BALANCING
flag is checked and might therefore override affinity settings from the
calling code with the default setting.

Move the NO_BALANCING flag check before the call to the affinity
setting.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: keep affinities set from userspace across free/request_irq()</title>
<updated>2008-11-09T21:23:49Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2008-11-07T12:18:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f6d87f4bd259cf33e092cd1a8fde05f291c47af1'/>
<id>urn:sha1:f6d87f4bd259cf33e092cd1a8fde05f291c47af1</id>
<content type='text'>
Impact: preserve user-modified affinities on interrupts

Kumar Galak noticed that commit
18404756765c713a0be4eb1082920c04822ce588 (genirq: Expose default irq
affinity mask (take 3))

overrides an already set affinity setting across a free /
request_irq(). Happens e.g. with ifdown/ifup of a network device.

Change the logic to mark the affinities as set and keep them
intact. This also fixes the unlocked access to irq_desc in
irq_select_affinity() when called from irq_affinity_proc_write()

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>irq: make variable static</title>
<updated>2008-10-22T05:37:17Z</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2008-10-21T23:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3786fc710c32b61464c322e5cd0c3d1d34ae72d0'/>
<id>urn:sha1:3786fc710c32b61464c322e5cd0c3d1d34ae72d0</id>
<content type='text'>
This variable is only used in the source file, so make it static.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()</title>
<updated>2008-10-21T13:59:21Z</updated>
<author>
<name>Dean Nelson</name>
<email>dcn@sgi.com</email>
</author>
<published>2008-10-18T23:06:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b6f3b7803a9231eddc36d0a2a6d2d8105ef89344'/>
<id>urn:sha1:b6f3b7803a9231eddc36d0a2a6d2d8105ef89344</id>
<content type='text'>
If the member 'name' of the irq_desc structure happens to point to a
character string that is resident within a kernel module, problems ensue
if that module is rmmod'd (at which time dynamic_irq_cleanup() is called)
and then later show_interrupts() is called by someone.

It is also not a good thing if the character string resided in kmalloc'd
space that has been kfree'd (after having called dynamic_irq_cleanup()).
dynamic_irq_cleanup() fails to NULL the 'name' member and
show_interrupts() references it on a few architectures (like h8300, sh and
x86).

Signed-off-by: Dean Nelson &lt;dcn@sgi.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: fix set_irq_type() when recording trigger type</title>
<updated>2008-10-21T08:10:08Z</updated>
<author>
<name>Chris Friesen</name>
<email>cfriesen@nortel.com</email>
</author>
<published>2008-10-20T18:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0b3682ba33c59a362901b478bdab965da888b350'/>
<id>urn:sha1:0b3682ba33c59a362901b478bdab965da888b350</id>
<content type='text'>
Impact: fix boot hang on a G5

In set_irq_type() we want to pass the type rather than the current
interrupt state.

Signed-off-by: Chris Friesen &lt;cfriesen@nortel.com&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: fix name space collision of nr_irqs in autoprobe.c</title>
<updated>2008-10-16T14:53:30Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2008-10-16T13:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=63d659d556f145d33798b8ad19ced10c254fe445'/>
<id>urn:sha1:63d659d556f145d33798b8ad19ced10c254fe445</id>
<content type='text'>
probe_irq_off() is disfunctional as the local nr_irqs is referenced
instead of the global one for the for_each_irq_desc() iterator.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>genirq: use iterators for irq_desc loops</title>
<updated>2008-10-16T14:53:30Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2008-10-16T12:19:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=10e580842ec8e53dddf62e1ab1871f4906477376'/>
<id>urn:sha1:10e580842ec8e53dddf62e1ab1871f4906477376</id>
<content type='text'>
Use for_each_irq_desc[_reverse] for all the iteration loops.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>genirq: cleanup the sparseirq modifications</title>
<updated>2008-10-16T14:53:29Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2008-10-16T07:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3c60047bdb03199b93497ac40bd531315d43a86'/>
<id>urn:sha1:d3c60047bdb03199b93497ac40bd531315d43a86</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
</feed>
