Re: PCI Endpoint - Missing inbound mapping ops ?

From: Kishon Vijay Abraham I
Date: Tue Aug 14 2018 - 09:28:38 EST


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