PCI: Use downstream bridges for distributing resources
PATCH v2 1/1 PCI: Use downstream bridges for distributing resources
Commit 7180c1d08639 ("PCI: Distribute available resources for root buses, too") breaks BAR assignment on some devcies:
[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assign
The apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:01
6300c0000000-6300c9ffffff : PCI Bus 0006:02
6300c0000000-6300c8ffffff : PCI Bus 0006:03
6300c0000000-6300c1ffffff : 0006:03:00.0
6300c0000000-6300c1ffffff : mlx5_core
6300c2000000-6300c3ffffff : 0006:03:00.1
6300c2000000-6300c3ffffff : mlx5_core
6300c4000000-6300c47fffff : 0006:03:00.2
6300c4800000-6300c67fffff : 0006:03:00.0
6300c6800000-6300c87fffff : 0006:03:00.1
6300c9000000-6300c9bfffff : PCI Bus 0006:04
6300c9000000-6300c9bfffff : PCI Bus 0006:05
6300c9000000-6300c91fffff : PCI Bus 0006:06
6300c9200000-6300c93fffff : PCI Bus 0006:07
6300c9400000-6300c95fffff : PCI Bus 0006:08
6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:01
6300c0000000-6300c9ffffff : PCI Bus 0006:02
6300c0000000-6300c43fffff : PCI Bus 0006:03
6300c0000000-6300c1ffffff : 0006:03:00.0
6300c0000000-6300c1ffffff : mlx5_core
6300c2000000-6300c3ffffff : 0006:03:00.1
6300c2000000-6300c3ffffff : mlx5_core
6300c4400000-6300c4dfffff : PCI Bus 0006:04
6300c4400000-6300c4dfffff : PCI Bus 0006:05
6300c4400000-6300c45fffff : PCI Bus 0006:06
6300c4600000-6300c47fffff : PCI Bus 0006:07
6300c4800000-6300c49fffff : PCI Bus 0006:08
6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of io_per_b, mmio_per_b and mmio_pref_per_b becomes incorrect.
Instead, distributing downstream bridges' own resources to resolve the issue.
--- drivers/pci/setup-bus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/pci/setup-bus.c +1 -2
@@ -2105,8 +2105,7 @@ pci_root_bus_distribute_available_resources(struct pci_bus *bus,* in case of root bus. */ if (bridge &&pci_bridge_resources_not_assigned (dev)) -pci_bridge_distribute_available_resources (bridge, - add_list); +pci_bridge_distribute_available_resources (dev, add_list);else pci_root_bus_distribute_available_resources (b, add_list); }
Signature · 1 line
2.47.0
Quoted 54 lines · Kai-Heng Feng
Commit
7180c1d08639("PCI: Distribute available resources for root buses, too") breaks BAR assignment on some devcies:[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assignThe apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c8ffffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4000000-6300c47fffff : 0006:03:00.2 6300c4800000-6300c67fffff : 0006:03:00.0 6300c6800000-6300c87fffff : 0006:03:00.1 6300c9000000-6300c9bfffff : PCI Bus 0006:04 6300c9000000-6300c9bfffff : PCI Bus 0006:05 6300c9000000-6300c91fffff : PCI Bus 0006:06 6300c9200000-6300c93fffff : PCI Bus 0006:07 6300c9400000-6300c95fffff : PCI Bus 0006:08 6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c43fffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4400000-6300c4dfffff : PCI Bus 0006:04 6300c4400000-6300c4dfffff : PCI Bus 0006:05 6300c4400000-6300c45fffff : PCI Bus 0006:06 6300c4600000-6300c47fffff : PCI Bus 0006:07 6300c4800000-6300c49fffff : PCI Bus 0006:08 6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of
io_per_b,mmio_per_bandmmio_pref_per_bbecomes incorrect.
Quoted 8 lines
Instead, distributing downstream bridges' own resources to resolve the issue.
Cc Carol Soto <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Chris Chiu <[email protected]>Cc Mika Westerberg <[email protected]>
Hi Bjorn,
Quoted 61 lines · Mika Westerberg
External email: Use caution opening links or attachments
Quoted 57 lines · Kai-Heng Feng
Commit
7180c1d08639("PCI: Distribute available resources for root buses, too") breaks BAR assignment on some devcies:[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assignThe apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c8ffffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4000000-6300c47fffff : 0006:03:00.2 6300c4800000-6300c67fffff : 0006:03:00.0 6300c6800000-6300c87fffff : 0006:03:00.1 6300c9000000-6300c9bfffff : PCI Bus 0006:04 6300c9000000-6300c9bfffff : PCI Bus 0006:05 6300c9000000-6300c91fffff : PCI Bus 0006:06 6300c9200000-6300c93fffff : PCI Bus 0006:07 6300c9400000-6300c95fffff : PCI Bus 0006:08 6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c43fffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4400000-6300c4dfffff : PCI Bus 0006:04 6300c4400000-6300c4dfffff : PCI Bus 0006:05 6300c4400000-6300c45fffff : PCI Bus 0006:06 6300c4600000-6300c47fffff : PCI Bus 0006:07 6300c4800000-6300c49fffff : PCI Bus 0006:08 6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of
io_per_b,mmio_per_bandmmio_pref_per_bbecomes incorrect.Instead, distributing downstream bridges' own resources to resolve the issue.
Quoted 7 lines
Quoted 5 lines
Cc Carol Soto <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Chris Chiu <[email protected]>Cc Mika Westerberg <[email protected]>Reviewed-by Mika Westerberg <[email protected]>
Is it possible to pickup this up in 6.13 window?
Kai-Heng
Quoted 70 lines · Kai-Heng Feng
Hi Bjorn,
Quoted 67 lines · Mika Westerberg
External email: Use caution opening links or attachments
Quoted 62 lines · Kai-Heng Feng
Commit
7180c1d08639("PCI: Distribute available resources for root
buses, too") breaks BAR assignment on some devcies:
[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size0x0080000064bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size0x0080000064bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size0x0200000064bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size0x0200000064bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size0x0200000064bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size0x0200000064bit pref]: failed to assignThe apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00 6300c0000000-6300c9ffffff : PCI Bus 0006:01 6300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c8ffffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff :mlx5_core6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff :mlx5_core6300c4000000-6300c47fffff : 0006:03:00.2 6300c4800000-6300c67fffff : 0006:03:00.0 6300c6800000-6300c87fffff : 0006:03:00.1 6300c9000000-6300c9bfffff : PCI Bus 0006:04 6300c9000000-6300c9bfffff : PCI Bus 0006:05 6300c9000000-6300c91fffff : PCI Bus 0006:06 6300c9200000-6300c93fffff : PCI Bus 0006:07 6300c9400000-6300c95fffff : PCI Bus 0006:08 6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00 6300c0000000-6300c9ffffff : PCI Bus 0006:01 6300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c43fffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff :mlx5_core6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff :mlx5_core6300c4400000-6300c4dfffff : PCI Bus 0006:04 6300c4400000-6300c4dfffff : PCI Bus 0006:05 6300c4400000-6300c45fffff : PCI Bus 0006:06 6300c4600000-6300c47fffff : PCI Bus 0006:07 6300c4800000-6300c49fffff : PCI Bus 0006:08 6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of
io_per_b,mmio_per_bandmmio_pref_per_bbecomes incorrect.Instead, distributing downstream bridges' own resources to resolve the issue.
Cc Carol Soto <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Chris Chiu <[email protected]>Cc Mika Westerberg <[email protected]>
Quoted 3 lines
Quoted 1 line
Reviewed-by Mika Westerberg <[email protected]>Is it possible to pickup this up in 6.13 window?
Now 6.14 window is open, is it possible to include this fix?
Kai-Heng
Quoted 2 lines
Kai-Heng
Quoted 73 lines · Kai-Heng Feng
Quoted 70 lines · Kai-Heng Feng
Hi Bjorn,
Quoted 67 lines · Mika Westerberg
External email: Use caution opening links or attachments
Quoted 62 lines · Kai-Heng Feng
Commit
7180c1d08639("PCI: Distribute available resources for root
buses, too") breaks BAR assignment on some devcies:
[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size0x0080000064bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size0x0080000064bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size0x0200000064bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size0x0200000064bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size0x0200000064bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size0x0200000064bit pref]: failed to assignThe apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00 6300c0000000-6300c9ffffff : PCI Bus 0006:01 6300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c8ffffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff :mlx5_core6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff :mlx5_core6300c4000000-6300c47fffff : 0006:03:00.2 6300c4800000-6300c67fffff : 0006:03:00.0 6300c6800000-6300c87fffff : 0006:03:00.1 6300c9000000-6300c9bfffff : PCI Bus 0006:04 6300c9000000-6300c9bfffff : PCI Bus 0006:05 6300c9000000-6300c91fffff : PCI Bus 0006:06 6300c9200000-6300c93fffff : PCI Bus 0006:07 6300c9400000-6300c95fffff : PCI Bus 0006:08 6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00 6300c0000000-6300c9ffffff : PCI Bus 0006:01 6300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c43fffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff :mlx5_core6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff :mlx5_core6300c4400000-6300c4dfffff : PCI Bus 0006:04 6300c4400000-6300c4dfffff : PCI Bus 0006:05 6300c4400000-6300c45fffff : PCI Bus 0006:06 6300c4600000-6300c47fffff : PCI Bus 0006:07 6300c4800000-6300c49fffff : PCI Bus 0006:08 6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of
io_per_b,mmio_per_bandmmio_pref_per_bbecomes incorrect.Instead, distributing downstream bridges' own resources to resolve the issue.
Cc Carol Soto <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Chris Chiu <[email protected]>Cc Mika Westerberg <[email protected]>
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Reviewed-by Mika Westerberg <[email protected]>Is it possible to pickup this up in 6.13 window?
Now 6.14 window is open, is it possible to include this fix?
Another gentle ping...
Quoted 6 lines
Kai-Heng
Quoted 2 lines
Kai-Heng
Quoted 57 lines · Kai-Heng Feng
Commit
7180c1d08639("PCI: Distribute available resources for root buses, too") breaks BAR assignment on some devcies:[ 10.021193] pci 0006:03:00.0: BAR 0 [mem 0x6300c0000000-0x6300c1ffffff 64bit pref]: assigned [ 10.029880] pci 0006:03:00.1: BAR 0 [mem 0x6300c2000000-0x6300c3ffffff 64bit pref]: assigned [ 10.038561] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: can't assign; no space [ 10.047191] pci 0006:03:00.2: BAR 0 [mem size 0x00800000 64bit pref]: failed to assign [ 10.055285] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.064180] pci 0006:03:00.0: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assign [ 10.072543] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: can't assign; no space [ 10.081437] pci 0006:03:00.1: VF BAR 0 [mem size 0x02000000 64bit pref]: failed to assignThe apertures of domain 0006 before the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c8ffffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4000000-6300c47fffff : 0006:03:00.2 6300c4800000-6300c67fffff : 0006:03:00.0 6300c6800000-6300c87fffff : 0006:03:00.1 6300c9000000-6300c9bfffff : PCI Bus 0006:04 6300c9000000-6300c9bfffff : PCI Bus 0006:05 6300c9000000-6300c91fffff : PCI Bus 0006:06 6300c9200000-6300c93fffff : PCI Bus 0006:07 6300c9400000-6300c95fffff : PCI Bus 0006:08 6300c9600000-6300c97fffff : PCI Bus 0006:09After the commit:
6300c0000000-63ffffffffff : PCI Bus 0006:00
6300c0000000-6300c9ffffff : PCI Bus 0006:016300c0000000-6300c9ffffff : PCI Bus 0006:02 6300c0000000-6300c43fffff : PCI Bus 0006:03 6300c0000000-6300c1ffffff : 0006:03:00.0 6300c0000000-6300c1ffffff : mlx5_core 6300c2000000-6300c3ffffff : 0006:03:00.1 6300c2000000-6300c3ffffff : mlx5_core 6300c4400000-6300c4dfffff : PCI Bus 0006:04 6300c4400000-6300c4dfffff : PCI Bus 0006:05 6300c4400000-6300c45fffff : PCI Bus 0006:06 6300c4600000-6300c47fffff : PCI Bus 0006:07 6300c4800000-6300c49fffff : PCI Bus 0006:08 6300c4a00000-6300c4bfffff : PCI Bus 0006:09We can see that the window of 0006:03 gets shrunken too much and 0006:04 eats away the window for 0006:03:00.2.
The offending commit distributes the upstream bridge's resources multiple times to every downstream bridges, hence makes the aperture smaller than desired because calculation of
io_per_b,mmio_per_bandmmio_pref_per_bbecomes incorrect.Instead, distributing downstream bridges' own resources to resolve the issue.
Quoted 8 lines
Cc Carol Soto <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Chris Chiu <[email protected]>Cc Mika Westerberg <[email protected]>Fixes 7180c1d08639 ("PCI: Distribute available resources for root buses, too")Signed-off-by Kai-Heng Feng <[email protected]>
Applied with Mika's Reviewed-by to pci/resource for v6.15, thanks!
Quoted 21 lines
--- drivers/pci/setup-bus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/pci/setup-bus.c +1
-2@@ -2105,8 +2105,7 @@ pci_root_bus_distribute_available_resources(struct pci_bus *bus,* in case of root bus. */ if (bridge &&pci_bridge_resources_not_assigned (dev)) -pci_bridge_distribute_available_resources (bridge, - add_list); +pci_bridge_distribute_available_resources (dev, add_list);else pci_root_bus_distribute_available_resources (b, add_list); }Signature · 1 line
2.47.0