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

From: Michal Koutný
Date: Tue Aug 08 2023 - 15:15:35 EST


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>

Thanks for looking into this,
Michal

Attachment: signature.asc
Description: PGP signature