@@ -169,7 +169,6 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
169
169
struct acpi_pci_generic_root_info * ri ;
170
170
struct pci_bus * bus , * child ;
171
171
struct acpi_pci_root_ops * root_ops ;
172
- union acpi_object * obj ;
173
172
174
173
ri = kzalloc_node (sizeof (* ri ), GFP_KERNEL , node );
175
174
if (!ri )
@@ -195,23 +194,8 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
195
194
if (!bus )
196
195
return NULL ;
197
196
198
- /*
199
- * Invoke the PCI device specific method (_DSM) #5 'Ignore PCI Boot
200
- * Configuration', which tells us whether the firmware wants us to
201
- * preserve the configuration of the PCI resource tree for this root
202
- * bridge.
203
- */
204
- obj = acpi_evaluate_dsm (ACPI_HANDLE (bus -> bridge ), & pci_acpi_dsm_guid , 1 ,
205
- IGNORE_PCI_BOOT_CONFIG_DSM , NULL );
206
- if (obj && obj -> type == ACPI_TYPE_INTEGER && obj -> integer .value == 0 ) {
207
- /* preserve existing resource assignment */
208
- pci_bus_claim_resources (bus );
209
- } else {
210
- /* reconfigure the resource tree from scratch */
211
- pci_bus_size_bridges (bus );
212
- pci_bus_assign_resources (bus );
213
- }
214
- ACPI_FREE (obj );
197
+ pci_bus_size_bridges (bus );
198
+ pci_bus_assign_resources (bus );
215
199
216
200
list_for_each_entry (child , & bus -> children , node )
217
201
pcie_bus_configure_settings (child );
0 commit comments