Re: [PATCH 02/11] PCI: Use Header Type in __pci_bridge_assign_resources()

From: Ilpo Järvinen

Date: Tue Dec 01 2026 - 12:18:41 EST


On Mon, 9 Nov 2026, Ilpo Järvinen wrote:

> Commit b2fb5cc57469 ("PCI: Rely on config space header type, not class
> code") converted bridge window sizing and assignment to use the Header
> Type but __pci_bridge_assign_resources() still uses the Class Code to
> decide how to program the bridge windows. A Type 1 bridge whose Class
> Code is not PCI_CLASS_BRIDGE_PCI gets its windows sized and assigned but
> they are never programmed into the bridge.
>
> Use the Header Type also in __pci_bridge_assign_resources().
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

This patch has been superceded by:

https://lore.kernel.org/all/20261201155844.2278-5-ilpo.jarvinen@xxxxxxxxxxxxxxx/

--
i.