Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2026 16:50:31 +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-kNWcAoEZspkZKm1uBqU0V=O%2BfunWPXeLBuwiafMy3emw0g@mail.gmail.com>
In-Reply-To: <CAN8-kNU8v00a_XgpxkU4VV8hV3z2hUkrfE9pfZXmznHN64a3Gw@mail.gmail.com>
References:  <CAN8-kNXEN6f4GtTeFhp7WsL1DvSAap0i401f0F8v0Qg=4OhRbA@mail.gmail.com> <4ba2049c-7744-4e47-a2ed-b6830a4f2086@freebsd.org> <CAN8-kNW948kxmeAwF9YTgT5EfT47C1QvCF=meUVQ8zR4L95pwA@mail.gmail.com> <70c93f00-d736-4ff9-b96a-c5c0a5121a7e@freebsd.org> <a9ad804a-6877-49b3-8f7d-d1a874c723aa@freebsd.org> <CAN8-kNU8v00a_XgpxkU4VV8hV3z2hUkrfE9pfZXmznHN64a3Gw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

I have opened a revision to add Cezanne support to amdsmu:
https://reviews.freebsd.org/D55594

Also pushed to the 'everything' branch on my repo. Can you check that
it works for you? And please send me 'sysctl dev.amdsmu.0'.

Thanks!

On Sat, 28 Feb 2026 at 12:21, obiwac <obiwac@freebsd.org> wrote:
>
> > amdsmu still does not attach, at least not from dmesg indications.
>
> Yeah, I'm working on Cezanne support for the amdsmu. There's a couple
> workarounds needed for this it would seem.
>
> > Also
> > note that my machine does not have Thunderbolt or USB4.
>
> Nice, that certainly makes things easier :)
>
> On Sat, 28 Feb 2026 at 04:25, Charlie Li <vishwin@freebsd.org> wrote:
> >
> > Charlie Li wrote:
> > > On 25/02/2026 04:52, obiwac wrote:
> > >> 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.
> > >>
> > > % pciconf -lv
> > > hostb0@pci0:0:0:0:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1630 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne Root Complex'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > none0@pci0:0:0:2:    class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1631 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne IOMMU'
> > >      class      = base peripheral
> > >      subclass   = IOMMU
> > > hostb1@pci0:0:1:0:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1632 subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir PCIe Dummy Host Bridge'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb2@pci0:0:2:0:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1632 subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir PCIe Dummy Host Bridge'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > pcib1@pci0:0:2:1:    class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022
> > > device=0x1634 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne PCIe GPP Bridge'
> > >      class      = bridge
> > >      subclass   = PCI-PCI
> > > pcib2@pci0:0:2:2:    class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022
> > > device=0x1634 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne PCIe GPP Bridge'
> > >      class      = bridge
> > >      subclass   = PCI-PCI
> > > pcib3@pci0:0:2:3:    class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022
> > > device=0x1634 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne PCIe GPP Bridge'
> > >      class      = bridge
> > >      subclass   = PCI-PCI
> > > pcib4@pci0:0:2:7:    class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022
> > > device=0x1634 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne PCIe GPP Bridge'
> > >      class      = bridge
> > >      subclass   = PCI-PCI
> > > hostb3@pci0:0:8:0:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1632 subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir PCIe Dummy Host Bridge'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > pcib5@pci0:0:8:1:    class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022
> > > device=0x1635 subvendor=0x5095 subdevice=0x17aa
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir Internal PCIe GPP Bridge to Bus'
> > >      class      = bridge
> > >      subclass   = PCI-PCI
> > > intsmb0@pci0:0:20:0:    class=0x0c0500 rev=0x51 hdr=0x00 vendor=0x1022
> > > device=0x790b subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'FCH SMBus Controller'
> > >      class      = serial bus
> > >      subclass   = SMBus
> > > isab1@pci0:0:20:3:    class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022
> > > device=0x790e subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'FCH LPC Bridge'
> > >      class      = bridge
> > >      subclass   = PCI-ISA
> > > hostb4@pci0:0:24:0:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166a subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 0'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb5@pci0:0:24:1:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166b subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 1'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb6@pci0:0:24:2:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166c subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 2'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb7@pci0:0:24:3:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166d subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 3'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb8@pci0:0:24:4:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166e subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 4'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb9@pci0:0:24:5:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x166f subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 5'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb10@pci0:0:24:6:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1670 subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 6'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > hostb11@pci0:0:24:7:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1671 subvendor=0x0000 subdevice=0x0000
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Cezanne Data Fabric; Function 7'
> > >      class      = bridge
> > >      subclass   = HOST-PCI
> > > nvme0@pci0:1:0:0:    [snip, interchangeable part, not relevant]
> > > re0@pci0:2:0:0:    class=0x020000 rev=0x0e hdr=0x00 vendor=0x10ec
> > > device=0x8168 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Realtek Semiconductor Co., Ltd.'
> > >      device     = 'RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
> > > Controller'
> > >      class      = network
> > >      subclass   = ethernet
> > > iwlwifi0@pci0:3:0:0:    [snip, interchangeable part, not relevant]
> > > xhci0@pci0:4:0:0:    class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x1912
> > > device=0x0015 subvendor=0x1912 subdevice=0x0015
> > >      vendor     = 'Renesas Electronics Corp.'
> > >      device     = 'uPD720202 USB 3.0 Host Controller'
> > >      class      = serial bus
> > >      subclass   = USB
> > > vgapci0@pci0:5:0:0:    class=0x030000 rev=0xd2 hdr=0x00 vendor=0x1002
> > > device=0x1638 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
> > >      device     = 'Cezanne [Radeon Vega Series / Radeon Vega Mobile
> > > Series]'
> > >      class      = display
> > >      subclass   = VGA
> > > hdac0@pci0:5:0:1:    class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002
> > > device=0x1637 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
> > >      device     = 'Renoir/Cezanne HDMI/DP Audio Controller'
> > >      class      = multimedia
> > >      subclass   = HDA
> > > none1@pci0:5:0:2:    class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x15df subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Raven/Raven2/FireFlight/Renoir/Cezanne Platform
> > > Security Processor'
> > >      class      = encrypt/decrypt
> > > xhci1@pci0:5:0:3:    class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1639 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne USB 3.1'
> > >      class      = serial bus
> > >      subclass   = USB
> > > xhci2@pci0:5:0:4:    class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x1639 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Renoir/Cezanne USB 3.1'
> > >      class      = serial bus
> > >      subclass   = USB
> > > none2@pci0:5:0:5:    class=0x048000 rev=0x01 hdr=0x00 vendor=0x1022
> > > device=0x15e2 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Audio Coprocessor'
> > >      class      = multimedia
> > > hdac1@pci0:5:0:6:    class=0x040300 rev=0x00 hdr=0x00 vendor=0x1022
> > > device=0x15e3 subvendor=0x17aa subdevice=0x5095
> > >      vendor     = 'Advanced Micro Devices, Inc. [AMD]'
> > >      device     = 'Ryzen HD Audio Controller'
> > >      class      = multimedia
> > >      subclass   = HDA
> > >>> 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.
> > >>
> > > Currently building, let's see what happens.
> > >
> > amdsmu still does not attach, at least not from dmesg indications. Also
> > note that my machine does not have Thunderbolt or USB4.
> >
> > --
> > 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-kNWcAoEZspkZKm1uBqU0V=O%2BfunWPXeLBuwiafMy3emw0g>