Re: Purpose of pci_remap_iospace

From: Liviu.Dudau@xxxxxxx
Date: Wed Jul 13 2016 - 11:42:56 EST


On Wed, Jul 13, 2016 at 05:28:47PM +0200, Arnd Bergmann wrote:
> On Wednesday, July 13, 2016 3:16:21 PM CEST Bharat Kumar Gogada wrote:
> >
> > > This has neither the PCI memory nor the I/O resource, it looks like you never
> > > call pci_add_resource_offset() to start with, or maybe it fails for some
> > > reason.
> >
> > I see that above API is used in ARM drivers, do we need to do it in ARM64 also ?
> >
>
> Yes, all architectures need it.

of_pci_get_host_bridge_resources() calls it for him.

Liviu

>
> Arnd
>

--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
Â\_(ã)_/Â