bsd-current@freebsd.org> (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