c66ea98577
Implement sub-function 1 (Get Device Constraints) of the Low Power S0 Idle Device-Specific Method (_DSM). This provides a way in which to describe various devices required D-states to enter LPM (S0ix). The information can be used to help in diagnostics and understanding of S0ix entry failure. Values were derived from Intel document 595644 (rev 0.45) and the ADL FSP sample ASL. This implementation adds support for ADL. Other SoC's could be ported to be included as well. If they aren't, they will default to the existing behavior of a single hardcoded device to ensure compatibility with Windows. TEST=Built and tested on brya by verifying SSDT contents Change-Id: Ibe46a0583c522a8adf0a015cd3a698f694482437 Signed-off-by: Tarun Tuli <taruntuli@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63969 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Lance Zhao |
||
---|---|---|
.. | ||
acpi | ||
boot | ||
console | ||
cpu | ||
device | ||
efi | ||
mipi | ||
pc80 | ||
smp | ||
superio | ||
sys | ||
adainit.h | ||
asan.h | ||
assert.h | ||
b64_decode.h | ||
base3.h | ||
boardid.h | ||
boot_device.h | ||
bootblock_common.h | ||
bootmem.h | ||
bootmode.h | ||
bootsplash.h | ||
bootstate.h | ||
cbfs.h | ||
cbfs_glue.h | ||
cbmem.h | ||
cper.h | ||
crc_byte.h | ||
ctype.h | ||
delay.h | ||
device_tree.h | ||
dimm_info_util.h | ||
dp_aux.h | ||
edid.h | ||
elog.h | ||
endian.h | ||
espi.h | ||
fallback.h | ||
fit.h | ||
fmap.h | ||
framebuffer_info.h | ||
fw_config.h | ||
gpio.h | ||
halt.h | ||
imd.h | ||
imd_private.h | ||
input-event-codes.h | ||
inttypes.h | ||
ip_checksum.h | ||
kconfig.h | ||
lib.h | ||
limits.h | ||
list.h | ||
main_decl.h | ||
memlayout.h | ||
memory_info.h | ||
memrange.h | ||
metadata_hash.h | ||
mrc_cache.h | ||
nhlt.h | ||
option.h | ||
post.h | ||
program_loading.h | ||
ramdetect.h | ||
random.h | ||
reg_script.h | ||
region_file.h | ||
reset.h | ||
rmodule.h | ||
romstage_handoff.h | ||
rtc.h | ||
rules.h | ||
sar.h | ||
sdram_mode.h | ||
smbios.h | ||
smmstore.h | ||
spd.h | ||
spd_bin.h | ||
spd_cache.h | ||
spi-generic.h | ||
spi_bitbang.h | ||
spi_flash.h | ||
spi_sdcard.h | ||
stage_cache.h | ||
stdarg.h | ||
stdbool.h | ||
stddef.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
swab.h | ||
symbols.h | ||
thread.h | ||
timer.h | ||
timestamp.h | ||
types.h | ||
uuid.h | ||
vbe.h | ||
version.h | ||
watchdog.h | ||
wrdd.h |