<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/kernel/irq/spurious.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-04T11:40:24Z</updated>
<entry>
<title>genirq: Provide config option to disable deprecated code</title>
<updated>2010-10-04T11:40:24Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2010-10-01T13:17:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd151412263a67b5321e9dd1d5b4bf6d96fdebf3'/>
<id>urn:sha1:bd151412263a67b5321e9dd1d5b4bf6d96fdebf3</id>
<content type='text'>
This option covers now the old chip functions and the irq_desc data
fields which are moving to struct irq_data. More stuff will follow.

Pretty handy for testing a conversion, whether something broke or not.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: Provide compat handling for chip-&gt;disable()/shutdown()</title>
<updated>2010-10-04T10:43:43Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2010-09-27T12:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc310dda41be6439364c8f3b9fe7c9d743d22b1c'/>
<id>urn:sha1:bc310dda41be6439364c8f3b9fe7c9d743d22b1c</id>
<content type='text'>
Wrap the old chip functions disable() and shutdown() until the
migration is complete and the old chip functions are removed.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
LKML-Reference: &lt;20100927121842.532070631@linutronix.de&gt;
Reviewed-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Reviewed-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: Convert core code to irq_data</title>
<updated>2010-10-04T10:36:26Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2010-10-01T10:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b8ff3120c758340505dddf08ad685ebb841d5d5'/>
<id>urn:sha1:6b8ff3120c758340505dddf08ad685ebb841d5d5</id>
<content type='text'>
Convert all references in the core code to orq, chip, handler_data,
chip_data, msi_desc, affinity to irq_data.*

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>genirq: Convert irq_desc.lock to raw_spinlock</title>
<updated>2009-12-14T22:55:33Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2009-11-17T15:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=239007b8440abff689632f50cdf0f2b9e895b534'/>
<id>urn:sha1:239007b8440abff689632f50cdf0f2b9e895b534</id>
<content type='text'>
Convert locks which cannot be sleeping locks in preempt-rt to
raw_spinlocks.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-next' into for-linus</title>
<updated>2009-12-07T17:36:35Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2009-12-07T17:36:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d014d043869cdc591f3a33243d3481fa4479c2d0'/>
<id>urn:sha1:d014d043869cdc591f3a33243d3481fa4479c2d0</id>
<content type='text'>
Conflicts:

	kernel/irq/chip.c
</content>
</entry>
<entry>
<title>Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip</title>
<updated>2009-12-05T17:53:08Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-12-05T17:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb2166c898adb5fe29bc450004926802d2a16035'/>
<id>urn:sha1:bb2166c898adb5fe29bc450004926802d2a16035</id>
<content type='text'>
* 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  genirq: Fix spurious irq seqfile conversion
  genirq: switch /proc/irq/*/spurious to seq_file
  irq: Do not attempt to create subdirectories if /proc/irq/&lt;irq&gt; failed
  irq: Remove unused debug_poll_all_shared_irqs()
  irq: Fix docbook comments
  irq: trivial: Fix typo in comment for #endif
</content>
</entry>
<entry>
<title>tree-wide: fix typos "couter" -&gt; "counter"</title>
<updated>2009-12-04T14:39:51Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2009-10-28T19:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbfecd3712f917ca210a55c157233d88b785896b'/>
<id>urn:sha1:fbfecd3712f917ca210a55c157233d88b785896b</id>
<content type='text'>
This patch was generated by

	git grep -E -i -l 'couter' | xargs -r perl -p -i -e 's/couter/counter/'

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>genirq: try_one_irq() must be called with irq disabled</title>
<updated>2009-11-07T20:44:45Z</updated>
<author>
<name>Yong Zhang</name>
</author>
<published>2009-11-07T03:16:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7e7e0c084ef862d5754701108d4a038514d6314'/>
<id>urn:sha1:e7e7e0c084ef862d5754701108d4a038514d6314</id>
<content type='text'>
Prarit reported:
=================================
[ INFO: inconsistent lock state ]
2.6.32-rc5 #1
---------------------------------
inconsistent {IN-HARDIRQ-W} -&gt; {HARDIRQ-ON-W} usage.
swapper/0 [HC0[0]:SC1[1]:HE1:SE0] takes:
 (&amp;irq_desc_lock_class){?.-...}, at: [&lt;ffffffff810c264e&gt;] try_one_irq+0x32/0x138
{IN-HARDIRQ-W} state was registered at:
 [&lt;ffffffff81095160&gt;] __lock_acquire+0x2fc/0xd5d
 [&lt;ffffffff81095cb4&gt;] lock_acquire+0xf3/0x12d
 [&lt;ffffffff814cdadd&gt;] _spin_lock+0x40/0x89
 [&lt;ffffffff810c3389&gt;] handle_level_irq+0x30/0x105
 [&lt;ffffffff81014e0e&gt;] handle_irq+0x95/0xb7
 [&lt;ffffffff810141bd&gt;] do_IRQ+0x6a/0xe0
 [&lt;ffffffff81012813&gt;] ret_from_intr+0x0/0x16
irq event stamp: 195096
hardirqs last  enabled at (195096): [&lt;ffffffff814cd7f7&gt;] _spin_unlock_irq+0x3a/0x5c
hardirqs last disabled at (195095): [&lt;ffffffff814cdbdd&gt;] _spin_lock_irq+0x29/0x95
softirqs last  enabled at (195088): [&lt;ffffffff81068c92&gt;] __do_softirq+0x1c1/0x1ef
softirqs last disabled at (195093): [&lt;ffffffff8101304c&gt;] call_softirq+0x1c/0x30

other info that might help us debug this:
1 lock held by swapper/0:
 #0:  (kernel/irq/spurious.c:21){+.-...}, at: [&lt;ffffffff81070cf2&gt;]
run_timer_softirq+0x1a9/0x315

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.32-rc5 #1
Call Trace:
 &lt;IRQ&gt;  [&lt;ffffffff81093e94&gt;] valid_state+0x187/0x1ae
 [&lt;ffffffff81093fe4&gt;] mark_lock+0x129/0x253
 [&lt;ffffffff810951d4&gt;] __lock_acquire+0x370/0xd5d
 [&lt;ffffffff81095cb4&gt;] lock_acquire+0xf3/0x12d
 [&lt;ffffffff814cdadd&gt;] _spin_lock+0x40/0x89
 [&lt;ffffffff810c264e&gt;] try_one_irq+0x32/0x138
 [&lt;ffffffff810c2795&gt;] poll_all_shared_irqs+0x41/0x6d
 [&lt;ffffffff810c27dd&gt;] poll_spurious_irqs+0x1c/0x49
 [&lt;ffffffff81070d82&gt;] run_timer_softirq+0x239/0x315
 [&lt;ffffffff81068bd3&gt;] __do_softirq+0x102/0x1ef
 [&lt;ffffffff8101304c&gt;] call_softirq+0x1c/0x30
 [&lt;ffffffff81014b65&gt;] do_softirq+0x59/0xca
 [&lt;ffffffff810686ad&gt;] irq_exit+0x58/0xae
 [&lt;ffffffff81029b84&gt;] smp_apic_timer_interrupt+0x94/0xba
 [&lt;ffffffff81012a33&gt;] apic_timer_interrupt+0x13/0x20

The reason is that try_one_irq() is called from hardirq context with
interrupts disabled and from softirq context (poll_all_shared_irqs())
with interrupts enabled.

Disable interrupts before calling it from poll_all_shared_irqs().

Reported-and-tested-by: Prarit Bhargava &lt;prarit@redhat.com&gt;
Signed-off-by: Yong Zhang &lt;yong.zhang0@gmail.com&gt;
LKML-Reference: &lt;1257563773-4620-1-git-send-email-yong.zhang0@gmail.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>irq: Remove unused debug_poll_all_shared_irqs()</title>
<updated>2009-11-04T13:22:21Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2009-11-04T13:22:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=663e69592856df53ef52969482ef413a96bc4e06'/>
<id>urn:sha1:663e69592856df53ef52969482ef413a96bc4e06</id>
<content type='text'>
commit 74296a8ed added this function for debug purposes, but it was
never used for anything. Remove it.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>irq: Clean up by removing irqfixup MODULE_PARM_DESC()</title>
<updated>2009-08-04T15:00:11Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2009-07-30T22:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=990a55eb25d9698d61352264cc43f3a9c04cce90'/>
<id>urn:sha1:990a55eb25d9698d61352264cc43f3a9c04cce90</id>
<content type='text'>
It's wrong (the parm takes no arguments) and compile-time wiped
away anyway (due to !MODULE).

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
LKML-Reference: &lt;1248991326-26267-1-git-send-email-jirislaby@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
