Loading
PCI: dwc: Use multiple iATU windows for mapping large bridge windows and DMA ranges
The DWC driver tries to use a single iATU region for mapping the individual entries of the bridge window and DMA range. If a bridge window/DMA range is larger than the iATU inbound/outbound window size, then the mapping will fail. Hence, avoid this failure by using multiple iATU windows to map the whole region. If the region runs out of iATU windows, then return failure. Signed-off-by:Charles Mirabile <cmirabil@redhat.com> Signed-off-by:
Samuel Holland <samuel.holland@sifive.com> Co-developed-by:
Randolph Lin <randolph@andestech.com> Signed-off-by:
Randolph Lin <randolph@andestech.com> [mani: reworded description, minor code cleanup] Signed-off-by:
Manivannan Sadhasivam <mani@kernel.org> Reviewed-by:
Niklas Cassel <cassel@kernel.org> Reviewed-by:
Frank Li <Frank.Li@nxp.com> Acked-by:
Charles Mirabile <cmirabil@redhat.com> Link: https://patch.msgid.link/20260109113430.2767264-1-randolph@andestech.com