Re: [PATCH 06/13] i82875p_edac: Convert to pci_assign_unassigned_bus_resources()

From: Borislav Petkov

Date: Mon Nov 16 2026 - 10:40:31 EST


In addition to this, Tony, should we orphan this one too?

It is a P4-something-chipset...

On Mon, Nov 16, 2026 at 05:23:51PM +0200, Ilpo Järvinen wrote:
> The i82875p_edac driver scans single device and then attempts to assign
> its resource using pci_bus_assign_resources(). That function makes
> bridge window sizing disjoint from the assignment phase and is going to
> be removed.
>
> Convert pci_bus_assign_resources() to
> pci_assign_unassigned_bus_resources() which is likely no-op in this case
> as it looks like bridges are not involved here.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
> drivers/edac/i82875p_edac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c
> index 869de8e372b3..59a92a209dea 100644
> --- a/drivers/edac/i82875p_edac.c
> +++ b/drivers/edac/i82875p_edac.c
> @@ -290,7 +290,7 @@ static int i82875p_setup_overfl_dev(struct pci_dev *pdev,
> if (dev == NULL)
> return 1;
>
> - pci_bus_assign_resources(dev->bus);
> + pci_assign_unassigned_bus_resources(dev->bus);
> pci_bus_add_device(dev);
> }
>
> --
> 2.47.3
>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette