diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2025-06-14 17:30:44 +0200 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-01-26 14:42:11 +0100 |
| commit | c5daa5a4c32c9b1ecb506ddf1a80579c93c3ea6d (patch) | |
| tree | 687b1b6b84204337b8360b1df528297f6066f0af /contrib/llvm-project/llvm/lib/Target/CSKY | |
| parent | a11d132f6c62f32abe44b19f7527d97ddc239058 (diff) | |
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.
Reviewed by: olce
Tested by: jkim, Oleksandr Kryvulia, Matthias Lanter
Approved by: olce
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48387
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/CSKY')
0 files changed, 0 insertions, 0 deletions
