All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 217664] Laptop doesnt wake up from suspend mode.
Date: Mon, 28 Aug 2023 22:00:54 +0000	[thread overview]
Message-ID: <bug-217664-2300-BEyrfPGigp@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-217664-2300@https.bugzilla.kernel.org/>

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

--- Comment #46 from Mario Limonciello (AMD) (mario.limonciello@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.

  parent reply	other threads:[~2023-08-28 22:00 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12  9:59 [Bug 217664] New: Laptop doesnt wake up from suspend mode bugzilla-daemon
2023-07-12 10:03 ` [Bug 217664] " bugzilla-daemon
2023-07-12 10:03 ` bugzilla-daemon
2023-07-14  2:24 ` bugzilla-daemon
2023-07-14  7:28 ` bugzilla-daemon
2023-07-15 14:16 ` bugzilla-daemon
2023-07-19 21:22 ` bugzilla-daemon
2023-08-02  7:35 ` bugzilla-daemon
2023-08-04 13:44 ` bugzilla-daemon
2023-08-16  6:52 ` bugzilla-daemon
2023-08-16  6:53 ` bugzilla-daemon
2023-08-16 12:29 ` bugzilla-daemon
2023-08-16 15:35 ` bugzilla-daemon
2023-08-16 15:38 ` bugzilla-daemon
2023-08-16 17:54 ` bugzilla-daemon
2023-08-16 18:12 ` bugzilla-daemon
2023-08-17  7:58 ` bugzilla-daemon
2023-08-17 16:40 ` bugzilla-daemon
2023-08-17 17:09 ` bugzilla-daemon
2023-08-17 17:09 ` bugzilla-daemon
2023-08-18  2:49 ` bugzilla-daemon
2023-08-18  2:51 ` bugzilla-daemon
2023-08-18 13:26 ` bugzilla-daemon
2023-08-19 17:04 ` bugzilla-daemon
2023-08-19 17:13 ` bugzilla-daemon
2023-08-23 12:51 ` bugzilla-daemon
2023-08-23 13:32 ` bugzilla-daemon
2023-08-23 22:09 ` bugzilla-daemon
2023-08-23 22:52 ` bugzilla-daemon
2023-08-24 10:13 ` bugzilla-daemon
2023-08-24 18:29 ` bugzilla-daemon
2023-08-25  6:06 ` bugzilla-daemon
2023-08-25  6:07 ` bugzilla-daemon
2023-08-25  6:07 ` bugzilla-daemon
2023-08-25  6:08 ` bugzilla-daemon
2023-08-25  6:21 ` bugzilla-daemon
2023-08-25  6:33 ` bugzilla-daemon
2023-08-25 19:07 ` bugzilla-daemon
2023-08-26 17:15 ` bugzilla-daemon
2023-08-27  4:11 ` bugzilla-daemon
2023-08-27  6:44 ` bugzilla-daemon
2023-08-28  1:15 ` bugzilla-daemon
2023-08-28 18:39 ` bugzilla-daemon
2023-08-28 19:13 ` bugzilla-daemon
2023-08-28 19:13 ` bugzilla-daemon
2023-08-28 21:14 ` bugzilla-daemon
2023-08-28 21:26 ` bugzilla-daemon
2023-08-28 21:38 ` bugzilla-daemon
2023-08-28 22:00 ` bugzilla-daemon [this message]
2023-08-28 22:02 ` bugzilla-daemon
2023-08-28 22:03 ` [Bug 217664] Medion AMD Laptop doesn't wake up from s2idle with SATA disk bugzilla-daemon
2023-08-28 22:03 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-217664-2300-BEyrfPGigp@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.