lkml.org 
[lkml]   [2021]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] PCI/ACPI: Simplify PCIe _OSC feature negotiation
Date
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

\
 
 \ /
  Last update: 2021-07-14 10:56    [W:0.081 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site