Re: [PATCH v4] PCI: Fix BAR resize for devices on a root bus

From: Liz Fong-Jones

Date: Tue Sep 08 2026 - 19:06:50 EST


On Ilpo Järvinen wrote:
> Maybe this is what has to be done here, but I wonder if this could
> use pci_bus_assign_resources()?

Good suggestion, and it brings the else condition of this code into
alignment with your design goal that the core bookkeeping code should
be used as much as possible. Implemented in v5 (note to reviewers, I
am clearing reviewed-by as this is semantically different):

https://patch.msgid.link/20260908-pci-rebar-root-bus-v5-1-a210f405ea81@xxxxxxxxxxxx