linux/drivers/pci/host
Thomas Petazzoni fa7328b080 PCI: mvebu: Fix I/O space end address calculation
commit dfd0309fd7 upstream.

pcie->realio.end should be the address of last byte of the area,
therefore using resource_size() of another resource is not correct, we
must substract 1 to get the address of the last byte.

Fixes: 11be65472a ("PCI: mvebu: Adapt to the new device tree layout")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-12-16 22:08:40 +00:00
..
Kconfig Merge branch 'pci/host-generic' into next 2014-05-30 11:40:13 -06:00
Makefile Merge branch 'pci/host-generic' into next 2014-05-30 11:40:13 -06:00
pci-exynos.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00
pci-host-generic.c PCI: generic: Add generic PCI host controller driver 2014-05-30 11:34:49 -06:00
pci-imx6.c PCI: imx6: Move link up check into imx6_pcie_wait_for_link() 2016-05-01 00:05:44 +02:00
pci-mvebu.c PCI: mvebu: Fix I/O space end address calculation 2018-12-16 22:08:40 +00:00
pci-rcar-gen2.c PCI: rcar: Add gen2 device tree support 2014-05-28 07:47:55 -06:00
pci-tegra.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00
pcie-designware.c PCI: dwc: Fix uninitialized variable in dw_handle_msi_irq() 2017-08-26 02:14:28 +01:00
pcie-designware.h Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pcie-rcar.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00