From: Joerg Roedel <joro@8bytes.org>
To: Bjorn Helgaas <bhelgaas@google.com>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Len Brown <lenb@kernel.org>
Cc: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, Joerg Roedel <jroedel@suse.de>
Subject: [PATCH v2 0/2] PCI/ACPI: Simplify PCIe _OSC feature negotiation
Date: Wed, 14 Jul 2021 10:55:10 +0200 [thread overview]
Message-ID: <20210714085512.2176-1-joro@8bytes.org> (raw)
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
next reply other threads:[~2021-07-14 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-14 8:55 Joerg Roedel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210714085512.2176-1-joro@8bytes.org \
--to=joro@8bytes.org \
--cc=bhelgaas@google.com \
--cc=jroedel@suse.de \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).