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

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

--


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click

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

end of thread, other threads:[~2005-05-26  9:34 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-ral2JQCrhuEAvxtiuMwx3w
2005-05-21  0:42 ` [patch 1/2] i386: collect " rajesh.shah-ral2JQCrhuEAvxtiuMwx3w
2005-05-21  0:42 ` [patch 2/2] x86_64: Collect " rajesh.shah-ral2JQCrhuEAvxtiuMwx3w
2005-05-23 16:15   ` Andi Kleen
     [not found]     ` <20050523161507.GN16164-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
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
     [not found]               ` <20050524084533.A20567-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2005-05-24 16:58                 ` Ivan Kokshaysky
2005-05-24 17:37                   ` Rajesh Shah
     [not found]                     ` <20050524103724.A22049-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
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