linux/drivers/pci/endpoint
Niklas Cassel fca8305875 PCI: endpoint: Handle 64-bit BARs properly
If a 64-bit BAR was set-up, we need to skip a BAR,
since a 64-bit BAR consists of a BAR pair.

We need to check what BAR width the epc->ops->set_bar() specific
implementation actually did set-up, since some drivers, like the
Cadence EP controller, sometimes sets up a 64-bit BAR, even though
a 32-bit BAR was requested.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-04-03 12:38:04 +01:00
..
functions PCI: endpoint: Handle 64-bit BARs properly 2018-04-03 12:38:04 +01:00
Kconfig PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-epc-core.c PCI: endpoint: Setting a BAR size > 4 GB is invalid if 64-bit flag is not set 2018-04-03 12:23:58 +01:00
pci-epc-mem.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-epf-core.c PCI: endpoint: Simplify epc->ops->set_bar()/pci_epc_set_bar() 2018-04-03 12:23:38 +01:00