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

Niklas Cassel
2026-02-05T13:23:22Z

On Thu, Feb 05, 2026 at 06:26:51PM +0530, Manivannan Sadhasivam wrote:
>
> On Tue, 27 Jan 2026 16:10:38 +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).
> >
> >
> > 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.
> >
> > [...]
>
> Applied, thanks!
>
> [1/3] PCI: dwc: Fix msg_atu_index assignment
> commit: 58fbf08935d9c4396417e5887df89a4e681fa7e3
> [2/3] PCI: dwc: Clean up iATU index usage in dw_pcie_iatu_setup()
> commit: b5dab9b38da0a05949458276dde9227c38aa1b39
> [3/3] PCI: dwc: Fix missing iATU setup when ECAM is enabled
> commit: 43d324eeb08c3dd9fff7eb9a2c617afd3b96e65c
>
> Best regards,
> --
> Manivannan Sadhasivam <mani@kernel.org>
>

Thank you Mani!

If possible, I think it would be nice if we could get:
https://lore.kernel.org/linux-pci/20260202145407.503348-1-den@valinux.co.jp/T/#t

Since it is fixing some minor things with the new feature inbound subrange
mappings.

You can probably even squash it if that is preferred.
Although, if you squash merge it,

this commit

commit 72cb5ed2a5c6d87f71a409347f7d3b228fee6bee
Author: Aksh Garg <a-garg7@ti.com>
Date: Fri Jan 30 17:25:15 2026 +0530

PCI: dwc: ep: Add per-PF BAR and inbound ATU mapping support

(...)

Fixes: 24ede430fa49 ("PCI: designware-ep: Add multiple PFs support for DWC")
Fixes: cc839bef7727 ("PCI: dwc: ep: Support BAR subrange inbound mapping via Address Match Mode iATU")

has a Fixes that that references the commit that adds subrange inbound
mapping. (So if you squash merge it, you probably want to update the Fixes tag too.)

Kind regards,
Niklas