From: Jason Gunthorpe Date: Wed, 12 Feb 2014 22:57:08 +0000 (-0700) Subject: PCI: mvebu: Call request_resource() on the apertures X-Git-Tag: v3.15-rc1~143^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2613ba480fb7b40c67eea36d03c9946977828623;p=pandora-kernel.git PCI: mvebu: Call request_resource() on the apertures It is typical for host drivers to request a resource for the aperture; once this is done the PCI core will properly populate resources for all BARs in the system. With this patch cat /proc/iomem will now show: e0000000-efffffff : PCI MEM 0000 e0000000-e00fffff : PCI Bus 0000:01 e0000000-e001ffff : 0000:01:00.0 Tested on Kirkwood. Signed-off-by: Arnd Bergmann Signed-off-by: Jason Gunthorpe Signed-off-by: Bjorn Helgaas Acked-by: Jason Cooper --- Reading git-diff-tree failed