Re: [PATCH v5 0/3] PCI: dwc: Clean up iATU index mess

Manivannan Sadhasivam
2026-01-28T08:02:14Z

On Tue, Jan 27, 2026 at 04:10:38PM +0100, Niklas Cassel wrote:
> This series tries to clean up the iATU index mess, by treating
> iATU indexing for outbound and inbound address translation in
> a consistent way (increment the index after assignment, and only
> if the function call succeeded).
>

Series looks good to me. However, I'd prefer waiting for Maciej's testing before
merging.

- Mani

>
> Changes since v4:
> -Squashed patch 1 and 2, as suggested by Damien.
> -Added Cc: stable+noautosel for the ECAM patch, such that stable
> maintainers will see the dependency needed by this patch.
>
>
> Link to v4:
> https://lore.kernel.org/linux-pci/20260123182835.831710-6-cassel@kernel.org/
>
> Link to v3:
> https://lore.kernel.org/linux-pci/20260123093208.593506-6-cassel@kernel.org/
>
> Link to v2:
> https://lore.kernel.org/linux-pci/20260122222914.523238-6-cassel@kernel.org/
>
> Link to v1:
> https://lore.kernel.org/linux-pci/20260122145411.453291-4-cassel@kernel.org/
>
>
> Krishna Chaitanya Chundru (1):
> PCI: dwc: Fix missing iATU setup when ECAM is enabled
>
> Niklas Cassel (2):
> PCI: dwc: Fix msg_atu_index assignment
> PCI: dwc: Clean up iATU index usage in dw_pcie_iatu_setup()
>
> .../pci/controller/dwc/pcie-designware-host.c | 91 ++++++++++++-------
> drivers/pci/controller/dwc/pcie-designware.c | 6 ++
> 2 files changed, 62 insertions(+), 35 deletions(-)
>
>
> base-commit: 0ecd890e3cf54a0586247b9a384702703277e4fd
> --
> 2.52.0
>

--
மணிவண்ணன் சதாசிவம்