[PATCH] PCI: of_property: Assign PCI instead of CPU bus address to dynamic PCI nodes
Herve Codina
herve.codina at bootlin.com
Fri Nov 8 02:09:38 PST 2024
Hi Andrea,
On Fri, 8 Nov 2024 10:42:56 +0100
Andrea della Porta <andrea.porta at suse.com> wrote:
> When populating "ranges" property for a PCI bridge or endpoint,
> of_pci_prop_ranges() incorrectly use the CPU bus address of the resource.
> In such PCI nodes, the window should instead be in PCI address space. Call
> pci_bus_address() on the resource in order to obtain the PCI bus
> address.
>
> Fixes: 407d1a51921e ("PCI: Create device tree node for bridge")
> Cc: stable at vger.kernel.org
> Signed-off-by: Andrea della Porta <andrea.porta at suse.com>
> Acked-by: Bjorn Helgaas <bhelgaas at google.com>
> Tested-by: Herve Codina <herve.codina at bootlin.com>
> ---
> This patch, originally preparatory for a bigger patchset (see [1]), has
> been splitted in a standalone one for better management and because it
> contains a bugfix which is probably of interest to stable branch.
Nothing to say for the patch itself.
Just here, you mentioned "see [1]" but you didn't provide the link.
IMHO, this is not blocking for applying the patch but, just for other people
looking at this email in the mailing list, can you reply providing the link?
Best regards,
Hervé
More information about the linux-arm-kernel
mailing list