public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/2] Collecting host bridge resources
@ 2005-05-21  0:42 rajesh.shah
  2005-05-21  0:42 ` [patch 1/2] i386: collect " rajesh.shah
  2005-05-21  0:42 ` [patch 2/2] x86_64: Collect " rajesh.shah
  0 siblings, 2 replies; 11+ messages in thread
From: rajesh.shah @ 2005-05-21  0:42 UTC (permalink / raw)
  To: ak, len.brown, akpm; +Cc: linux-kernel, linux-pci, acpi-devel

ACPI hotplug code now uses the PCI core to allocate and manage
resources for hot-plug devices. To work correctly, this requires
all bridges to report resources they are decoding in their
pci_bus structure. We already do this for PCI-PCI bridges, but
not for host bridges. This patchset reads and stores host bridge
resources reported by ACPI BIOS for i386 and x86_64 systems.
Without this, we currently assume that all host bridges decode
all unused resources in iomem_resource and ioport_resource.
This patchset also adds a boot parameter (acpi=root_resources),
and the code to collect resources does not trigger unless it
is enabled via this boot option. This fixes hotplug failures
on some IBM (xseries) systems, and has been previously discussed
on the pci hotplug mailing list.

The current pci_bus structure can only store 4 resource
descriptors for a bus, but many host bridges decode more than 4
ranges. Storing incomplete host bridges resource ranges could
lead to resource-not-available errors for devices that were
otherwise properly configured by BIOS. Hence, this code triggers
only when it is explicitly enabled using the acpi=root_resources
boot option. For now, I expect that only systems that have PCI
hotplug slots directly under a host bridge will enable this option.

Rajesh

--

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-05-26  9:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21  0:42 [patch 0/2] Collecting host bridge resources rajesh.shah
2005-05-21  0:42 ` [patch 1/2] i386: collect " rajesh.shah
2005-05-21  0:42 ` [patch 2/2] x86_64: Collect " rajesh.shah
2005-05-23 16:15   ` Andi Kleen
2005-05-24  0:57     ` Rajesh Shah
2005-05-24 12:05       ` Andi Kleen
2005-05-24 14:58         ` Ivan Kokshaysky
2005-05-24 15:45           ` Rajesh Shah
2005-05-24 16:58             ` Ivan Kokshaysky
2005-05-24 17:37               ` Rajesh Shah
2005-05-26  9:34                 ` Ivan Kokshaysky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox