Re: [PATCH 1/1] PCI: acpiphp:: use pci_assign_unassigned_bridge_resources() only if bus->self not NULL

From: Bjorn Helgaas
Date: Tue Aug 08 2023 - 16:24:37 EST


On Tue, Aug 08, 2023 at 11:25:06AM +0200, Michal Koutný wrote:
> Hello.
>
> On Wed, Jul 26, 2023 at 02:35:18PM +0200, Igor Mammedov <imammedo@xxxxxxxxxx> wrote:
> > The issue was discovered on Dell Inspiron 7352/0W6WV0 laptop with
> > following sequence:
> > 1. suspend to RAM
> > 2. wake up with the same backtrace being observed:
> > 3. 2nd suspend to RAM attempt makes laptop freeze
>
> My Dell laptop suffers this since v6.5-rc1.
> I've found this thread because of the same call stack triggering the
> NULL ptr dereference I captured on my machine.
>
> I applied this patch and resume works as before and I have observed no
> issues during typical usage.
>
> I'd be glad if a fix like this makes it into the next -rc.
> Feel free to add
>
> Tested-by: Michal Koutný <mkoutny@xxxxxxxx>

Added tested-by for both you and Woody, thank you very much! This
should appear in -rc6.

Bjorn