Re: [PATCH 1/2] PCI: Setup bridge resources earlier

Bhanu Seshu Kumar Valluri
2025-10-17T18:23:05Z

Hi,

I want to report that this PATCH also break PCI RC port on TI-AM64-EVM.

I did git bisect and it pointed to the a43ac325c7cb ("PCI: Set up bridge resources earlier")

Happy to help if any testing or logs are required.

echo 1 > /sys/bus/pci/rescan
[ 37.170389] pci 0000:01:00.0: [104c:b010] type 00 class 0xff0000 PCIe Endpoint
[ 37.177781] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x0000ffff]
[ 37.183808] pci 0000:01:00.0: BAR 1 [mem 0x00000000-0x000001ff]
[ 37.189843] pci 0000:01:00.0: BAR 2 [mem 0x00000000-0x000003ff]
[ 37.195802] pci 0000:01:00.0: BAR 3 [mem 0x00000000-0x00003fff]
[ 37.201768] pci 0000:01:00.0: BAR 4 [mem 0x00000000-0x0001ffff]
[ 37.207715] pci 0000:01:00.0: BAR 5 [mem 0x00000000-0x000fffff]
[ 37.214040] pci 0000:01:00.0: supports D1
[ 37.218083] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[ 37.231890] pci 0000:01:00.0: BAR 5 [mem 0x68100000-0x681fffff]: assigned
[ 37.242890] pci 0000:01:00.0: BAR 4 [mem size 0x00020000]: can't assign; no space
[ 37.251216] pci 0000:01:00.0: BAR 4 [mem size 0x00020000]: failed to assign
[ 37.258309] pci 0000:01:00.0: BAR 0 [mem size 0x00010000]: can't assign; no space
[ 37.265851] pci 0000:01:00.0: BAR 0 [mem size 0x00010000]: failed to assign
[ 37.272896] pci 0000:01:00.0: BAR 3 [mem size 0x00004000]: can't assign; no space
[ 37.280439] pci 0000:01:00.0: BAR 3 [mem size 0x00004000]: failed to assign
[ 37.287459] pci 0000:01:00.0: BAR 2 [mem size 0x00000400]: can't assign; no space
[ 37.294986] pci 0000:01:00.0: BAR 2 [mem size 0x00000400]: failed to assign
[ 37.302011] pci 0000:01:00.0: BAR 1 [mem size 0x00000200]: can't assign; no space
[ 37.309536] pci 0000:01:00.0: BAR 1 [mem size 0x00000200]: failed to assign
[ 37.316595] pci 0000:01:00.0: BAR 5 [mem 0x68100000-0x681fffff]: releasing
[ 37.323541] pci 0000:01:00.0: BAR 5 [mem 0x68100000-0x681fffff]: assigned
[ 37.330400] pci 0000:01:00.0: BAR 4 [mem size 0x00020000]: can't assign; no space
[ 37.337956] pci 0000:01:00.0: BAR 4 [mem size 0x00020000]: failed to assign
[ 37.344960] pci 0000:01:00.0: BAR 0 [mem size 0x00010000]: can't assign; no space
[ 37.352550] pci 0000:01:00.0: BAR 0 [mem size 0x00010000]: failed to assign
[ 37.359578] pci 0000:01:00.0: BAR 3 [mem size 0x00004000]: can't assign; no space
[ 37.367152] pci 0000:01:00.0: BAR 3 [mem size 0x00004000]: failed to assign
[ 37.374192] pci 0000:01:00.0: BAR 2 [mem size 0x00000400]: can't assign; no space
[ 37.381709] pci 0000:01:00.0: BAR 2 [mem size 0x00000400]: failed to assign
[ 37.388720] pci 0000:01:00.0: BAR 1 [mem size 0x00000200]: can't assign; no space
[ 37.396246] pci 0000:01:00.0: BAR 1 [mem size 0x00000200]: failed to assign
[ 37.403795] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
[ 37.410513] pci-endpoint-test 0000:01:00.0: enabling device (0000 -> 0002)
[ 37.417796] pci-endpoint-test 0000:01:00.0: Cannot perform PCI test without BAR0

Regards,
Bhanu Seshu Kumar Valluri