<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/irq.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-09-15T18:08:45Z</updated>
<entry>
<title>powerpc: Make the irq reverse mapping radix tree lockless</title>
<updated>2008-09-15T18:08:45Z</updated>
<author>
<name>Sebastien Dugue</name>
</author>
<published>2008-09-04T12:37:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=150c6c8fecf6daaf68c2987ba2b6b259baefdff2'/>
<id>urn:sha1:150c6c8fecf6daaf68c2987ba2b6b259baefdff2</id>
<content type='text'>
The radix trees used by interrupt controllers for their irq reverse
mapping (currently only the XICS found on pSeries) have a complex
locking scheme dating back to before the advent of the lockless radix
tree.

This takes advantage of the lockless radix tree and of the fact that
the items of the tree are pointers to a static array (irq_map)
elements which can never go under us to simplify the locking.

Concurrency between readers and writers is handled by the intrinsic
properties of the lockless radix tree.  Concurrency between writers is
handled with a global mutex.

Signed-off-by: Sebastien Dugue &lt;sebastien.dugue@bull.net&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Separate the irq radix tree insertion and lookup</title>
<updated>2008-09-15T18:08:44Z</updated>
<author>
<name>Sebastien Dugue</name>
</author>
<published>2008-09-04T12:37:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=967e012ef306e99cfddcd7423f37414e6b568361'/>
<id>urn:sha1:967e012ef306e99cfddcd7423f37414e6b568361</id>
<content type='text'>
irq_radix_revmap() currently serves 2 purposes, irq mapping lookup
and insertion which happen in interrupt and process context respectively.

Separate the function into its 2 components, one for lookup only and one
for insertion only.

Fix the only user of the revmap tree (XICS) to use the new functions.

Also, move the insertion into the radix tree of those irqs that were
requested before it was initialized at said tree initialization.

Mutual exclusion between the tree initialization and readers/writers is
handled via a state variable (revmap_trees_allocated) set to 1 when the tree
has been initialized and set to 2 after the already requested irqs have been
inserted in the tree by the init path. This state is checked before any reader
or writer access just like we used to check for tree.gfp_mask != 0 before.

Finally, now that we're not any longer inserting nodes into the radix-tree
in interrupt context, turn the GFP_ATOMIC allocations into GFP_KERNEL ones.

Signed-off-by: Sebastien Dugue &lt;sebastien.dugue@bull.net&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Remove use of CONFIG_PPC_MERGE</title>
<updated>2008-08-04T03:18:17Z</updated>
<author>
<name>Kumar Gala</name>
</author>
<published>2008-08-01T16:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c4cb82515130c62224e23fdf7c13c8f6c59c614'/>
<id>urn:sha1:9c4cb82515130c62224e23fdf7c13c8f6c59c614</id>
<content type='text'>
Now that arch/ppc is gone and CONFIG_PPC_MERGE is always set, remove
the dead code associated with !CONFIG_PPC_MERGE from arch/powerpc
and include/asm-powerpc.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>Merge commit '85082fd7cbe3173198aac0eb5e85ab1edcc6352c' into test-build</title>
<updated>2008-07-15T05:44:51Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2008-07-15T05:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43d2548bb2ef7e6d753f91468a746784041e522d'/>
<id>urn:sha1:43d2548bb2ef7e6d753f91468a746784041e522d</id>
<content type='text'>
Manual fixup of:

	arch/powerpc/Kconfig</content>
</entry>
<entry>
<title>Merge branch 'linux-2.6'</title>
<updated>2008-06-30T00:16:50Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2008-06-30T00:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9a4b6a3f6592862a67837e80aad3f50468857a6'/>
<id>urn:sha1:e9a4b6a3f6592862a67837e80aad3f50468857a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'linus' into tracing/ftrace</title>
<updated>2008-06-23T09:11:42Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2008-06-23T09:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f34bfb1beef8a17ba3d46b60f8fa19ffedc1ed8d'/>
<id>urn:sha1:f34bfb1beef8a17ba3d46b60f8fa19ffedc1ed8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[POWERPC] Fix return value check logic in debugfs virq_mapping setup</title>
<updated>2008-06-16T05:00:25Z</updated>
<author>
<name>Emil Medve</name>
</author>
<published>2008-05-22T19:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=476ff8a0e3b17fc23994255aa9fd917d599d2ec7'/>
<id>urn:sha1:476ff8a0e3b17fc23994255aa9fd917d599d2ec7</id>
<content type='text'>
debugfs_create_file() returns a non-NULL (non-zero) value in case of
success, not a NULL value.

This fixes this non-critical boot-time debugging error message:

[    1.316386] calling  irq_debugfs_init+0x0/0x50
[    1.316399] initcall irq_debugfs_init+0x0/0x50 returned -12 after 0 msecs
[    1.316411] initcall irq_debugfs_init+0x0/0x50 returned with error code -12

Signed-off-by: Emil Medve &lt;Emilian.Medve@Freescale.com&gt;
Acked-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Fix irq_alloc_host() reference counting and callers</title>
<updated>2008-06-09T03:51:16Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-05-26T02:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19fc65b5251dfd90312ae0142cc8650cd273e6a6'/>
<id>urn:sha1:19fc65b5251dfd90312ae0142cc8650cd273e6a6</id>
<content type='text'>
When I changed irq_alloc_host() to take an of_node
(52964f87c64e6c6ea671b5bf3030fb1494090a48: "Add an optional
device_node pointer to the irq_host"), I botched the reference
counting semantics.

Stephen pointed out that it's irq_alloc_host()'s business if
it needs to take an additional reference to the device_node,
the caller shouldn't need to care.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Move to runtime allocated exception stacks</title>
<updated>2008-06-02T19:54:42Z</updated>
<author>
<name>Kumar Gala</name>
</author>
<published>2008-04-30T08:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcf0b0880710409420a4e3b15dbf4b9a63542c0b'/>
<id>urn:sha1:bcf0b0880710409420a4e3b15dbf4b9a63542c0b</id>
<content type='text'>
For the additonal exception levels (critical, debug, machine check) on
40x/book-e we were using "static" allocations of the stack in the
associated head.S.

Move to a runtime allocation to make the code a bit easier to read as
we mimic how we handle IRQ stacks.  Its also a bit easier to setup the
stack with a "dummy" thread_info in C code.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Acked-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>ftrace: support for PowerPC</title>
<updated>2008-05-23T20:43:11Z</updated>
<author>
<name>Steven Rostedt</name>
</author>
<published>2008-05-15T03:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e491d14f2506b218d678935c25a7027b79178b1'/>
<id>urn:sha1:4e491d14f2506b218d678935c25a7027b79178b1</id>
<content type='text'>
This patch adds full support for ftrace for PowerPC (both 64 and 32 bit).
This includes dynamic tracing and function filtering.

Signed-off-by: Steven Rostedt &lt;srostedt@redhat.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
</feed>
