From nobody Mon Oct 20 14:27:13 2025 X-Original-To: freebsd-current@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 4cqySH6gxQz6CVsv for ; Mon, 20 Oct 2025 14:27:27 +0000 (UTC) (envelope-from obiwac@gmail.com) Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqySG6hlTz4Pw2 for ; Mon, 20 Oct 2025 14:27:26 +0000 (UTC) (envelope-from obiwac@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of obiwac@gmail.com designates 209.85.160.46 as permitted sender) smtp.mailfrom=obiwac@gmail.com Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-3c972dec6easo2706446fac.3 for ; Mon, 20 Oct 2025 07:27:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760970445; x=1761575245; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zwcdEvtywydbKViHTi7ejQxYehtpg8IHAlDc4isVLTU=; b=t49izIGagwbDNnzkqB9hFdKpW3qFbMf6StbjvvPJBvRxivmt61r75KQ1//0sPlWTH0 Vh2I6KM6GOfxLjExszRztROrZD7lgemHPJqaP5MLgOPMukemCUndSJSfFtNcjfMJex0Y ErMKJKYqRAJvsZbIBmEmO6Zfu2LvOhCDiu5zYbqvS/GotFiFjT8YuZHmR8eoSq9QdWED 4y4b1swmrGutrZcRnWfa5DcklebuiJl6ipETyYFyk06t29hBBe3M9yt9GtyHMFi5U3LP KK1tgASUI4iWjOvVcjDpK6zDpEn3twx019WT+wsr1/kns9lfwmZRSw66uw4guk7t90g+ Tgkw== X-Gm-Message-State: AOJu0YwTE8jHEETUjEs0DucCmityU+8pWROBPQ3w5XAaHOAN7YOeHVfi DgP4/LmLEK1Pke+90aFlsIphr+lCH/yBM72Dm4gEzHVpfocMIljNsmnQuwuFNA== X-Gm-Gg: ASbGncs2A8RIa8KFqX5RrBfCUv4N0vDB6fdmb02Tea80bWX8YQ4I8NHmvyox3PdR/iK wmOPLniND42jip+K2ILl5mYB6c97P0JOiSwkm2/9dWhMlad+54sgex9v4r/q7c7v+AXqvK8Qpm1 ClPn9Lly03UmkxQE4p3E3W5/euDphTsPIqiJVCO/dlRfNQ8Ny85z1Phzmxm++Dha4n6SS7N0uEs ak4IvRlZA2IzRPaRZxMHdDrRA5XHIXXpNmWazqSTljXRtQIG2ELRaSTRAypVrf6JcajM/rJcpzK SaZOPSsjFo6yS/VWvUQm6eXudUwuoXkgLnXXaHONuXDybaK4TtWQkJdoyP7Cfa+e7acmIbenfkt k5kkw6cZAWbp6NJxXP8asUAvUwDdikEFmkI3e84EHeDY6ow0rATaikNnxS1I+yIqqHR8tnoI8kb TKH/9+G2PCgXv/gbBciBMUkQzjEa5aN4iCX9TJzyaAplQg4JvzrCbe/o7P X-Google-Smtp-Source: AGHT+IFpH5CY5sN3vuldN6XV1hsFKoUHkn5RbpAei9lsch5a71Y/pAXP3QLP+oNkFG9zI7TbX6vVQA== X-Received: by 2002:a05:6870:6123:b0:36d:535f:830c with SMTP id 586e51a60fabf-3c98cf4305bmr4819726fac.17.1760970445175; Mon, 20 Oct 2025 07:27:25 -0700 (PDT) Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com. [209.85.160.45]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-3c9af360cedsm2211203fac.18.2025.10.20.07.27.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Oct 2025 07:27:25 -0700 (PDT) Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-3c96de7fe7eso2877299fac.0 for ; Mon, 20 Oct 2025 07:27:24 -0700 (PDT) X-Received: by 2002:a05:6870:64a9:b0:3ae:f15:5df3 with SMTP id 586e51a60fabf-3c98d0a57d6mr5666990fac.27.1760970444682; Mon, 20 Oct 2025 07:27:24 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: obiwac Date: Mon, 20 Oct 2025 16:27:13 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AS18NWDzJWe1nTcZRHDtMbwLPMmS08XpO_TBWs2mg3xw4QvyE7C_znHKf495nso Message-ID: Subject: S0i3 sleep testing image To: FreeBSD CURRENT , freebsd-hackers Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.90)[-0.900]; FORGED_SENDER(0.30)[obiwac@freebsd.org,obiwac@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.46:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[obiwac]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[obiwac@freebsd.org,obiwac@gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.46:from,209.85.160.45:received] X-Rspamd-Queue-Id: 4cqySG6hlTz4Pw2 Hia everyone! I am currently working on S0i3 support for FreeBSD, and I have prepared a sleep testing image to make it easier to test this on a wide variety of different hardware. You can find these images here: https://people.freebsd.org/~obiwac/s0ix/ They are expected to successfully enter S0i3 on 7040 series AMD processors, and may work on a wider variety of (AMD) machines (I do not expect this to work out of the box on Intel, but I have never tried this out). Instructions about how to read the S0i3 entry metrics are available in the /root/README file or on that page. You can also of course build the kernel yourself instead: https://github.com/obiwac/freebsd-s0ix/tree/everything If you are interested in trying this out for yourself, it would be great if you could send me the ACPI dump of your machine (acpidump -dt) as well as the SMU metrics sysctl tree on AMD (sysctl dev.amdsmu.0). Thanks! Aymeric