[Bug 217664] Laptop doesnt wake up from suspend mode.

bugzilla-daemon at kernel.org bugzilla-daemon at kernel.org
Mon Aug 28 22:00:54 UTC 2023


https://bugzilla.kernel.org/show_bug.cgi?id=217664

--- Comment #46 from Mario Limonciello (AMD) (mario.limonciello at amd.com) ---
(In reply to popus_czy_to_ty from comment #43)
> Created attachment 304974 [details]
> acpi dump

It appears that your system doesn't have the StorageD3Enable _DSD on any of the
AHCI ports, it's only for NVME.  However we already have a force for this in
the kernel for your system since kernel 6.3-rc1.:

> 2023-08-27 07:32:12,410 INFO: ✅ AMD Ryzen 5 5600H with Radeon Graphics
> (family 19 model 50)

https://github.com/torvalds/linux/commit/e2a56364485e7789e7b8f342637c7f3a219f7ede

> also i changed value from =3 to =0 on CONFIG_SATA_MOBILE_LPM_POLICY and i was
> able to compile it smoothly and run, but still no change

3 is the right value (medium with DPM enabled)

> Aug 26 17:57:15 Crawler-E25 kernel: ata1.00: Features: Trust Dev-Sleep
> NCQ-sndrcv

The disk supports the feature we need, DevSlp.

> Aug 26 17:57:15 Crawler-E25 kernel: ahci 0000:06:00.0: flags: 64bit ncq sntf
> ilck pm led clo only pmp fbs pio slum part 

The controller does not support 'sds' or 'sadm'.
'sds' is DevSlp
'sadm' is aggressive DevSlp

The 'sds' is the important one, this is what allows the disk to transition to
DevSlp during suspend.

Does your BIOS have any settings for this?

> 2) sata is itself kubuntu 23.04, i will try to install that on main nvme
> (after how to learn build from source not from distro

Something else you can do if it makes your experimentation easier is to take a
live USB key of Ubuntu and boot off that with your SATA disk disconnected. 
This should let you test whether this feature works without the SATA disk.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list