From nobody Tue Jul 14 15:20:18 2026 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 4h03030gV0z6ksd9 for ; Tue, 14 Jul 2026 15:20:19 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h03025mBwz3W1B for ; Tue, 14 Jul 2026 15:20:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784042418; 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=4Ov3uzw/h70dQ8hHKE0o4mt3C2AqVchixJDW/IdFRPw=; b=wZ6/OtIviEi39l0qPbRWF+HEUWl1uR2fpbXnnotAY0yk3mmtrhUmUsXNmJ4pdmwuGnn3Oe VwyUMCmosiCYubxdi58No5IC8E8UBx18R+oRFTr/kyvMsBfPn+VtIcORB6PnwMFnfNlsF/ uZm5Iz6qhEP0pKsAxoNNwmR48GJfwb1P3Ec0KR+4AKxI9XVm97cPOAiGxTrHZB/kyb6Dws XSY4vA8FkU+XZgdeQ5FMutYqqike9J3yxgiucxobmWpgRMdcR6M1SCzyxmRhOBmYFqqgso Let2CbeswZ/eeH4vgmqnoMQwhSdL41NK77fKVPRJfYaz5mC3RLE2oyxHbdRmyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784042418; a=rsa-sha256; cv=none; b=jIGFL/rKrTCtXj7n9S970OJ7ZlExtw2MEDxvtTeoyskMp/fTapeJBBouKWGU/NWlFRwLwk YI5Pjne1dFz41ylRAfo2S9ab2dK/+3F3u6UDT/HQ5LZP1v/fyqlv1Gwd9l3Q9dF+5auwYQ 0qYvHcHw6kGuyoKM2nZ31f719sLV9sHiP0oL8JvLi5JC8nCcFImJR4IODJCbiFFrMegLMt yT4gDBixP7gd++PjKbVAf4tIVT43RPUb0aH7a+zC5fx9OJlsyYRFFJqMXHuNTB6zrVGaDa JGo0KTiV2Kx/487cU8Pr6BwBPX0xDdJq/BVlizzE5Adu9m4tEcN5up+hhhJWwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784042418; 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=4Ov3uzw/h70dQ8hHKE0o4mt3C2AqVchixJDW/IdFRPw=; b=SVK0fCnWCcRCTm9ufOdcGLWhNZ5YvArMJfXyLVgZf2QacaBhsoZv0PbJJG24m8U8tfviys yb3/Sjrz8d7g2gOxEZjg3jk0JQJUcw1ZIxTQcdTmfg8Tl9BGNfROCvAdfVnRchbkhRA7xy 5RKPlkGxKqRzwylWGMQugRdL9yvwA1fJ6VsIOgC6qnjSazjcDXS3MqseuUw57iGIWNUZq4 B3ymJQhUH+Y4PZH3VzjRfJPQIHrbUNkH4y9xmyVOFL0Gurvg83nd1gboQdiJOwAqT6C1XQ HdDp8THyY84S4I3vFQd2X1ZgiKISmcbllPX2n4+HIq7OgGufZAyNnZuDkdgiBw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h03024L78zqnR for ; Tue, 14 Jul 2026 15:20:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 404b5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 14 Jul 2026 15:20:18 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Olivier Certner Subject: git: 0a7f0d7c9a - main - Status/2026Q2/hibernate.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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0a7f0d7c9a1364ea57fd20270746607ff5eb618f Auto-Submitted: auto-generated Date: Tue, 14 Jul 2026 15:20:18 +0000 Message-Id: <6a5653b2.404b5.45a022eb@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/doc/commit/?id=0a7f0d7c9a1364ea57fd20270746607ff5eb618f commit 0a7f0d7c9a1364ea57fd20270746607ff5eb618f Author: Olivier Certner AuthorDate: 2026-07-06 12:59:22 +0000 Commit: Olivier Certner CommitDate: 2026-07-14 15:19:15 +0000 Status/2026Q2/hibernate.adoc: Add report Reviewed by: salvadore Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58052 --- .../status/report-2026-04-2026-06/hibernate.adoc | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/website/content/en/status/report-2026-04-2026-06/hibernate.adoc b/website/content/en/status/report-2026-04-2026-06/hibernate.adoc new file mode 100644 index 0000000000..75e9823368 --- /dev/null +++ b/website/content/en/status/report-2026-04-2026-06/hibernate.adoc @@ -0,0 +1,26 @@ +=== Hibernate (aka Suspend-to-disk) + +Links: + +link:https://github.com/OlCe2/freebsd-src/tree/oc-hibernate[Image saving prototype] URL: https://github.com/OlCe2/freebsd-src/tree/oc-hibernate + +link:https://github.com/OlCe2/freebsd-src/tree/for_kib-hiber[EFI loader] URL: https://github.com/OlCe2/freebsd-src/tree/for_kib-hiber + +Contact: Olivier Certner + +Contact: Konstantin Belousov + +Work is ongoing to have FreeBSD support hibernate (suspend-to-disk), without BIOS/firmware assistance to save the current machine state, for `amd64` UEFI-booted machines. +See also the link:../report-2026-01-2026-03/#_hibernate_aka_suspend_to_disk[previous report]. + +After a pause of almost two months, we fixed some bugs in the image saving prototype, rebased it on recent code, and revised the interface between the kernel and the resume EFI loader, requiring some changes on both sides. +This lead to a number of changes in ACPI general suspend/resume code and in-passing fixes. +Work is in progress in the EFI loader (stage 1). +A sketch of the kernel resume part (stage 2) was devised. + +Some more discussion happened about how to save the system image while preserving its consistency, as the dump operation itself modifies kernel memory. +The aim is to narrow down which components can interfere with the dump, and how to prevent that interference. +In particular, it appears that low-level DMA and IOMMU code could perform memory allocations in certain circumstances, and it is yet unclear if that could happen during a dump. +Once determined, we will pursue eliminating these circumstances if possible, else will work on a snapshot-like mechanism. +Beyond that aspect, a live snapshot mechanism could be beneficial as it allows to use any kernel facility without restriction to perform the dump, and in particular alleviates the need to have one dump routine per disk driver. + +We presented the current status of this work, associated challenges and possible implementation of a snapshot-like mechanism at BSDCan in June, and will do so again at EuroBSDCon in September. + +Sponsor: The FreeBSD Foundation