<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/ppc64/kernel/ItLpQueue.c, branch linux-2.6.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2005-06-30T05:17:02Z</updated>
<entry>
<title>[PATCH] ppc64: Replace custom locking code with a spinlock</title>
<updated>2005-06-30T05:17:02Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=719d1cd86780c156f954fc34f34481adac197aec'/>
<id>urn:sha1:719d1cd86780c156f954fc34f34481adac197aec</id>
<content type='text'>
The hvlpevent_queue (formally ItLpQueue) has a member called xInUseWord
which is used for serialising access to the queue. Because it's a word
(ie. 32 bit) there's a custom 32-bit version of test_and_set_bit() or
thereabouts in ItLpQueue.c.

The xInUseWord is not shared with they hypervisor, so we can replace it
with a spinlock and remove the custom code.

There is also another locking mechanism (ItLpQueueInProcess). This is
redundant because it's only manipulated while the lock's held. Remove it.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Formatting cleanups in arch/ppc64/kernel/ItLpQueue.c</title>
<updated>2005-06-30T05:16:48Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffe1b7e14e6b606bd84cab564aa2f481dbd4e418'/>
<id>urn:sha1:ffe1b7e14e6b606bd84cab564aa2f481dbd4e418</id>
<content type='text'>
Just formatting cleanups:
 * rename some "nextLpEvent" variables to just "event"
 * make code fit in 80 columns
 * use brackets around if/else
 * use a temporary to make hvlpevent_clear_valid clearer

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Cleanup whitespace in arch/ppc64/kernel/ItLpQueue.c</title>
<updated>2005-06-30T05:16:28Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:16:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38fcdcfe38fc3f8972c906db64cd7d540b7760e8'/>
<id>urn:sha1:38fcdcfe38fc3f8972c906db64cd7d540b7760e8</id>
<content type='text'>
Just cleanup white space.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Cleanup proc printing of event types</title>
<updated>2005-06-30T05:16:18Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b0470200a2441766599ad84f92ab9daca8ed86d'/>
<id>urn:sha1:9b0470200a2441766599ad84f92ab9daca8ed86d</id>
<content type='text'>
The code that prints event counts by type uses a hand-coded number of tabs
to get the alignment right. Instead use a printf alignment which will allow
allow us to use the event_type strings elsewhere in the future.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Simplify counting of lpevents, remove lpevent_count from paca</title>
<updated>2005-06-30T05:16:09Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed094150bdeb6eca691f1b7a05bd34d4d1a95488'/>
<id>urn:sha1:ed094150bdeb6eca691f1b7a05bd34d4d1a95488</id>
<content type='text'>
Currently there's a per-cpu count of lpevents processed, a per-queue (ie.
global) total count, and a count by event type.

Replace all that with a count by event for each cpu. We only need to add
it up int the proc code.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Don't count number of events processed for caller</title>
<updated>2005-06-30T05:15:53Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=74889802a1585af4e1652f0cb853ac22a65816a4'/>
<id>urn:sha1:74889802a1585af4e1652f0cb853ac22a65816a4</id>
<content type='text'>
Currently we count the number of lpevents processed in 3 seperate places.

One of these counters is never read, so just remove it. This means
hvlpevent_queue_process() no longer needs to return the number of events
processed.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Rename ItLpQueue_* functions to hvlpevent_queue_*</title>
<updated>2005-06-30T05:15:42Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=937b31b114b5540f456ce1566aae67e02db41f2c'/>
<id>urn:sha1:937b31b114b5540f456ce1566aae67e02db41f2c</id>
<content type='text'>
Now that we've renamed the xItLpQueue structure, rename the functions that
operate on it also.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Rename xItLpQueue to hvlpevent_queue</title>
<updated>2005-06-30T05:15:32Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a61874648d14450f4d397489527998e3dd1119de'/>
<id>urn:sha1:a61874648d14450f4d397489527998e3dd1119de</id>
<content type='text'>
The xItLpQueue is a queue of HvLpEvents that we're given by the Hypervisor.
Rename xItLpQueue to hvlpevent_queue and make the type struct hvlpevent_queue.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Move definition of xItLpQueue</title>
<updated>2005-06-30T05:12:21Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab354b637924beb33dcc23eedc9482f2c692188f'/>
<id>urn:sha1:ab354b637924beb33dcc23eedc9482f2c692188f</id>
<content type='text'>
The xItLpQueue is declared in LparData.c, move it into ItLpQueue.c.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ppc64: Make two ItLpQueue related functions static</title>
<updated>2005-06-30T05:08:56Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2005-06-30T05:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f6014b37e25e50724867c0a4127615427ec2a75'/>
<id>urn:sha1:0f6014b37e25e50724867c0a4127615427ec2a75</id>
<content type='text'>
External parties don't need to use ItLpQueue_getNextLpEvent() or
ItLpQueue_clearValid(), they're internal to ItLpQueue.c

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
