coreboot/src
Sean Rhodes 648ff9268f soc/intel/common/rtd3: Use D3COLD_SUPPORT to set max sleep state
Use D3COLD_SUPPORT Kconfig option to set the maximum support sleep
state. Report `4` in `_S0W` only when D3COLD_SUPPORT is enabled, as
if it is not, it will break S3 exit.

When D3COLD_SUPPORT is not enabled, return `3` (D3Hot).

This fixed S3 exit on both TGL and ADL. Tested on StarBook
Mk V and Mk VI.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I578d4933b6144aec79fe0b2eb168338ef82c0b9d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74406
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
2023-04-20 20:43:02 +00:00
..
acpi sb,soc/amd,intel: Add and use ACPI_COMMON_MADT_LAPIC 2023-04-15 05:14:14 +00:00
arch soc/amd: Clarify ACPI _PRT entry generation 2023-04-14 03:03:23 +00:00
commonlib commonlib: Add new "DMU load completed" TS 2023-04-04 08:08:06 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu src/cpu/power9: move part of scom.h to scom.c 2023-04-18 13:05:56 +00:00
device device: Move D3COLD_SUPPORT symbol 2023-04-20 20:42:18 +00:00
drivers drivers/efi: Fix linker error when SMM phase uses option API 2023-04-14 09:41:53 +00:00
ec ec/acpi/ec: replace misleading "recv_ec_data_timeout" console output 2023-04-14 23:47:29 +00:00
include src/cpu/power9: move part of scom.h to scom.c 2023-04-18 13:05:56 +00:00
lib lib: set up specific purpose memory as LB_MEM_SOFT_RESERVED 2023-03-03 11:10:38 +00:00
mainboard soc/intel/tigerlake: Replace SOC_INTEL_TIGERLAKE_S3 with D3COLD_SUPPORT 2023-04-20 20:42:41 +00:00
northbridge sb,soc/amd,intel: Add and use ACPI_COMMON_MADT_LAPIC 2023-04-15 05:14:14 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: make usage of PCRs configurable via Kconfig 2023-04-10 04:01:08 +00:00
soc soc/intel/common/rtd3: Use D3COLD_SUPPORT to set max sleep state 2023-04-20 20:43:02 +00:00
southbridge sb/intel: Use ACPI_FADT_C2/C3_NOT_SUPPORTED defines 2023-04-17 08:14:29 +00:00
superio treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
vendorcode vc/google/chromeec/acpi: write OIPG in DECLARE_NO_CROS_GPIOS case 2023-04-14 14:48:36 +00:00
Kconfig option: Allow to use the EFI variable driver as option backend 2023-04-03 21:14:53 +00:00