+hz97QUyzam2Bwr240khlyS2pXpRjyh 5uetUZTIq5MR/WEHJwZpcWCd7v+WqsG+JR4XLMA6nCCXBc5BH2pvJ8bnSyrqLw1ToK43ioYx8Sp 4BrFH0Q/kTdyb8CxhAxYzIG8e6lwfuM1jmAm6epNbQld4N/dA2vCvaX8tKlH+wEZY1L/y6N2gNP YbtixuOJvVhP1hiKWhRDThnvq7x7+R6YpWIdSbixzFol4VFQAXQ7uA8XNegkKF3OwaLjc8Ug0OG HybnkLp6q6yNbZhrbzkWJfo1tTsccHsMMyAogScd1O59x7eTUAFOoeLKJF+OeyOYtjodhgR/OkN ggeQEjF7az9p2UDKjuHfB3MpN6aog9OTcDEG2KQ//YaMmFKg== X-Google-Smtp-Source: AGHT+IHr/5mDe0rXVYyhyRD/kY0N4BtNpZbxGVSDB8TlQ8tRNsPDguPQxpgXruVuFO1nlUE/2aGJDw== X-Received: by 2002:a05:6808:1b0d:b0:43f:7a07:44e4 with SMTP id 5614622812f47-443a315b367mr5148061b6e.51.1760970445060; Mon, 20 Oct 2025 07:27:25 -0700 (PDT) Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com. [209.85.160.46]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7c288932b2dsm2678531a34.30.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:24 -0700 (PDT) Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-3c917ea655bso2973857fac.1 for ; Mon, 20 Oct 2025 07:27:24 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUj9kw7AHmT+F3t6skrqkh2Pvm1Kg6NVER54B6F3FI9MW/vqwk1Puvwgo1iOMBEpwNJ/nGUY1Tq3VxjLPWBF+U=@freebsd.org 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: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@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.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.90)[-0.902]; FORGED_SENDER(0.30)[obiwac@freebsd.org,obiwac@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[obiwac@freebsd.org,obiwac@gmail.com]; FREEFALL_USER(0.00)[obiwac]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.181:from]; R_DKIM_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.46:received,209.85.167.181:from] X-Rspamd-Queue-Id: 4cqySG2qB7z4PmX 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