[PATCH 2/2] PCI: mvebu - Call request_resources on the apertures
Arnd Bergmann
arnd at arndb.de
Wed Feb 12 18:24:29 EST 2014
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 <arnd at arndb.de>
> Signed-off-by: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
> ---
> 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
More information about the linux-arm-kernel
mailing list