PCI/ACPI: Run _OSC only once for OSPM feature support
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2013 21:07:42 +0000 (15:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 23 Sep 2013 23:40:46 +0000 (17:40 -0600)
commit1b2a7be60eaaf17bc88368d748471dd70e40befd
tree4ff0841f85f2e4beb2ac9897bb3d521373872d65
parentb8eb67fcc4548b9f0d00bbfd1c0c8f72d8018900
PCI/ACPI: Run _OSC only once for OSPM feature support

Previously, we ran _OSC once to tell the platform that we support
PCI Segment Groups, then we ran it again if we supported any additional
features (ASPM, MSI, or extended config space).  I don't think it's
necessary to run it twice, since we can easily build the complete
mask of features we support before running _OSC the first time.

We run _OSC again later when requesting control of PCIe features;
that's unaffected by this change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c