Re: [PATCH 1/2] PCI: dwc: Allow drivers to skip MEM outbound iATU setup
From: Niklas Cassel
Date: Thu Sep 03 2026 - 12:28:21 EST
On Thu, Sep 03, 2026 at 05:17:13PM +0200, Niklas Cassel wrote:
>
> To consider allowing this, at the bare minimum you would have to:
>
> if pp->bypass_ob_mem_iatu is set:
>
> 1) Verify that the glue driver has no .cpu_addr_fixup callback defined.
Looking at dw_pcie_parent_bus_offset(), I can see that it already computes
pci->parent_bus_offset correctly, regardless of pci->ops->cpu_addr_fixup and
pci->use_parent_dt_ranges, so atu.parent_bus_addr will be set correctly.
Thus, you can ignore 1).
But 2) would still be very much needed.
Kind regards,
Niklas