<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/pci/hotplug/rpaphp.h, branch v2.6.27.31</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>pci hotplug: fix rpaphp directory naming</title>
<updated>2008-02-01T23:04:22+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-11-26T07:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1b7c9fcaa147662628078c83ecaf1ef2c5c9c9d0'/>
<id>1b7c9fcaa147662628078c83ecaf1ef2c5c9c9d0</id>
<content type='text'>
Fix presentation of the slot number in the /sys/bus/pci/slots
directory to match that used in the majority of other drivers.

&gt; Greg said:
&gt; How is anyone supposed to write sane managability tools in the
&gt; presence
&gt; of such anarchy?
&gt;
&gt; &gt; ~ # cat /sys/bus/pci/slots/0000:00:02.2/phy_location
&gt; &gt; U787A.001.DNZ00Z5-P1-C2
&gt;
&gt; Right.  This should look like:
&gt;
&gt; # cat /sys/bus/pci/slots/U787A.001.DNZ00Z5-P1-C2/address
&gt; 0000:00:02

This patch implements exactly what you describe. Boot tested.
I assume you really mean it -- if so, then please review and
ack the patch !?

I have absolutely no clue if this breaks any existing IBM tools.
I'm pretty sure it doesn't ... but attention Mike Strosaker! does it?

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Cc: &lt;strosake@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix presentation of the slot number in the /sys/bus/pci/slots
directory to match that used in the majority of other drivers.

&gt; Greg said:
&gt; How is anyone supposed to write sane managability tools in the
&gt; presence
&gt; of such anarchy?
&gt;
&gt; &gt; ~ # cat /sys/bus/pci/slots/0000:00:02.2/phy_location
&gt; &gt; U787A.001.DNZ00Z5-P1-C2
&gt;
&gt; Right.  This should look like:
&gt;
&gt; # cat /sys/bus/pci/slots/U787A.001.DNZ00Z5-P1-C2/address
&gt; 0000:00:02

This patch implements exactly what you describe. Boot tested.
I assume you really mean it -- if so, then please review and
ack the patch !?

I have absolutely no clue if this breaks any existing IBM tools.
I'm pretty sure it doesn't ... but attention Mike Strosaker! does it?

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Cc: &lt;strosake@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PCI: rpaphp: Rename rpaphp_register_pci_slot() to rpaphp_enable_slot()</title>
<updated>2007-05-03T02:02:40+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-04-13T22:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fea54b8cc9c8290b4c99d481c3e600c46eb18fd5'/>
<id>fea54b8cc9c8290b4c99d481c3e600c46eb18fd5</id>
<content type='text'>
Rename rpaphp_register_pci_slot() because its easy to confuse
with  rpaphp_register_slot() even though it does something 
completely different. Rename it to rpaphp_enable_slot() because
its almost identical to enbale_slot().

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename rpaphp_register_pci_slot() because its easy to confuse
with  rpaphp_register_slot() even though it does something 
completely different. Rename it to rpaphp_enable_slot() because
its almost identical to enbale_slot().

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PCI: rpaphp: remove rpaphp_set_attention_status()</title>
<updated>2007-05-03T02:02:39+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-04-13T22:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c02929c278f2bca68635e4c2daa00b7825d71061'/>
<id>c02929c278f2bca68635e4c2daa00b7825d71061</id>
<content type='text'>
The rpaphp_set_attention_status() routine seems to be a wrapper
around a single rtas call. Abolish it.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rpaphp_set_attention_status() routine seems to be a wrapper
around a single rtas call. Abolish it.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PCI: rpaphp: Remove another wrappered function</title>
<updated>2007-05-03T02:02:39+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-04-13T22:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bf0af511fcc856649a2a39c627828695b580d124'/>
<id>bf0af511fcc856649a2a39c627828695b580d124</id>
<content type='text'>
Remove another stove-pipe; this funcion was called from
two different places, with a compile-time const that is
then run-time checked to perform two different things.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove another stove-pipe; this funcion was called from
two different places, with a compile-time const that is
then run-time checked to perform two different things.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PCI: rpaphp: Remve another call that is a wrapper</title>
<updated>2007-05-03T02:02:39+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-04-13T22:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=427310ff02e80cc80826407c0121cec3694c9e7d'/>
<id>427310ff02e80cc80826407c0121cec3694c9e7d</id>
<content type='text'>
Remove another stovepipe: a call which wraps another call, and
just adds printks.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove another stovepipe: a call which wraps another call, and
just adds printks.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PCI: rpaphp: Remove global num_slots variable</title>
<updated>2007-05-03T02:02:38+00:00</updated>
<author>
<name>Linas Vepstas</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2007-04-13T22:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa1891596ca252e48e8803738fd8ead5b3082217'/>
<id>fa1891596ca252e48e8803738fd8ead5b3082217</id>
<content type='text'>
Cleanup cruft: remove the global "num_slots" variable; 
although scattered across multiple files, it is used only 
once, in a debug statement.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup cruft: remove the global "num_slots" variable; 
although scattered across multiple files, it is used only 
once, in a debug statement.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Cc: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] Fix up rpaphp driver for pci hotplug header move</title>
<updated>2006-10-21T00:56:39+00:00</updated>
<author>
<name>Olaf Hering</name>
<email>olaf@aepfle.de</email>
</author>
<published>2006-10-20T07:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e17e31e388b2e49ff1c9a2bdb39d7aeb2975c19a'/>
<id>e17e31e388b2e49ff1c9a2bdb39d7aeb2975c19a</id>
<content type='text'>
Use grep instead of make during interface changes.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use grep instead of make during interface changes.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] powerpc/PCI hotplug: cleanup: add prefix</title>
<updated>2006-02-01T02:00:13+00:00</updated>
<author>
<name>linas@austin.ibm.com</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2006-01-13T00:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f6afbad82c6b7bab0198442592b110341fb419ba'/>
<id>f6afbad82c6b7bab0198442592b110341fb419ba</id>
<content type='text'>
Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines.
Remove rpaphp_remove_slot(), which is a one-liner.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines.
Remove rpaphp_remove_slot(), which is a one-liner.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] powerpc/PCI hotplug: merge rpaphp_enable_pci_slot()</title>
<updated>2006-02-01T02:00:13+00:00</updated>
<author>
<name>linas@austin.ibm.com</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2006-01-13T00:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e06b80b78db96ca272db4ec0b26ce1092a1a9704'/>
<id>e06b80b78db96ca272db4ec0b26ce1092a1a9704</id>
<content type='text'>
Remove general baroqueness.  The function rpaphp_enable_pci_slot()
has a fairly simple logic structure, once all of the debug printk's
are removed. Its called from only one place, and that place also
has a very simple structure once he printk's are removed.  Merge
the two together.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove general baroqueness.  The function rpaphp_enable_pci_slot()
has a fairly simple logic structure, once all of the debug printk's
are removed. Its called from only one place, and that place also
has a very simple structure once he printk's are removed.  Merge
the two together.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] powerpc/PCI hotplug: de-convolute rpaphp_unconfig_pci_adap</title>
<updated>2006-02-01T02:00:12+00:00</updated>
<author>
<name>linas@austin.ibm.com</name>
<email>linas@austin.ibm.com</email>
</author>
<published>2006-01-13T00:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8fe64399cccf8dddcc4e5eaff270a12064f6fe9f'/>
<id>8fe64399cccf8dddcc4e5eaff270a12064f6fe9f</id>
<content type='text'>
Remove general baroqueness.  The function rpaphp_unconfig_pci_adapter()
is really just three lines of code, once all the dbg printks are removed.
And its called in only one place. So replace the call by the thre lines.
Also, provide proper semaphore locking in the affected function
disable_slot()

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove general baroqueness.  The function rpaphp_unconfig_pci_adapter()
is really just three lines of code, once all the dbg printks are removed.
And its called in only one place. So replace the call by the thre lines.
Also, provide proper semaphore locking in the affected function
disable_slot()

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Acked-by: John Rose &lt;johnrose@austin.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
