Add intelpmc(4), a driver for the power management controller found on
authorkettenis <kettenis@openbsd.org>
Sun, 4 Aug 2024 11:05:18 +0000 (11:05 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 4 Aug 2024 11:05:18 +0000 (11:05 +0000)
commit6635b7e6ef328800dfff4b5e8a9c341d2daf9739
treee14f6fef1232cadf5f155f62c47ee5203ebefb00
parent2544af8ff809cc0db07c43becadd3244e3bfee5b
Add intelpmc(4), a driver for the power management controller found on
various Intel SoCs.  The driver takes care of calling the AML methods
needed to enter low power idle states during suspend-to-idle (S0i).
The driver also implements some debug code that prints the residency of
various power states in dmesg.  Based on some earlier code by jcs@

ok jcs@
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/include/specialreg.h
sys/dev/acpi/acpi_x86.c
sys/dev/acpi/acpivar.h
sys/dev/acpi/files.acpi
sys/dev/acpi/intelpmc.c [new file with mode: 0644]