From nobody Sun Oct 5 09:57:51 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cfdB73f5Rz69QHN for ; Sun, 05 Oct 2025 09:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cfdB71kdnz3Sb8; Sun, 05 Oct 2025 09:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759658271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSqzgLlxSPamVZVv6XgUiUpzs46Bt8btYTOVs8FPN0Y=; b=R7mxK2kGMFu3wZ3G5v32XNhHeNr9X5yqU94WD8v8/ttuZXxSl0mu/mItQwHC8wondxg0c7 DGeNRexa4k410k7uH9HIrzkHoDGt7ZGwdxXrSQhx/Qk0btcQARPfocwFFx2zfS8Ss07XaC ud6TF87dQYa67DfIhrcwDpL9BDLzrO1EOOu4WjlqXxw8DaxMwupya08WWccsgOaZzUZnlx gW4wsl7jTne5GS1F5D466kUg4N3sbzE6DfllSm9CA+7KSnacd0XcQSwo6AlCer3yY/J7Yi r/IySluKtwJa1e0x/w7iIntxWm23y0kApBdnlpW4heUFfvLITG5uaJUEnKRj2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759658271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSqzgLlxSPamVZVv6XgUiUpzs46Bt8btYTOVs8FPN0Y=; b=HhScHJJ3DJoxiaZRYxo4CZjrSjVLH6YDTA79YMq7tUpXulJL/8MQQBNEqxXhhDAetNshcb DppgRmZnK+jGBsu4BCFJ72FNrBz1EyUb3bX3z7eUvNfgrmLVTnAQAcZ89VptZN/8EURYDH 8ZbbyX/f7OCxwUX2wNnd9x6NOaFx28E2thaOnx+hx36BHPF+RLiu7cJ4FJL4fLXn9JV8AB z/PODpoxIo8SQWO/Mn+rEY+DX4czZacf1xpKH/JYsafTusZHzyveyxPn9fMxGwOCymCx7T VpqM4WZMVGaetY1+MsDMyZ9NRoQKuhAKMovjH+G1lqmxTU2C5fjUW17W20ZjOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759658271; a=rsa-sha256; cv=none; b=K4kxUKDH/6tsbwA+VHS8gET1rLJYvYv06qrq2CeJODW7e/2XmwIVd9C8iDg6szPZU5JOk0 zNj/UEK65OHqtob0aiHFA9GmWzCIp0xGY9jWncR07AKLW1Svfi49Uba/336BkbAHov6h5k fkYh7b5KAcTxY/VocKNz6rVjx6cEmkqux8i4Qb6CHARGtpZwFXbK3PQLZkeI7k+M3K5ySp mjNzJXrfp2kq6oBHqzmfeNVADBmZmDtS4rOaOU3RoE4iJzurIozW/bdgA348RL3KtK43jY fZ64IbZ5j713Tx8mW3HJc3ymZzrGkaPauDD03eqYYKqgZIJ3pJA4ktiPgbay5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cfdB71L3Wz1MC0; Sun, 05 Oct 2025 09:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5959vp7Q000406; Sun, 5 Oct 2025 09:57:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5959vp0G000403; Sun, 5 Oct 2025 09:57:51 GMT (envelope-from git) Date: Sun, 5 Oct 2025 09:57:51 GMT Message-Id: <202510050957.5959vp0G000403@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: d0ae816944 - main - Status/2025Q3/suspend.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d0ae8169445c6b8eb557c76497c193e3ca41fe25 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=d0ae8169445c6b8eb557c76497c193e3ca41fe25 commit d0ae8169445c6b8eb557c76497c193e3ca41fe25 Author: Aymeric Wibo AuthorDate: 2025-10-05 09:18:21 +0000 Commit: Lorenzo Salvadore CommitDate: 2025-10-05 09:53:44 +0000 Status/2025Q3/suspend.adoc: Add report Differential Revision: https://reviews.freebsd.org/D52707 --- .../en/status/report-2025-07-2025-09/suspend.adoc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/website/content/en/status/report-2025-07-2025-09/suspend.adoc b/website/content/en/status/report-2025-07-2025-09/suspend.adoc new file mode 100644 index 0000000000..1e4f48a9bb --- /dev/null +++ b/website/content/en/status/report-2025-07-2025-09/suspend.adoc @@ -0,0 +1,29 @@ +=== Suspend/Resume Improvement + +Links: + +link:https://obiw.ac/s0ix/[Blog] URL: link:https://obiw.ac/s0ix/[] + +link:https://youtu.be/RCjPc4X2Edc[BSDCan talk on s2idle/S0ix] URL: https://youtu.be/RCjPc4X2Edc[] + +link:https://people.freebsd.org/~obiwac/s0ix/[Sleep testing image] URL: https://people.freebsd.org/~obiwac/s0ix/[] + +link:https://github.com/obiwac/freebsd-s0ix/tree/everything[Working Repo] URL: link:https://github.com/obiwac/freebsd-s0ix/tree/everything[] + +link:https://reviews.freebsd.org/D48721[Tip of the s2idle/S0ix + AMD SMU stack] URL: https://reviews.freebsd.org/D48721[] + + +Contact: obiwac + +Suspend-to-idle and support for S0ix sleep is in the process of being added to FreeBSD. + +This will allow modern Intel and AMD laptops, some of which do not support ACPI S3 sleep, to enter low power states to increase battery life. + +Entry to S0i3 is now working reliably on the Framework 13 AMD Ryzen 7040 series laptops on FreeBSD 15. +This required changes to LinuxKPI for DRM to know whether the system intends to enter S3 or S0ix: link:https://reviews.freebsd.org/D51591[D51591]. + +These changes in turn required the creation of generic sleep types, separate from ACPI. +Not all of these changes have yet been committed, but new hw.power.* sysctls will be created to choose the sleep type for various sleep state transition requests. + +The amdsmu driver, some ACPI changes and fixes, and GPIO interrupt servicing in amdgpio have been committed. + +A pre-built sleep testing image is now available to easily testing S0i3 entry on machines. +Detailed instructions are on the webpage. + +With respect to the links, the blog post entry is still outdated. + +Sponsor: The FreeBSD Foundation