Re: [PATCH 0/3] PCI: remove redundant resource assignments done after BAR resize
From: Bjorn Helgaas
Date: Mon Nov 09 2026 - 17:51:48 EST
On Mon, Nov 09, 2026 at 03:10:07PM +0200, Ilpo Järvinen wrote:
> The BAR resize rework removed the resource assignment call that
> followed the BAR resize in amdgpu. The xe and i915 drivers and the
> PCI sysfs resize interface still make the same call.
>
> The current BAR resize code should properly assign all resources and
> handle fallback gracefully so a driver-side call to assign resource
> right after BAR resize is just duplicate work (no-op). If that isn't
> the case somewhere, the fix belongs either the BAR resize code or the
> code that left the resource unassigned (e.g. a hotplug race or whatever
> left an resource unassigned prior to resize).
>
> If drm wants to take their patches out of these, it's fine with me
> (either drm+pci or through pci tree only works for me).
>
>
> Ilpo Järvinen (3):
> PCI/sysfs: Remove resource assignment after BAR resize
> drm/xe: Remove driver side resource assignment after BAR resize
> drm/i915: Remove driver side resource assignment after BAR resize
>
> drivers/gpu/drm/i915/gt/intel_region_lmem.c | 1 -
> drivers/gpu/drm/xe/xe_pci_rebar.c | 2 --
> drivers/pci/pci-sysfs.c | 3 ---
> 3 files changed, 6 deletions(-)
All applied to pci/resource for v7.5, thank you!