]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS
authorJoerg Roedel <jroedel@suse.de>
Tue, 24 Aug 2021 12:20:51 +0000 (14:20 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 Sep 2021 21:17:31 +0000 (16:17 -0500)
commitaf9d82626c8f8547910e3e22c76ced3f5d5f5286
tree1ae4e8f350eb2bf0bca698e83e4dfe739123d8c2
parente4e737bb5c170df6135a127739a9e6148ee3da82
PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS

These masks are only used internally in the PCI Host Bridge _OSC
negotiation code, which already makes sure nothing outside of these masks
is set. Remove the masks and simplify the code.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20210824122054.29481-2-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
drivers/acpi/pci_root.c
include/linux/acpi.h