Re: [PATCH v3] PCI: Fix BAR resize for devices on a root bus
From: Thorsten Leemhuis
Date: Thu Sep 03 2026 - 11:20:01 EST
On 7/31/26 19:34, Liz Fong-Jones via B4 Relay wrote:
> From: Liz Fong-Jones <lizf@xxxxxxxxxxxx>
>
> pci_do_resource_release_and_resize() releases the device BARs that
> share a bridge window with the BAR being resized, but when the device
> sits directly on a root bus (pdev->bus->self == NULL) it then skips
> resource assignment entirely and returns success, leaving the BARs it
> just released unassigned (IORESOURCE_UNSET).
> [...]
> Fixes: 337b1b566db0 ("PCI: Fix restoring BARs on BAR resize rollback path")
> Cc: stable@xxxxxxxxxxxxxxx
> Link: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2159596
Liz Fong-Jones: is this regression fix still needed with 7.3-rc1? I
assume so. But if it is, I guess it would be good to state that; maybe
reposting this might be even better, as I fear it might have fallen
through the cracks.
Ciao, Thorsten