From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 13 Feb 2014 00:24:29 +0100 Subject: [PATCH 2/2] PCI: mvebu - Call request_resources on the apertures In-Reply-To: <1392245828-23244-2-git-send-email-jgunthorpe@obsidianresearch.com> References: <1392245828-23244-1-git-send-email-jgunthorpe@obsidianresearch.com> <1392245828-23244-2-git-send-email-jgunthorpe@obsidianresearch.com> Message-ID: <1516995.fJPJigzAve@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 12 February 2014 15:57:08 Jason Gunthorpe wrote: > 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 > --- > drivers/pci/host/pci-mvebu.c | 24 +++++++++++++++++++++++- > 1 file changed, 23 insertions(+), 1 deletion(-) > > Arnd: Please confirm your SOB line, thanks. > Yes, that's good. Thanks for taking care of this. Arnd