summaryrefslogtreecommitdiff
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2016-06-23 13:36:22 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-06-24 00:29:44 +0300
commitb30742aa307ac9d7db846c0823685e064dc66aaf (patch)
tree1371529657abbb49d590a1c803ef7f2f1db041f0 /arch/mips/pci
parentdcce0f153b63412291db4c5c5f714404a6e4f7a1 (diff)
downloadlinux-b30742aa307ac9d7db846c0823685e064dc66aaf.tar.xz
ARM/PCI: Claim bus resources on PCI_PROBE_ONLY set-ups
We claim PCI BAR and bridge window resources in pci_bus_assign_resources(), but when PCI_PROBE_ONLY is set, we treat those resources as immutable and don't call pci_bus_assign_resources(), so the resources aren't put in the resource tree. When the resources aren't in the tree, they don't show up in /proc/iomem, we can't detect conflicts, and we need special cases elsewhere for PCI_PROBE_ONLY or resources without a parent pointer. Claim all PCI BAR and window resources in the PCI_PROBE_ONLY case. If a PCI_PROBE_ONLY platform assigns conflicting resources, Linux can't fix the conflicts. Previously we didn't notice the conflicts, but now we will, which may expose new failures. [bhelgaas: changelog, add resource comment, remove size/assign comments] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Russell King <linux@armlinux.org.uk>
Diffstat (limited to 'arch/mips/pci')
0 files changed, 0 insertions, 0 deletions