Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1223907
| From | Jiang Liu <jiang.liu@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [Patch v6 5/7] ACPI, PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set |
| Date | 2015-09-14 10:10 +0200 |
| Message-ID | <q8wZR-lk-29@gated-at.bofh.it> (permalink) |
| References | <q8wZP-lk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set to keep
consistence between ACPI PCI root device and PCI host bridge device.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
---
arch/x86/pci/acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index ff9911707160..5bc018559cc4 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -401,7 +401,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
int node;
if (pci_ignore_seg)
- domain = 0;
+ root->segment = domain = 0;
if (domain && !pci_domains_supported) {
printk(KERN_WARNING "pci_bus %04x:%02x: "
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Patch v6 0/7] Consolidate ACPI PCI root common code into ACPI core Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 3/7] ia64/PCI: Use common struct resource_entry to replace struct iospace_resource Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 2/7] ia64/PCI/ACPI: Use common ACPI resource parsing interface for host bridge Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 1/7] ACPI/PCI: Enhance ACPI core to support sparse IO space Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 4/7] PCI/ACPI: Consolidate common PCI host bridge code into ACPI core Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 5/7] ACPI, PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200 [Patch v6 7/7] ia64/PCI/ACPI: Use common interface to support PCI host bridge Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-14 10:10 +0200
csiph-web