[PATCH v9 3/5] PCI: dwc: Advertise dynamic inbound mapping support
Niklas Cassel
cassel at kernel.org
Thu Jan 22 20:00:11 AEDT 2026
On Thu, Jan 22, 2026 at 05:49:07PM +0900, Koichiro Den wrote:
> The DesignWare EP core has supported updating the inbound iATU mapping
> for an already configured BAR (i.e. allowing pci_epc_set_bar() to be
> called again without a prior pci_epc_clear_bar()) since commit
> 4284c88fff0e ("PCI: designware-ep: Allow pci_epc_set_bar() update
> inbound map address").
>
> Now that this capability is exposed via the dynamic_inbound_mapping EPC
> feature bit, set it for DWC-based EP glue drivers using a common
> initializer macro to avoid duplicating the same flag in each driver.
>
> Note that pci-layerscape-ep.c is untouched. It currently constructs the
> feature struct dynamically in ls_pcie_ep_init(). Once converted to a
> static feature definition, it will use DWC_EPC_COMMON_FEATURES as well.
>
> Reviewed-by: Frank Li <Frank.Li at nxp.com>
> Signed-off-by: Koichiro Den <den at valinux.co.jp>
> ---
Reviewed-by: Niklas Cassel <cassel at kernel.org>
More information about the Linuxppc-dev
mailing list