mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: remove redundant resource assignments done after BAR resize
@ 2026-11-09 13:10 Ilpo Järvinen
  2026-11-09 13:10 ` [PATCH 1/3] PCI/sysfs: Remove resource assignment " Ilpo Järvinen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ilpo Järvinen @ 2026-11-09 13:10 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci, linux-kernel, Matthew Brost,
	Thomas Hellström, Rodrigo Vivi, David Airlie, Simona Vetter,
	intel-xe, dri-devel, Jani Nikula, Joonas Lahtinen
  Cc: Ilpo Järvinen

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(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.47.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-09 22:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 13:10 [PATCH 0/3] PCI: remove redundant resource assignments done after BAR resize Ilpo Järvinen
2026-11-09 13:10 ` [PATCH 1/3] PCI/sysfs: Remove resource assignment " Ilpo Järvinen
2026-11-09 13:10 ` [PATCH 2/3] drm/xe: Remove driver side " Ilpo Järvinen
2026-11-09 15:00   ` Rodrigo Vivi
2026-11-09 13:10 ` [PATCH 3/3] drm/i915: " Ilpo Järvinen
2026-11-09 13:50   ` Joonas Lahtinen
2026-11-09 22:51 ` [PATCH 0/3] PCI: remove redundant resource assignments done " Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®