Thread (51 messages) 51 messages, 8 authors, 2024-11-15

Re: [PATCH v3 05/12] PCI: of_property: Assign PCI instead of CPU bus address to dynamic bridge nodes

From: Herve Codina <herve.codina@bootlin.com>
Date: 2024-11-04 08:06:34
Also in: linux-clk, linux-devicetree, linux-gpio, linux-pci, lkml

Hi Andrea,

On Mon, 28 Oct 2024 15:07:22 +0100
Andrea della Porta [off-list ref] wrote:
When populating "ranges" property for a PCI bridge, of_pci_prop_ranges()
incorrectly use the CPU bus address of the resource. Since this is a PCI-PCI
bridge, the window should instead be in PCI address space. Call
pci_bus_address() on the resource in order to obtain the PCI bus
address.

Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Tested ok with my LAN966x PCI device.

Tested-by: Herve Codina <herve.codina@bootlin.com>

Best regards,
Hervé
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help