ACPI / PCI / PCIe: Rework _OSC handling (v3)
Status from this message: Applied this series to my for-linus branch, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ACPI / PCI: Introduce function for querying PCI root _OSCdrivers/ include/ | +67 | 0 replies | |
| 1/10 | ACPI / PCI: Introduce function for querying PCI root _OSCdrivers/ include/ | +67 | 0 replies | |
| 1/10 | PCI / PCIe/ AER: Introduce pci_aer_available()drivers/ drivers/ | +8 | 0 replies | |
| 1/10 | PCI / PCIe/ AER: Introduce pci_aer_available()drivers/ drivers/ | +8 | 2 replies | |
| 2/10 | PCI / PCIe/ AER: Introduce pci_aer_available()drivers/ drivers/ | +8 | 0 replies | |
| 2/10 | PCI / PCIe/ AER: Introduce pci_aer_available()drivers/ drivers/ | +8 | 0 replies | |
| 2/10 | PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 2/10 | PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 3/10 | PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 3/10 | PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 3/10 | ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/ | +4 | 0 replies | |
| 3/10 | ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/ | +4 | 0 replies | |
| 4/10 | PCI / PCIe: Ask BIOS for control of all native services at once (v6)Documentation/ drivers/ drivers/ +13 more | +160 | 0 replies | |
| 4/10 | PCI / PCIe: Ask BIOS for control of all native services at once (v6)Documentation/ drivers/ drivers/ +13 more | +160 | 0 replies | |
| 4/10 | ACPI / PCI: Make acpi_pci_query_osc() return control bitsdrivers/ | +24 | 0 replies | |
| 4/10 | ACPI / PCI: Make acpi_pci_query_osc() return control bitsdrivers/ | +24 | 0 replies | |
| 5/10 | PCI / PCIe: Disable PCIe port services during port initializationdrivers/ | +26 | 0 replies | |
| 5/10 | PCI / PCIe: Disable PCIe port services during port initializationdrivers/ | +26 | 0 replies | |
| 5/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v4)drivers/ include/ | +7 | 0 replies | |
| 5/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v4)drivers/ include/ | +7 | 0 replies | |
| 5/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v4)drivers/ include/ | +7 | 0 replies | |
| 5/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v4)drivers/ include/ | +7 | 0 replies | |
| 6/10 | PCI / PCIe: Remove the port driver module exit routinedrivers/ | +0 | 0 replies | |
| 6/10 | PCI / PCIe: Remove the port driver module exit routinedrivers/ | +0 | 0 replies | |
| 6/10 | ACPI / PCI: Negotiate _OSC control bits before requesting themdrivers/ drivers/ drivers/ +2 more | +46 | 0 replies | |
| 6/10 | ACPI / PCI: Negotiate _OSC control bits before requesting themdrivers/ drivers/ drivers/ +2 more | +46 | 0 replies | |
| 6/10 | ACPI / PCI: Negotiate _OSC control bits before requesting them (v2)drivers/ drivers/ drivers/ +2 more | +49 | 0 replies | |
| 6/10 | ACPI / PCI: Negotiate _OSC control bits before requesting them (v2)drivers/ drivers/ drivers/ +2 more | +49 | 0 replies | |
| 7/10 | PCI / Hot-plug: Query _OSC before requesting controlsdrivers/ | +4 | 0 replies | |
| 7/10 | PCI / Hot-plug: Query _OSC before requesting controlsdrivers/ | +4 | 6 replies | |
| 7/10 | PCI / PCIe: Ask BIOS for control of all native services at once (v7)Documentation/ drivers/ drivers/ +14 more | +155 | 2 replies | |
| 7/10 | PCI / PCIe: Ask BIOS for control of all native services at once (v7)Documentation/ drivers/ drivers/ +14 more | +155 | 0 replies | |
| 8/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2)drivers/ include/ | +1 | 0 replies | |
| 8/10 | ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2)drivers/ include/ | +1 | 0 replies | |
| 8/10 | PCI / PCIe: Disable PCIe port services during port initializationdrivers/ | +26 | 0 replies | |
| 8/10 | PCI / PCIe: Disable PCIe port services during port initializationdrivers/ | +26 | 0 replies | |
| 9/10 | ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/ | +4 | 0 replies | |
| 9/10 | ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/ | +4 | 0 replies | |
| 9/10 | PCI / PCIe: Move PCIe PME code to the pcie directorydrivers/ drivers/ drivers/ +1 more | +463 | 0 replies | |
| 9/10 | PCI / PCIe: Move PCIe PME code to the pcie directorydrivers/ drivers/ drivers/ +1 more | +463 | 0 replies | |
| 10/10 | ACPI / PCI: Merge acpi_pci_osc_control_{query|set}()drivers/ drivers/ drivers/ +1 more | +36 | 0 replies | |
| 10/10 | ACPI / PCI: Merge acpi_pci_osc_control_{query|set}()drivers/ drivers/ drivers/ +1 more | +36 | 0 replies | |
| 10/10 | PCI / PCIe: Remove the port driver module exit routinedrivers/ | +0 | 0 replies | |
| 10/10 | PCI / PCIe: Remove the port driver module exit routinedrivers/ | +0 | 0 replies |
Reviews trailers per patch
28 of 44 patches have a Reviewed-by or Acked-by.
| Patch | Hidetoshi Seto |
|---|---|
| 1/10 | |
| 1/10 | |
| 1/10 | |
| 1/10 | |
| 2/10 | |
| 2/10 | |
| 2/10 | |
| 2/10 | |
| 3/10 | R-b R-b |
| 3/10 | R-b R-b |
| 3/10 | R-b R-b |
| 3/10 | R-b R-b |
| 4/10 | |
| 4/10 | |
| 4/10 | |
| 4/10 | |
| 5/10 | R-b R-b |
| 5/10 | R-b R-b |
| 5/10 | R-b R-b |
| 5/10 | R-b R-b |
| 5/10 | R-b R-b |
| 5/10 | R-b R-b |
| 6/10 | R-b R-b |
| 6/10 | R-b R-b |
| 6/10 | R-b R-b |
| 6/10 | R-b R-b |
| 6/10 | R-b R-b |
| 6/10 | R-b R-b |
| 7/10 | |
| 7/10 | |
| 7/10 | |
| 7/10 | |
| 8/10 | R-b R-b |
| 8/10 | R-b R-b |
| 8/10 | R-b R-b |
| 8/10 | R-b R-b |
| 9/10 | R-b R-b |
| 9/10 | R-b R-b |
| 9/10 | R-b R-b |
| 9/10 | R-b R-b |
| 10/10 | R-b R-b |
| 10/10 | R-b R-b |
| 10/10 | R-b R-b |
| 10/10 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/10] ACPI / PCI / PCIe: Rework _OSC handling (v3)
Hi,
This is the 3rd iteration of the patchset based on
https://patchwork.kernel.org/patch/114917/ and the comments I received on that patch and the previous two iterations of this patchset.
The patches below do not make the intermediate step to put an unconditional _OSC query into acpi_pci_osc_control_set(), but the final result is quite similar to the 2nd iteration with https://patchwork.kernel.org/patch/116976/
applied on top.
[1/10] - Introduce acpi_pci_osc_control_query() allowing the caller to get a
mask of _OSC control bits the BIOS allows the kernel to control for a given PCI root bridge. This version repeats _OSC queries until the BIOS doesn't mask any requested bits.
[2/10] - Introduce pci_aer_available() allowing the caller to check if the
AER service driver should be enabled.
[3/10] - Introduce kernel command line switch pcie_ports=.
[4/10] - Rework the PCIe port driver to request _OSC control for all serives at
once.
[5/10] - Disable PCIe port services (that might be enabled by the BIOS) during
initialization.
[6/10] - Remove the PCIe port driver modules exit function.
[7/10] - Make PCI hotplug code query _OSC before requesting control of _OSC
features.
[8/10] - Rework acpi_pci_osc_control_set() so that it doesn't use cached
result of a query and remove the fields of struct acpi_pci_root that aren't used any more.
[9/10] - Reorder checks in acpi_pci_osc_control_set().
[10/10] - Merge acpi_pci_osc_control_set() with acpi_pci_osc_control_query().
Comments welcome.
Thanks,
Rafael