[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+Kvs9mV3u045acfBa2pEiUcVDyYroVrobtsKKBpDAfX+Os5iQ@mail.gmail.com>
Date: Tue, 14 Aug 2018 13:55:32 +0100
From: Ramon Fried <ramon.fried@...il.com>
To: kishon@...com
Cc: lorenzo.pieralisi@....com, bhelgaas@...gle.com,
linux-pci@...r.kernel.org, open list <linux-kernel@...r.kernel.org>
Subject: Re: PCI Endpoint - Missing inbound mapping ops ?
On Tue, Aug 14, 2018 at 1:53 PM Kishon Vijay Abraham I <kishon@...com> wrote:
>
> Hi,
>
> On Tuesday 14 August 2018 06:19 PM, Ramon Fried wrote:
> > Hi.
> > I recently saw that the PCI endpoint API only supports outbound memory
> > mapping: (AXI -> PCI) through the map_addr op.
> > Why inbound mapping is missing (PCI->AXI) is missing ?
> > In almost all of the PCI EP controllers I've worked with there was a
> > need to map complete BARS or part of BARS to mmio/aperature regions on
> > the device.
>
> pci_epc_set_bar() is used for mapping BAR.
Thanks Kishon.
what about address mapping ? Synopsys has this functionality if I
recall correctly.
>
> Thanks
> Kishon
Powered by blists - more mailing lists