Date: Wed, 25 Feb 2026 10:52:19 +0100 From: obiwac <obiwac@freebsd.org> To: Charlie Li <vishwin@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: S0i3 sleep testing image Message-ID: <CAN8-kNW948kxmeAwF9YTgT5EfT47C1QvCF=meUVQ8zR4L95pwA@mail.gmail.com> In-Reply-To: <4ba2049c-7744-4e47-a2ed-b6830a4f2086@freebsd.org> References: <CAN8-kNXEN6f4GtTeFhp7WsL1DvSAap0i401f0F8v0Qg=4OhRbA@mail.gmail.com> <4ba2049c-7744-4e47-a2ed-b6830a4f2086@freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hey Charlie! I believe Green Sardine is Cezanne, but just to be sure, can you send me your pciconf -lv? There shouldn't be anything crazy to do to support the Cezanne SMU. USB4 should just work. > Looking at your repository it seems like some of the commits have since > landed in main, so not sure how the rest should be rebased. Yeah, the 'everything' branch was out of date (I have a different branch for development, 'working2', as in "I'm working on this" not necessarily "this works", but that contains some non-S0ix-related patches too). I have just updated it: https://github.com/obiwac/freebsd-s0ix/pull/15 This should now work for you. I will have to update the sleep testing image soon-ish, but I want to figure out my C3 exit issues first. On Wed, 25 Feb 2026 at 05:57, Charlie Li <vishwin@freebsd.org> wrote: > > On 20/10/2025 10:27, obiwac wrote: > > 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). > > > Old thread; some other folks have prodded and I keep forgetting about > wanting to try this out since I have a Green Sardine machine, > specifically a ThinkPad X13 gen 2 AMD. This one has the BIOS option to > switch between S3 and S0ix, but the former does not actually work, as in > the machine never resumes and a hard power cut is needed. > > Looking at your repository it seems like some of the commits have since > landed in main, so not sure how the rest should be rebased. One of the > items now in main is amdsmu, but it seems that the device is not > available for this machine yet. > > -- > Charlie Li > ...nope, still don't have an exit line.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN8-kNW948kxmeAwF9YTgT5EfT47C1QvCF=meUVQ8zR4L95pwA>
