LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI/ACPI: Simplify PCIe _OSC feature negotiation
@ 2021-07-14  8:55 Joerg Roedel
  2021-07-14  8:55 ` [PATCH v2 1/2] PCI/APCI: Move acpi_pci_osc_support() check to negotiation phase Joerg Roedel
  2021-07-14  8:55 ` [PATCH v2 2/2] PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS Joerg Roedel
  0 siblings, 2 replies; 5+ messages in thread
From: Joerg Roedel @ 2021-07-14  8:55 UTC (permalink / raw)
  To: Bjorn Helgaas, Rafael J . Wysocki, Len Brown
  Cc: linux-pci, linux-acpi, linux-kernel, Joerg Roedel

From: Joerg Roedel <jroedel@suse.de>

Hi,

here is the second version of my patch(es) to simplify the _OSC
negotiation of PCIe features between Linux and the firmware.

The main part is in patch 1, which removes the _OSC call for supported
features by merging it with the actuall _OSC call to negotiate the
features with the firmware.

This allows some simplifications of the code, notably the removal of
the acpi_pci_osc_support() function and the control=NULL special
casing in the acpi_pci_query_osc() function.

Please review.

Thanks,

	Joerg

Joerg Roedel (2):
  PCI/APCI: Move acpi_pci_osc_support() check to negotiation phase
  PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS

 drivers/acpi/pci_root.c | 116 ++++++++++++++++++----------------------
 include/linux/acpi.h    |   2 -
 2 files changed, 52 insertions(+), 66 deletions(-)


base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3
-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-15  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  8:55 [PATCH v2 0/2] PCI/ACPI: Simplify PCIe _OSC feature negotiation Joerg Roedel
2021-07-14  8:55 ` [PATCH v2 1/2] PCI/APCI: Move acpi_pci_osc_support() check to negotiation phase Joerg Roedel
2021-07-14 12:04   ` Rafael J. Wysocki
2021-07-15  7:34     ` Joerg Roedel
2021-07-14  8:55 ` [PATCH v2 2/2] PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).