Skip to content

ACPI / PCI / PCIe: Rework _OSC handling (v2)

Rafael J. Wysocki linux-acpi linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 68 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ACPI / PCI: Introduce acpi_pci_osc_control_query()drivers/acpi/pci_root.c include/linux/acpi.h+50 -916 replies
1/8ACPI / PCI: Introduce acpi_pci_osc_control_query()drivers/acpi/pci_root.c include/linux/acpi.h+50 -90 replies
2/8PCI / PCIe/ AER: Introduce pci_aer_available()drivers/pci/pci.h drivers/pci/pcie/aer/aerdrv.c+8 -30 replies
2/8PCI / PCIe/ AER: Introduce pci_aer_available()drivers/pci/pci.h drivers/pci/pcie/aer/aerdrv.c+8 -310 replies
3/8PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/kernel-parameters.txt drivers/pci/pcie/portdrv.h drivers/pci/pcie/portdrv_core.c +1 more+24 -00 replies
3/8PCI / PCIe: Introduce commad line switch for disabling port servicesDocumentation/kernel-parameters.txt drivers/pci/pcie/portdrv.h drivers/pci/pcie/portdrv_core.c +1 more+24 -00 replies
4/8PCI / PCIe: Ask BIOS for control of all native services at once (v6)Documentation/kernel-parameters.txt drivers/pci/hotplug/acpi_pcihp.c drivers/pci/hotplug/pciehp.h +13 more+158 -2307 replies
4/8PCI / PCIe: Ask BIOS for control of all native services at once (v6)Documentation/kernel-parameters.txt drivers/pci/hotplug/acpi_pcihp.c drivers/pci/hotplug/pciehp.h +13 more+158 -2300 replies
5/8PCI / PCIe: Disable PCIe port services during port initializationdrivers/pci/pcie/portdrv_core.c+26 -30 replies
5/8PCI / PCIe: Disable PCIe port services during port initializationdrivers/pci/pcie/portdrv_core.c+26 -30 replies
6/8PCI / PCIe: Remove the port driver module exit routinedrivers/pci/pcie/portdrv_pci.c+0 -70 replies
6/8PCI / PCIe: Remove the port driver module exit routinedrivers/pci/pcie/portdrv_pci.c+0 -70 replies
7/8ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2)drivers/acpi/pci_root.c include/acpi/acpi_bus.h+0 -1833 replies
7/8ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2)drivers/acpi/pci_root.c include/acpi/acpi_bus.h+0 -180 replies
8/8ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/acpi/pci_root.c+4 -40 replies
8/8ACPI / PCI: Reorder checks in acpi_pci_osc_control_set()drivers/acpi/pci_root.c+4 -40 replies

Reviews trailers per patch

8 of 16 patches have a Reviewed-by or Acked-by.

PatchHidetoshi Seto
1/8
1/8
2/8
2/8
3/8
3/8
4/8
4/8
5/8R-b R-b
5/8R-b R-b
6/8R-b R-b
6/8R-b R-b
7/8R-b R-b
7/8R-b R-b
8/8R-b R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] ACPI / PCI / PCIe: Rework _OSC handling (v2)

Hi,

This is the second iteration of the patchset based on
https://patchwork.kernel.org/patch/114917/ and the comments I received on that patch. Hopefully, I took all of the comments into account this time.

[1/8] - 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.

[2/8] - Introduce pci_aer_available() allowing the caller to check if the
AER service driver should be enabled.

[3/8] - Introduce kernel command line switch pcie_ports=.

[4/8] - Rework the PCIe port driver to request _OSC control for all serives at
once.

[5/8] - Disable PCIe port services (that might be enabled by the BIOS) during
initialization.

[6/8] - Remove the PCIe port driver modules exit function.

[7/8] - 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.

[8/8] - Reorder checks in acpi_pci_osc_control_set()

Thanks,
Rafael