coreboot/src/include
Tarun Tuli c66ea98577 soc/intel/alderlake: provide a list of D-states to enter LPM
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
2022-05-12 19:44:38 +00:00
..
acpi soc/intel/alderlake: provide a list of D-states to enter LPM 2022-05-12 19:44:38 +00:00
boot
console cpu/x86/smm,lib/cbmem_console: Enable CBMEMC when using DEBUG_SMI 2022-03-09 14:26:26 +00:00
cpu cpu/x86: Add function to set put_back_original_solution variable 2022-04-13 21:28:10 +00:00
device device/dram/common.h: Use C over CPP 2022-05-11 13:55:33 +00:00
efi include/efi: Add EFI Status code definitions 2022-03-25 19:26:28 +00:00
mipi commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
pc80
smp Add ENV_STAGE_SUPPORTS_SMP to clean up spinlock stubs 2021-11-13 22:26:53 +00:00
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 mb/google,samsung: Drop init_bootmode_straps() 2022-04-09 02:50:01 +00:00
bootsplash.h
bootstate.h
cbfs.h commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
cbfs_glue.h
cbmem.h commonlib: Move commonlib/cbmem_id.h to commonlib/bsd/ 2021-11-30 17:23:37 +00:00
cper.h
crc_byte.h
ctype.h
delay.h
device_tree.h
dimm_info_util.h arch/x86: Refactor the SMBIOS type 17 write function 2021-11-11 09:10:10 +00:00
dp_aux.h google/trogdor: Add backlight support for Parade ps8640 2021-11-02 08:17:21 +00:00
edid.h
elog.h
endian.h
espi.h include/espi.h: Switch to types.h 2022-03-27 15:13:31 +00:00
fallback.h
fit.h
fmap.h
framebuffer_info.h src: Remove unused <stdbool> 2022-01-19 15:15:50 +00:00
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 lib: Add __fls() (Find Last Set) 2021-12-13 02:57:07 +00:00
limits.h
list.h lib/list: Add list_append 2021-11-03 08:29:16 +00:00
main_decl.h
memlayout.h
memory_info.h include/memory_info.h: Increase DIMM_INFO_TOTAL to 32 2022-05-12 18:35:12 +00:00
memrange.h
metadata_hash.h
mrc_cache.h
nhlt.h
option.h
post.h
program_loading.h prog_loader: Change legacy_romstage_select_and_load() to return cb_err 2022-03-09 17:20:48 +00:00
ramdetect.h
random.h
reg_script.h
region_file.h
reset.h
rmodule.h
romstage_handoff.h
rtc.h
rules.h rules.h, thread.h, lib/cbfs: Add ENV_STAGE_SUPPORTS_COOP 2021-12-15 23:25:32 +00:00
sar.h
sdram_mode.h
smbios.h soc/intel/common: Add DDR5 and LPDDR5 into the SMBIOS table 2021-10-30 18:45:09 +00:00
smmstore.h
spd.h include/spd.h: Fix DDR4_SPD_72B_SO_{R,U}DIMM values 2022-03-28 14:14:27 +00:00
spd_bin.h
spd_cache.h
spi-generic.h drivers/spi/spi-generic: document SPI_CNTRLR_DEDUCT_CMD_LEN better 2021-12-15 22:39:21 +00:00
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 commonlib/bsd/helpers: Remove redundancy with libpayload defines 2022-03-30 21:21:47 +00:00
swab.h
symbols.h ELOG: Refactor watchdog_tombstone 2022-04-06 23:42:56 +00:00
thread.h src: Drop duplicated includes 2022-01-01 14:55:51 +00:00
timer.h
timestamp.h timestamp: Allow timestamp_add to accept a negative number 2022-01-21 22:42:19 +00:00
types.h include/types.h: #include <limits.h> 2021-12-26 09:59:12 +00:00
uuid.h
vbe.h
version.h
watchdog.h
wrdd.h