Date: Wed, 25 Feb 2026 10:10:37 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= <roger.pau@citrix.com> To: Aymeric Wibo <obiwac@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: c5daa5a4c32c - main - acpi_spmc: Add system power management controller driver Message-ID: <aZ68jV8g7XOZEYjG@macbook.local> In-Reply-To: <69776f5e.2500f.227efeb7@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Mon, Jan 26, 2026 at 01:42:54PM +0000, Aymeric Wibo wrote: > The branch main has been updated by obiwac: > > URL: https://cgit.FreeBSD.org/src/commit/?id=c5daa5a4c32c9b1ecb506ddf1a80579c93c3ea6d > > commit c5daa5a4c32c9b1ecb506ddf1a80579c93c3ea6d > Author: Aymeric Wibo <obiwac@FreeBSD.org> > AuthorDate: 2025-06-14 15:30:44 +0000 > Commit: Aymeric Wibo <obiwac@FreeBSD.org> > CommitDate: 2026-01-26 13:42:11 +0000 > > acpi_spmc: Add system power management controller driver > > Add SPMC (system power management controller) driver as acpi_spmc. This > is the device which provides the LPI device D-state constraints and > allows for OSPM to send S0ix/modern standby entry/exit notifications. > This supports the original Intel DSM > (https://uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf, > untested), the AMD DSM (tested), and the Microsoft DSM (tested). > > Before entry, acpi_spmc_check_constraints is called to notify of any > violated power constraints. This will use acpi_pwr_get_state to get > current device D-states when that gets added back. I'm getting a lot of "acpi_spmc0: Unknown revision" messages from this driver on my box, below is the full (non-verbose) boot log. However the affect of those messages is not clear to me. Does it mean S0ix won't work? Or are those just warning messages? The logged text and occurrence of those should be adjusted, it's too verbose right now and the printed message doesn't help the user figure out what's going on. Thanks, Roger. --- EFI framebuffer information: addr, size 0x0, 0x0 dimensions 0 x 0 stride 0 masks 0x00000000, 0x00000000, 0x00000000, 0x00000000 Timeout initializing vt_vga GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<<BOOT>>--- Copyright (c) 1992-2026 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 16.0-CURRENT #6 -dirty: Wed Feb 25 09:50:30 CET 2026 root@nuc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU microcode: no matching update found CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (2803.20-MHz K8-class CPU) Origin="GenuineIntel" Id=0x806c1 Family=0x6 Model=0x8c Stepping=1 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x121<LAHF,ABM,Prefetch> Structured Extended Features=0xf3bfa7eb<FSGSBASE,TSCADJ,BMI1,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,NFPUSG,PQE,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PROCTRACE,AVX512CD,SHA,AVX512BW,AVX512VL> Structured Extended Features2=0x18c05fde<AVX512VBMI,UMIP,PKU,OSPKE,AVX512VBMI2,GFNI,VAES,VPCLMULQDQ,AVX512VNNI,AVX512BITALG,AVX512VPOPCNTDQ,RDPID,MOVDIRI,MOVDIR64B> Structured Extended Features3=0xfc100710<FSRM,AVX512VP2INTERSECT,MCUOPT,MD_CLEAR,IBT,IBPB,STIBP,L1DFL,ARCH_CAP,CORE_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0xa005c6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16203403264 (15452 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL NUC11TNB> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads random: registering fast source Intel Secure Key Seed random: fast provider: "Intel Secure Key Seed" random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 Launching APs: 1 5 4 7 6 2 3 random: entropy device external interface kbd0 at kbdmux0 efirtc0: <EFI Realtime Clock> efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: <System Management BIOS> at iomem 0x414ca000-0x414ca017 smbios0: Entry point: v3 (64-bit), Version: 3.3 aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> acpi0: <INTEL> acpi0: Power Button (fixed) cpu0: <ACPI CPU> on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 19200000 Hz quality 950 Event timer "HPET" frequency 19200000 Hz quality 550 atrtc1: <AT realtime clock> on acpi0 atrtc1: Warning: Couldn't map I/O. atrtc1: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_ec0: <Embedded Controller: GPE 0x6e> port 0x62,0x66 on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0x3000-0x303f mem 0x603c000000-0x603cffffff,0x4000000000-0x400fffffff at device 2.0 on pci0 vgapci0: Boot video device pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci1: <ACPI PCI bus> on pcib1 nvme0: <Generic NVMe Device> mem 0x6a400000-0x6a403fff at device 0.0 on pci1 pcib2: <ACPI PCI-PCI bridge> at device 7.0 on pci0 pcib3: <ACPI PCI-PCI bridge> at device 7.2 on pci0 xhci0: <Intel Tiger Lake-LP Thunderbolt 4 USB controller> mem 0x603d190000-0x603d19ffff at device 13.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: xECP capabilities <PROTO,PROTO,VEND(c0),LEGACY,VEND(c6),VEND(c7),VEND(c2),DEBUG,VEND(c3),VEND(c4),VEND(ce),VEND(c8),VEND(c9),VEND(ca),VEND(cb),VEND(cc),VEND(cd)> usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <serial bus, USB> at device 13.2 (no driver attached) pci0: <serial bus, USB> at device 13.3 (no driver attached) xhci1: <Intel Tiger Lake-LP USB 3.2 controller> mem 0x603d180000-0x603d18ffff at device 20.0 on pci0 xhci1: 32 bytes context size, 64-bit DMA xhci1: xECP capabilities <PROTO,PROTO,VEND(c0),LEGACY,VEND(c6),VEND(c7),VEND(c2),DEBUG,VEND(c3),VEND(c4),VEND(ce),VEND(c8),VEND(c9),VEND(ca),VEND(cb),VEND(cc),VEND(cd)> usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pci0: <memory, RAM> at device 20.2 (no driver attached) pci0: <network> at device 20.3 (no driver attached) pci0: <serial bus> at device 21.0 (no driver attached) pci0: <serial bus> at device 21.1 (no driver attached) pci0: <simple comms> at device 22.0 (no driver attached) ahci0: <AHCI SATA controller> port 0x3090-0x3097,0x3080-0x3083,0x3060-0x307f mem 0x6a500000-0x6a501fff,0x6a503000-0x6a5030ff,0x6a502000-0x6a5027ff at device 23.0 on pci0 ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 pcib4: <ACPI PCI-PCI bridge> at device 29.0 on pci0 pci2: <ACPI PCI bus> on pcib4 igc0: <Intel(R) Ethernet Controller I225-LM> mem 0x6a200000-0x6a2fffff,0x6a300000-0x6a303fff at device 0.0 on pci2 igc0: EEPROM V1.57-0 eTrack 0x80000181 igc0: Using 1024 TX descriptors and 1024 RX descriptors igc0: Using 4 RX queues 4 TX queues igc0: Using MSI-X interrupts with 5 vectors igc0: Ethernet address: 48:21:0b:35:a5:77 igc0: netmap queues/slots: TX 4/1024, RX 4/1024 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 hdac0: <Intel Tiger Lake HDA Controller> mem 0x603d1a0000-0x603d1a3fff,0x603d000000-0x603d0fffff at device 31.3 on pci0 pci0: <serial bus> at device 31.5 (no driver attached) acpi_button0: <Sleep Button> on acpi0 acpi_spmc0: <Low Power S0 Idle (DSM sets 0x1)> on acpi0 acpi_spmc0: Unknown revision -670172952 for device constraint detail package acpi_spmc0: Unknown revision -670172768 for device constraint detail package acpi_spmc0: Unknown revision -670172584 for device constraint detail package acpi_spmc0: Unknown revision -670172400 for device constraint detail package acpi_spmc0: Unknown revision -670172216 for device constraint detail package acpi_spmc0: Unknown revision -670172032 for device constraint detail package acpi_spmc0: Unknown revision -670171848 for device constraint detail package acpi_spmc0: Unknown revision -670171664 for device constraint detail package acpi_spmc0: Unknown revision -670171480 for device constraint detail package acpi_spmc0: Unknown revision -670171296 for device constraint detail package acpi_spmc0: Unknown revision -670171112 for device constraint detail package acpi_spmc0: Unknown revision -670170928 for device constraint detail package acpi_spmc0: Unknown revision -670170744 for device constraint detail package acpi_spmc0: Unknown revision -670170560 for device constraint detail package acpi_spmc0: Unknown revision -670170376 for device constraint detail package acpi_spmc0: Unknown revision -670170192 for device constraint detail package acpi_spmc0: Unknown revision -670169984 for device constraint detail package acpi_spmc0: Unknown revision -670169800 for device constraint detail package acpi_spmc0: Unknown revision -670169616 for device constraint detail package acpi_spmc0: Unknown revision -670169432 for device constraint detail package acpi_spmc0: Unknown revision -670169248 for device constraint detail package acpi_spmc0: Unknown revision -670169064 for device constraint detail package acpi_spmc0: Unknown revision -670168880 for device constraint detail package acpi_spmc0: Unknown revision -670168696 for device constraint detail package acpi_spmc0: Unknown revision -670168512 for device constraint detail package acpi_spmc0: Unknown revision -670168328 for device constraint detail package acpi_spmc0: Unknown revision -670168112 for device constraint detail package acpi_spmc0: Unknown revision -670167896 for device constraint detail package acpi_spmc0: Unknown revision -670167680 for device constraint detail package acpi_spmc0: Unknown revision -670167464 for device constraint detail package acpi_spmc0: Unknown revision -670167248 for device constraint detail package acpi_spmc0: Unknown revision -670167032 for device constraint detail package acpi_spmc0: Unknown revision -670166816 for device constraint detail package acpi_spmc0: Unknown revision -670166600 for device constraint detail package acpi_spmc0: Unknown revision -670166384 for device constraint detail package acpi_spmc0: Unknown revision -670166168 for device constraint detail package acpi_spmc0: Unknown revision -670165952 for device constraint detail package acpi_spmc0: Unknown revision -670165736 for device constraint detail package acpi_spmc0: Unknown revision -670165520 for device constraint detail package acpi_spmc0: Unknown revision -670165304 for device constraint detail package acpi_spmc0: Unknown revision -670165088 for device constraint detail package acpi_spmc0: Unknown revision -670164872 for device constraint detail package acpi_spmc0: Unknown revision -670164656 for device constraint detail package acpi_spmc0: Unknown revision -670164440 for device constraint detail package acpi_spmc0: Unknown revision -670164224 for device constraint detail package acpi_spmc0: Unknown revision -670164008 for device constraint detail package acpi_spmc0: Unknown revision -670163792 for device constraint detail package acpi_spmc0: Unknown revision -670163608 for device constraint detail package acpi_spmc0: Unknown revision -670163424 for device constraint detail package acpi_spmc0: Unknown revision -670163240 for device constraint detail package acpi_spmc0: Unknown revision -670163056 for device constraint detail package acpi_spmc0: Unknown revision -670162872 for device constraint detail package acpi_spmc0: Unknown revision -670162688 for device constraint detail package acpi_spmc0: Unknown revision -670162504 for device constraint detail package acpi_spmc0: Unknown revision -670162320 for device constraint detail package acpi_spmc0: Unknown revision -670162136 for device constraint detail package acpi_spmc0: Unknown revision -670161928 for device constraint detail package acpi_spmc0: Unknown revision -670161744 for device constraint detail package acpi_spmc0: Unknown revision -670161536 for device constraint detail package acpi_spmc0: Unknown revision -670161352 for device constraint detail package acpi_spmc0: Unknown revision -670161160 for device constraint detail package acpi_spmc0: Unknown revision -670160976 for device constraint detail package acpi_spmc0: Unknown revision -670160792 for device constraint detail package acpi_spmc0: Unknown revision -670160600 for device constraint detail package acpi_spmc0: Unknown revision -670160400 for device constraint detail package acpi_spmc0: Unknown revision -670160216 for device constraint detail package acpi_spmc0: Unknown revision -670160032 for device constraint detail package acpi_spmc0: Unknown revision -670159848 for device constraint detail package acpi_spmc0: Unknown revision -670159664 for device constraint detail package acpi_spmc0: Unknown revision -670159480 for device constraint detail package acpi_spmc0: Unknown revision -670159296 for device constraint detail package acpi_spmc0: Unknown revision -670159112 for device constraint detail package acpi_spmc0: Unknown revision -670158928 for device constraint detail package acpi_spmc0: Unknown revision -670158744 for device constraint detail package acpi_spmc0: Unknown revision -670158560 for device constraint detail package acpi_spmc0: Unknown revision -670158376 for device constraint detail package acpi_spmc0: Unknown revision -670158192 for device constraint detail package acpi_spmc0: Unknown revision -670158008 for device constraint detail package acpi_spmc0: Unknown revision -670157824 for device constraint detail package acpi_spmc0: Unknown revision -670157640 for device constraint detail package acpi_spmc0: Unknown revision -670157456 for device constraint detail package acpi_spmc0: Unknown revision -670157248 for device constraint detail package acpi_spmc0: Unknown revision -670157040 for device constraint detail package acpi_spmc0: Unknown revision -670156824 for device constraint detail package acpi_spmc0: Unknown revision -670156608 for device constraint detail package acpi_spmc0: Unknown revision -670156400 for device constraint detail package acpi_spmc0: Unknown revision -670156192 for device constraint detail package acpi_spmc0: Unknown revision -670156000 for device constraint detail package acpi_spmc0: Unknown revision -670155808 for device constraint detail package acpi_spmc0: Unknown revision -670155616 for device constraint detail package acpi_spmc0: Unknown revision -670155408 for device constraint detail package acpi_button1: <Power Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart: ns8250: UART FCR is broken (0x2) uart0: console (115200,n,8,1) acpi_syscontainer0: <System Container> on acpi0 acpi_syscontainer1: <System Container> on acpi0 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s atrtc0: Can't map interrupt. atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 16. hwpstate_intel0: <Intel Speed Shift> on cpu0 cpufreq0: <CPU frequency control> on cpu0 hwpstate_intel1: <Intel Speed Shift> on cpu1 cpufreq1: <CPU frequency control> on cpu1 hwpstate_intel2: <Intel Speed Shift> on cpu2 cpufreq2: <CPU frequency control> on cpu2 hwpstate_intel3: <Intel Speed Shift> on cpu3 cpufreq3: <CPU frequency control> on cpu3 hwpstate_intel4: <Intel Speed Shift> on cpu4 cpufreq4: <CPU frequency control> on cpu4 hwpstate_intel5: <Intel Speed Shift> on cpu5 cpufreq5: <CPU frequency control> on cpu5 hwpstate_intel6: <Intel Speed Shift> on cpu6 cpufreq6: <CPU frequency control> on cpu6 hwpstate_intel7: <Intel Speed Shift> on cpu7 cpufreq7: <CPU frequency control> on cpu7 Timecounter "TSC-low" frequency 1401600888 Hz quality 1000 Timecounters tick every 1.000 msec ugen0.1: <Intel XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: <Intel XHCI root HUB> at usbus1 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) uhub1 on usbus1 uhub1: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 nvme0: Allocated 64MB host memory buffer nvme_sim0: <nvme cam> on nvme0 hdacc0: <Intel Tiger Lake HDA CODEC> at cad 2 on hdac0 hdaa0: <Intel Tiger Lake Audio Function Group> at nid 1 on hdacc0 pcm0: <Intel Tiger Lake (HDMI/DP 8ch)> at nid 4 on hdaa0 nda0 at nvme0 bus 0 scbus1 target 0 lun 1 nda0: <KINGSTON SNV2S250G SBI03102 50026B738193844D> nda0: Serial Number 50026B738193844D nda0: nvme version 1.4 nda0: 238475MB (488397168 512 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... WARNING: WITNESS option enabled, expect reduced performance. uhub0: 5 ports with 5 removable, self powered uhub1: 16 ports with 16 removable, self powered Root mount waiting for: usbus1 ugen1.2: <Prolific Technology Inc. USB-Serial Controller> at usbus1 ugen1.3: <vendor 0x8087 product 0x0026> at usbus1 Dual Console: Serial Primary, Video Secondary WARNING: sysctl vfs.zfs.min_auto_ashift is deprecated. Use vfs.zfs.vdev.min_auto_ashift instead. Setting hostuuid: d81bcf51-811f-c4d6-cf81-48210b35a577. Setting hostid: 0xd1e215da. Starting file system checks: /dev/gpt/efiboot0: FILESYSTEM CLEAN; SKIPPING CHECKS Mounting local filesystems:. no pools available to import Autoloading module: acpi_wmi Autoloading module: ichsmb Autoloading module: if_iwlwifi Autoloading module: if_iwx Autoloading module: ig4 iwlwifi0: <iwlwifi> mem 0x603d1a4000-0x603d1a7fff at device 20.3 on pci0 Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for function enumeration (20251212/ACPI-3119) Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for function enumeration (20251212/ACPI-3119) iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000 iwlwifi0: PCI dev a0f0/0074, rev=0x351, rfid=0x10a100 iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz iwlwifi0: could not load firmware image 'iwlwifi-QuZ-a0-hr-b0-77.ucode' iwlwifi0: File size way too small! iwlwifi0: no suitable firmware found! iwlwifi0: iwlwifi-QuZ-a0-hr-b0-77 is required iwlwifi0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git iwlwifi0: On FreeBSD the firmware package can be installed running fwget(8). ig4iic0: <Intel Tiger Lake-LP I2C Controller-4> at device 21.0 on pci0 ig4iic0: Using MSI iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 iicbus0: <unknown card> at addr 0x21 ig4iic1: <Intel Tiger Lake-LP I2C Controller-5> at device 21.1 on pci0 ig4iic1: Using MSI iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 ichsmb0: <Intel Tiger Lake SMBus controller> port 0xefa0-0xefbf mem 0x603d1ac000-0x603d1ac0ff at device 31.4 on pci0 smbus0: <System Management Bus> on ichsmb0 acpi_wmi0: <ACPI-WMI mapping> on acpi0 acpi_wmi0: Embedded MOF found acpi_wmi1: <ACPI-WMI mapping> on acpi0 acpi_wmi1: Embedded MOF found acpi_wmi2: <ACPI-WMI mapping> on acpi0 acpi_wmi2: Embedded MOF foundhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aZ68jV8g7XOZEYjG>
