Re: [PATCH v2 00/11] PCI: BAR resizing fix/rework

Bjorn Helgaas
2025-11-14T18:36:01Z

On Fri, Nov 14, 2025 at 12:06:00PM +0000, Alex Bennée wrote:
> Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> writes:
>
> > Hi all,
> >
> > Thanks to issue reports from Simon Richter and Alex Bennée, I
> > discovered BAR resize rollback can corrupt the resource tree. As fixing
> > corruption requires avoiding overlapping resource assignments, the
> > correct fix can unfortunately results in worse user experience, what
> > appeared to be "working" previously might no longer do so. Thus, I had
> > to do a larger rework to pci_resize_resource() in order to properly
> > restore resource states as it was prior to BAR resize.
> <snip>
> >
> > base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
>
> Ahh I have applied to 6.18-rc5 with minor conflicts and can verify that
> on my AVA the AMD GPU shows up again and I can run inference jobs
> against it. So for that case:
>
> Tested-by: Alex Bennée <alex.bennee@linaro.org>

Thanks, Alex! I added your Tested-by to this series, except for these
which I don't think are relevant for you:

drm/xe: Remove driver side BAR release before resize
drm/i915: Remove driver side BAR release before resize