On Mon, Oct 27, 2025 at 02:39:27PM +0200, Ilpo Järvinen wrote:
On Sat, 25 Oct 2025, Sasha Levin wrote:
From: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
[ Upstream commit a43ac325c7cbbfe72bdf9178059b3ee9f5a2c7dd ]
Bridge windows are read twice from PCI Config Space, the first time from pci_read_bridge_windows(), which does not set up the device's resources. This causes problems down the road as child resources of the bridge cannot check whether they reside within the bridge window or not.
Set up the bridge windows already in pci_read_bridge_windows().
Signed-off-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com Signed-off-by: Bjorn Helgaas bhelgaas@google.com Link: https://patch.msgid.link/20250924134228.1663-2-ilpo.jarvinen@linux.intel.com Signed-off-by: Sasha Levin sashal@kernel.org
This change was reverted by the commit 469276c06aff ("PCI: Revert early bridge resource set up").
Dropped, thanks!