diff options
author | Bjorn Helgaas | 2019-07-12 17:08:28 -0500 |
---|---|---|
committer | Bjorn Helgaas | 2019-07-12 17:08:28 -0500 |
commit | 8c6af6f04252110b3e4c2ff1614a4518d5208383 (patch) | |
tree | 2c8c4cbeca0d6bbb71a98de26342a05f9a41803a /include/linux/pci.h | |
parent | 3306e99edf70e9f7f9839c0c680136f098ebb1ed (diff) | |
parent | 6a381ea694c9da31ba8741c42a7f1b206c156841 (diff) |
Merge branch 'pci/resource'
- Evaluate ACPI "PCI Boot Configuration"_DSM (Benjamin Herrenschmidt)
- Don't auto-realloc if we're preserving firmware config (Benjamin
Herrenschmidt)
- Allow arm64 to reallocate resources if necessary (Benjamin
Herrenschmidt)
- Preserve firmware config on arm64 when desired (Benjamin Herrenschmidt)
- Simplify resource distribution to hotplug bridges (Nicholas Johnson)
* pci/resource:
PCI: Skip resource distribution when no hotplug bridges
PCI: Simplify pci_bus_distribute_available_resources()
arm64: PCI: Preserve firmware configuration when desired
arm64: PCI: Allow resource reallocation if necessary
PCI: Don't auto-realloc if we're preserving firmware config
PCI/ACPI: Evaluate PCI Boot Configuration _DSM
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index ea91e79d0ba6..bf6ea6fe39ff 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -508,6 +508,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, |