coreboot/src
Anand K Mistry dd8e819e6b soc/amd/stoneyridge: Set missing RTC offsets for day alarm and century
On Linux, in order to set wake alarms >24 hours, the RTC Date Alarm
field must be set to a valid non-zero value. If not, there are two
consequences:
1. Alarms >24 hours don't work
2. The kernel will refuse to enter suspend because it can't resume as
   expected to service the alarm.

Since the RTC Date Alarm and RTC AltCentury fields are supported on
Stoneyridge, set them.

This is a mirror of commit 041fcf5902
("soc/amd/picasso/acpi: Set missing RTC offsets") for picasso.

BUG=b:187516317
TEST=On a Chrome OS 'grunt' device, run
     `time powerd_dbus_suspend --suspend_for_sec=172800`
     and verify the system suspended and woke up after 48 hours
BRANCH=grunt

Signed-off-by: Anand K Mistry <amistry@google.com>
Change-Id: I10831b982662e680fa71aa81d02935e1b7e7a7a1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55001
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2021-06-11 07:37:43 +00:00
..
acpi acpi: drop weak implementation of acpi_soc_get_bert_region 2021-06-08 18:25:20 +00:00
arch cpu/x86/lapic: Replace LOCAL_APIC_ADDR references 2021-06-11 07:11:43 +00:00
commonlib drivers/intel/fsp2_0: Add timestamps for loading FSPM & FSPS 2021-06-10 20:47:59 +00:00
console tests/console: Add tests for log message routing behavior 2021-06-10 19:27:44 +00:00
cpu cpu/x86/lapic: Replace LOCAL_APIC_ADDR references 2021-06-11 07:11:43 +00:00
device device/pnp: Always provide pnp_unset_and_set_config 2021-06-10 05:38:13 +00:00
drivers drivers/spi: Add winbond chip details 2021-06-11 07:33:33 +00:00
ec ec/google/chromeec: Separate SMBIOS SKU functions 2021-06-09 05:18:35 +00:00
include cpu/x86/lapic: Replace LOCAL_APIC_ADDR references 2021-06-11 07:11:43 +00:00
lib drivers/pc80/mc146818rtc: Check date and time for sanity 2021-05-30 20:28:14 +00:00
mainboard mb/google/guybrush: Add EC_HOST_EVENT_HANG_DETECT to wake mask 2021-06-11 07:37:02 +00:00
northbridge nb/haswell/gma: Add Desktop GT1.5 (HD 4400) Device ID 2021-06-10 05:37:51 +00:00
security security/vboot: Add support for ZTE spaces 2021-06-10 23:38:53 +00:00
soc soc/amd/stoneyridge: Set missing RTC offsets for day alarm and century 2021-06-11 07:37:43 +00:00
southbridge sb/intel/lynxpoint: Add SerialIO UART console support 2021-06-09 05:21:23 +00:00
superio src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
vendorcode vc/intel/fsp/fsp2_0/alderlake: Update MemInfoHob.h for new FSP 2021-06-10 05:36:59 +00:00
Kconfig option: Allow mainboards to implement the API 2021-05-28 11:37:25 +00:00