]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: dwc: Rename cpu_addr to parent_bus_addr for ATU configuration
authorFrank Li <Frank.Li@nxp.com>
Sat, 15 Mar 2025 20:15:37 +0000 (15:15 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Mar 2025 19:18:53 +0000 (14:18 -0500)
commit513ef9c4965b0077037db97f8481d00b5c7ee994
tree5eb62a92fb1b0ec858e6123d32d5e6569a65815b
parent8f4a489b370e6612700aa16b9e4373b2d85d7503
PCI: dwc: Rename cpu_addr to parent_bus_addr for ATU configuration

Rename 'cpu_addr' to 'parent_bus_addr' in the DesignWare ATU configuration.

The ATU translates parent bus addresses to PCI addresses, which are often
the same as CPU addresses but can differ in systems where the bus fabric
translates addresses before passing them to the PCIe controller. This
renaming clarifies the purpose and avoids confusion.

Link: https://lore.kernel.org/r/20250315201548.858189-3-helgaas@kernel.org
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-designware-ep.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h