<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pci/setup-bus.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-10-12T22:03:17Z</updated>
<entry>
<title>PCI: remove transparent bridge sizing</title>
<updated>2007-10-12T22:03:17Z</updated>
<author>
<name>Gary Hade</name>
</author>
<published>2007-10-03T22:55:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fa5913d54f3b1e09948e6a0db34da887e05ff1f'/>
<id>urn:sha1:8fa5913d54f3b1e09948e6a0db34da887e05ff1f</id>
<content type='text'>
Remove transparent bridge sizing.

Due to code in pci_read_bridge_bases() [drivers/pci/probe.c] the child
bus of a transparent bridge already has access to the parent bus
resources so transparent bridge sizing appears unnecessary.  The bridge
sizing includes alignment and granularity adjustments that can cause
significantly more memory to be reserved from the parant bus than
required by devices on the child bus and allotted by _CRS.

Signed-off-by: Gary Hade &lt;gary.hade@us.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>PCI: ROUND_UP macro cleanup in drivers/pci</title>
<updated>2007-07-11T23:02:11Z</updated>
<author>
<name>Milind Arun Choudhary</name>
</author>
<published>2007-07-09T18:55:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f6f8c2f4b59711857d14ada8e70309d52e8fae4'/>
<id>urn:sha1:6f6f8c2f4b59711857d14ada8e70309d52e8fae4</id>
<content type='text'>
ROUND_UP macro cleanup, use ALIGN where ever appropriate

Signed-off-by: Milind Arun Choudhary &lt;milindchoudhary@gmail.com&gt;
Acked-by: Scott Murray &lt;scottm@somanetworks.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>
</entry>
<entry>
<title>pci: do not mark exported functions as __devinit</title>
<updated>2007-05-03T02:02:35Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2007-03-27T05:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96bde06a2df1b363206d3cdef53134b84ff37813'/>
<id>urn:sha1:96bde06a2df1b363206d3cdef53134b84ff37813</id>
<content type='text'>
Functions marked __devinit will be removed after kernel init.  But being
exported they are potentially called by a module much later.

So the safer choice seems to be to keep the function even in the non
CONFIG_HOTPLUG case.

This silence the follwoing section mismatch warnings:
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_bus_add_device from __ksymtab_gpl between '__ksymtab_pci_bus_add_device' (at offset 0x20) and '__ksymtab_pci_walk_bus'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_create_bus from __ksymtab_gpl between '__ksymtab_pci_create_bus' (at offset 0x40) and '__ksymtab_pci_stop_bus_device'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_bus_max_busnr from __ksymtab_gpl between '__ksymtab_pci_bus_max_busnr' (at offset 0xc0) and '__ksymtab_pci_assign_resource_fixed'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_claim_resource from __ksymtab_gpl between '__ksymtab_pci_claim_resource' (at offset 0xe0) and '__ksymtab_pcie_port_bus_type'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_bus_add_devices from __ksymtab between '__ksymtab_pci_bus_add_devices' (at offset 0x70) and '__ksymtab_pci_bus_alloc_resource'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_scan_bus_parented from __ksymtab between '__ksymtab_pci_scan_bus_parented' (at offset 0x90) and '__ksymtab_pci_root_buses'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_bus_assign_resources from __ksymtab between '__ksymtab_pci_bus_assign_resources' (at offset 0x4d0) and '__ksymtab_pci_bus_size_bridges'
WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:pci_bus_size_bridges from __ksymtab between '__ksymtab_pci_bus_size_bridges' (at offset 0x4e0) and '__ksymtab_pci_setup_cardbus'

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>PCI: Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE boot options</title>
<updated>2007-02-16T23:30:10Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2007-02-06T00:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4516a618a76eae6eb1b37259ad49f39b7b7f33d8'/>
<id>urn:sha1:4516a618a76eae6eb1b37259ad49f39b7b7f33d8</id>
<content type='text'>
CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might
result in allocation failure for the reserving itself on some platforms
(for example typical 32bit MIPS).  Make it (and CARDBUS_IO_SIZE too)
customizable by "pci=" option for such platforms.

Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Cc: Daniel Ritz &lt;daniel.ritz@gmx.ch&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] increase CARDBUS_MEM_SIZE</title>
<updated>2006-12-22T16:55:51Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2006-12-22T09:11:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe0e5c4d947d34f10002b4cf272f0ebf110305b7'/>
<id>urn:sha1:fe0e5c4d947d34f10002b4cf272f0ebf110305b7</id>
<content type='text'>
Linus sayeth:

Google knows everything, and finds, on MS own site no less:

  "Windows 2000 default resources:

   One 4K memory window

   One 2 MB memory window

   Two 256-byte I/O windows"

which is clearly utterly bogus and insufficient. But Microsoft apparently
realized this, and:

  "Windows XP default resources:

   Because one memory window of 4K and one window of 2 MB are not
   sufficient for CardBus controllers in many configurations, Windows XP
   allocates larger memory windows to CardBus controllers where possible.
   However, resource windows are static (that is, the operating system
   does not dynamically allocate larger memory windows if new devices
   appear.) Under Windows XP, CardBus controllers will be assigned the
   following resources:

   One 4K memory window, as in Windows 2000

   64 MB memory, if that amount of memory is available. If 64 MB is not
   available the controller will receive 32 MB; if 32 MB is not available,
   the controller will receive 16 MB; if 16 MB is not available, the
   bridge will receive 8 MB; and so on down to a minimum assignment of 1
   MB in configurations where memory is too constrained for the operating
   system to provide a larger window.

   Two 256-byte I/O windows"

So I think we have our answer. Windows uses one 4k window, and one 64MB
window. And they are no more dynamic than we are (we _could_ try to do it
dynamically, but let's face it, it's fairly painful to dynamically expand
PCI bus resources - you may need to reprogram everything up to the root,
so it would be absolutely crazy to do that unless you have some serious
masochistic tendencies).

So let's just increase our default value to 64M too.

Cc: Markus Rechberger &lt;mrechberger@gmail.com&gt;
Cc: Daniel Ritz &lt;daniel.ritz@gmx.ch&gt;
Cc: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix "PCI: assign ioapic resource at hotplug"</title>
<updated>2006-10-04T14:55:14Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2006-10-04T09:15:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9bded00bf62090ebc9d6e8be640cdb69e8497db6'/>
<id>urn:sha1:9bded00bf62090ebc9d6e8be640cdb69e8497db6</id>
<content type='text'>
Roland Dreier wrote:
&gt; The change "PCI: assign ioapic resource at hotplug" (commit
&gt; 23186279658cea6d42a050400d3e79c56cb459b4 in Linus's tree) makes
&gt; networking stop working on my system (SuperMicro H8QC8 with four
&gt; dual-core Opteron 885 CPUs).  In particular, the on-board NIC stops
&gt; working, probably because it gets assigned the wrong IRQ (225 in the
&gt; non-working case, 217 in the working case)
&gt;
&gt; With that patch applied, e1000 doesn't work.  Reverting just that
&gt; patch (shown below) from Linus's latest tree fixes things for me.
&gt;

The cause of this problem might be an wrong assumption that the 'start'
member of resource structure for ioapic device has non-zero value if the
resources are assigned by firmware.  The 'start' member of ioapic device
seems not to be set even though the resources were actually assigned to
ioapic devices by firmware.

Cc: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Cc: MUNEDA Takahiro &lt;muneda.takahiro@jp.fujitsu.com&gt;
Cc: Satoru Takeuchi &lt;takeuchi_satoru@jp.fujitsu.com&gt;
Cc: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Cc: Roland Dreier &lt;rdreier@cisco.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>PCI: assign ioapic resource at hotplug</title>
<updated>2006-09-27T00:43:54Z</updated>
<author>
<name>Satoru Takeuchi</name>
</author>
<published>2006-09-12T17:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23186279658cea6d42a050400d3e79c56cb459b4'/>
<id>urn:sha1:23186279658cea6d42a050400d3e79c56cb459b4</id>
<content type='text'>
We need to assign resources to ioapics being hot-added. This patch
changes pbus_assign_resources_sorted() to assign resources if the
ioapic has no assigned resources.

Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: MUNEDA Takahiro &lt;muneda.takahiro@jp.fujitsu.com&gt;
Signed-off-by: Satoru Takeuchi &lt;takeuchi_satoru@jp.fujitsu.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>
</entry>
<entry>
<title>[PATCH] 64bit resource: fix up printks for resources in pci core and hotplug drivers</title>
<updated>2006-06-27T16:23:58Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2006-06-12T22:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1396a8c3f7cec9f5e0d00bd089be21fc468f0f1c'/>
<id>urn:sha1:1396a8c3f7cec9f5e0d00bd089be21fc468f0f1c</id>
<content type='text'>
This is needed if we wish to change the size of the resource structures.

Based on an original patch from Vivek Goyal &lt;vgoyal@in.ibm.com&gt;

Cc: Vivek Goyal &lt;vgoyal@in.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] PCI: don't move ioapics below PCI bridge</title>
<updated>2006-06-21T19:00:00Z</updated>
<author>
<name>Kimball Murray</name>
</author>
<published>2006-05-31T18:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0da3ba0a29d70c95ed39366a1c9b849f3439fbe'/>
<id>urn:sha1:c0da3ba0a29d70c95ed39366a1c9b849f3439fbe</id>
<content type='text'>
A recent Stratus x86_64 platform uses a system ioapic that is a PCI device
located below a PCI bridge.  Other platforms like this may exist.

This patch fixes a problem wherein the kernel's PCI setup code moves
the ioapic to an address other than that assigned by the BIOS.  It simply
adds another exclusion (which already includes classless devices and host
bridges) to the function pbus_assign_resources_sorted so that it will not
move the ioapic.

If the ioapic is moved, the fixmap mapping to it is broken, so the OS should
leave it alone.

From: Kimball Murray &lt;kimball.murray@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>cardbus: limit IO windows to 256 bytes</title>
<updated>2005-10-23T23:31:16Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2005-10-23T23:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4196c3af25d98204216a5d6c37ad2cb303a1f2bf'/>
<id>urn:sha1:4196c3af25d98204216a5d6c37ad2cb303a1f2bf</id>
<content type='text'>
That's what we've always historically done, and bigger windows seem to
confuse some cardbus bridges. Or something.

Alan reports that this makes the ThinkPad 600x series work properly
again: the 4kB IO window for some reason made IDE DMA not work, which
makes IDE painfully slow even if it works after DMA timeouts.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
