From: Rafael J. Wysocki Date: Thu, 6 Jan 2011 23:55:09 +0000 (+0100) Subject: PCI/ACPI: Request _OSC control once for each root bridge (v3) X-Git-Tag: v2.6.38-rc1~55^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=415e12b2379239973feab91850b0dce985c6058a;p=pandora-kernel.git PCI/ACPI: Request _OSC control once for each root bridge (v3) Move the evaluation of acpi_pci_osc_control_set() (to request control of PCI Express native features) into acpi_pci_root_add() to avoid calling it many times for the same root complex with the same arguments. Additionally, check if all of the requisite _OSC support bits are set before calling acpi_pci_osc_control_set() for a given root complex. References: https://bugzilla.kernel.org/show_bug.cgi?id=20232 Reported-by: Ozan Caglayan Tested-by: Ozan Caglayan Signed-off-by: Rafael J. Wysocki Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed