summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2019-06-15 02:23:57 +0200
committerBjorn Helgaas2019-06-22 01:11:53 +0200
commita78cf9657ba5426f54aa93a067c10d097944c082 (patch)
treeaa6cbc8b7f5808ff37b46a51ab37de03964fea79 /include/linux/pci.h
parentLinux 5.2-rc1 (diff)
downloadkernel-qcow2-linux-a78cf9657ba5426f54aa93a067c10d097944c082.tar.gz
kernel-qcow2-linux-a78cf9657ba5426f54aa93a067c10d097944c082.tar.xz
kernel-qcow2-linux-a78cf9657ba5426f54aa93a067c10d097944c082.zip
PCI/ACPI: Evaluate PCI Boot Configuration _DSM
Evaluate _DSM Function #5, the "PCI Boot Configuration" function. If the result is 0, the OS should preserve any resource assignments made by the firmware. Link: https://lore.kernel.org/r/20190615002359.29577-2-benh@kernel.crashing.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [bhelgaas: commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 4a5a84d7bdd4..5e2b309363a3 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -505,6 +505,8 @@ struct pci_host_bridge {
unsigned int native_shpc_hotplug:1; /* OS may use SHPC hotplug */
unsigned int native_pme:1; /* OS may use PCIe PME */
unsigned int native_ltr:1; /* OS may use PCIe LTR */
+ unsigned int preserve_config:1; /* Preserve FW resource setup */
+
/* Resource alignment requirements */
resource_size_t (*align_resource)(struct pci_dev *dev,
const struct resource *res,