aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-22 14:26:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-22 14:26:00 -0400
commit9b60afee50425064fa0a69bea22f07b6ea55ebc1 (patch)
tree7e570ffc883dc4517c6d01bb7445480ba294494e
parent7dcca3e92a34bf8ffdc4c01a49182ce1cb6ff534 (diff)
parent9fbbda5c8e0ab9c391e4160a0eb3a06260f9f668 (diff)
Merge tag 'pci-v4.1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas: "These fix an ia64 regression caused by tighter resource checking we merged during the merge window and remove an invalid email address from MAINTAINERS. Resource management: - ia64: Treat all Address Space Descriptors as windows (Bjorn Helgaas) Miscellaneous: - MAINTAINERS: Remove Mohit Kumar (email bounces) (Bjorn Helgaas)" * tag 'pci-v4.1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: ia64/PCI: Treat all host bridge Address Space Descriptors (even consumers) as windows MAINTAINERS: Remove Mohit Kumar (email bounces)
-rw-r--r--CREDITS4
-rw-r--r--MAINTAINERS4
-rw-r--r--arch/ia64/pci/pci.c5
3 files changed, 6 insertions, 7 deletions
diff --git a/CREDITS b/CREDITS
index 2ef5dceef324..40cc4bfb34db 100644
--- a/CREDITS
+++ b/CREDITS
@@ -2049,6 +2049,10 @@ D: pirq addr, CS5535 alsa audio driver
2049S: Gurgaon, India 2049S: Gurgaon, India
2050S: Kuala Lumpur, Malaysia 2050S: Kuala Lumpur, Malaysia
2051 2051
2052N: Mohit Kumar
2053D: ST Microelectronics SPEAr13xx PCI host bridge driver
2054D: Synopsys Designware PCI host bridge driver
2055
2052N: Gabor Kuti 2056N: Gabor Kuti
2053M: seasons@falcon.sch.bme.hu 2057M: seasons@falcon.sch.bme.hu
2054M: seasons@makosteszta.sote.hu 2058M: seasons@makosteszta.sote.hu
diff --git a/MAINTAINERS b/MAINTAINERS
index df536b1207ee..ad5b42913527 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7533,7 +7533,6 @@ S: Maintained
7533F: drivers/pci/host/pci-exynos.c 7533F: drivers/pci/host/pci-exynos.c
7534 7534
7535PCI DRIVER FOR SYNOPSIS DESIGNWARE 7535PCI DRIVER FOR SYNOPSIS DESIGNWARE
7536M: Mohit Kumar <mohit.kumar@st.com>
7537M: Jingoo Han <jg1.han@samsung.com> 7536M: Jingoo Han <jg1.han@samsung.com>
7538L: linux-pci@vger.kernel.org 7537L: linux-pci@vger.kernel.org
7539S: Maintained 7538S: Maintained
@@ -7548,9 +7547,8 @@ F: Documentation/devicetree/bindings/pci/host-generic-pci.txt
7548F: drivers/pci/host/pci-host-generic.c 7547F: drivers/pci/host/pci-host-generic.c
7549 7548
7550PCIE DRIVER FOR ST SPEAR13XX 7549PCIE DRIVER FOR ST SPEAR13XX
7551M: Mohit Kumar <mohit.kumar@st.com>
7552L: linux-pci@vger.kernel.org 7550L: linux-pci@vger.kernel.org
7553S: Maintained 7551S: Orphan
7554F: drivers/pci/host/*spear* 7552F: drivers/pci/host/*spear*
7555 7553
7556PCMCIA SUBSYSTEM 7554PCMCIA SUBSYSTEM
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c
index 48cc65705db4..d4e162d35b34 100644
--- a/arch/ia64/pci/pci.c
+++ b/arch/ia64/pci/pci.c
@@ -240,15 +240,12 @@ static acpi_status resource_to_window(struct acpi_resource *resource,
240 * We're only interested in _CRS descriptors that are 240 * We're only interested in _CRS descriptors that are
241 * - address space descriptors for memory or I/O space 241 * - address space descriptors for memory or I/O space
242 * - non-zero size 242 * - non-zero size
243 * - producers, i.e., the address space is routed downstream,
244 * not consumed by the bridge itself
245 */ 243 */
246 status = acpi_resource_to_address64(resource, addr); 244 status = acpi_resource_to_address64(resource, addr);
247 if (ACPI_SUCCESS(status) && 245 if (ACPI_SUCCESS(status) &&
248 (addr->resource_type == ACPI_MEMORY_RANGE || 246 (addr->resource_type == ACPI_MEMORY_RANGE ||
249 addr->resource_type == ACPI_IO_RANGE) && 247 addr->resource_type == ACPI_IO_RANGE) &&
250 addr->address.address_length && 248 addr->address.address_length)
251 addr->producer_consumer == ACPI_PRODUCER)
252 return AE_OK; 249 return AE_OK;
253 250
254 return AE_ERROR; 251 return AE_ERROR;