Re: [PATCH 0/3] PCI: Fix hotplug memory distribute

From: Bjorn Helgaas

Date: Mon Nov 09 2026 - 18:00:05 EST


On Mon, Nov 09, 2026 at 04:45:50PM +0200, Ilpo Järvinen wrote:
> There are a few simple to fix issues within the code distributing the
> available iomem (and ioport) space to bridges (to allow using it during
> hotplug). The worst issue results in violating window granularity
> (usually 1M for mem windows).
>
> Ilpo Järvinen (3):
> PCI: Fix NULL dereference when shrinking window without optional size
> PCI: Fix start of available space for the next bridge during
> distribution
> PCI: Honor window granularity during resource distribution
>
> drivers/pci/setup-bus.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)

Applied to pci/resource for v7.5, thank you!