coreboot-kgpe-d16/src/soc/amd/stoneyridge
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 soc/amd: factor out ACPI ALIB function numbers to common code 2021-05-08 17:56:10 +00:00
include/soc soc/amd/stoneyridge: use common pm_set_power_failure_state functionality 2021-04-14 18:46:48 +00:00
acpi.c soc/amd/stoneyridge: Set missing RTC offsets for day alarm and century 2021-06-11 07:37:43 +00:00
BiosCallOuts.c
bootblock.c soc/amd/common: Introduce I2C driver common to all AMD SoCs 2021-03-22 03:40:23 +00:00
chip.c soc/amd/common/block/i2c: Move SoC agnostic parts into common 2021-03-22 03:40:42 +00:00
chip.h soc/amd/common: Introduce I2C driver common to all AMD SoCs 2021-03-22 03:40:23 +00:00
cpu.c soc/amd: move warm reset flag function prototypes to common code 2021-03-11 15:11:20 +00:00
enable_usbdebug.c
fw_cz.cfg soc/amd: Change FIRMWARE_LOCATE to FIRMWARE_LOCATION 2020-11-04 09:42:18 +00:00
fw_st.cfg soc/amd: Change FIRMWARE_LOCATE to FIRMWARE_LOCATION 2020-11-04 09:42:18 +00:00
gpio.c soc/amd: remove special GPIO_2 override soc_gpio_hook 2021-04-08 16:47:27 +00:00
i2c.c soc/amd/common/block/i2c: Move SoC agnostic parts into common 2021-03-22 03:40:42 +00:00
Kconfig cpu/x86: Default to PARALLEL_MP selected 2021-06-07 21:02:54 +00:00
Makefile.inc soc/amd: move SMM finalization to common code 2021-02-19 22:11:30 +00:00
mca.c soc/amd: move warm reset flag function prototypes to common code 2021-03-11 15:11:20 +00:00
memmap.c soc/amd: fully commonize clear_tvalid 2021-02-11 02:49:34 +00:00
monotonic_timer.c
northbridge.c cpu/x86/lapic: Replace LOCAL_APIC_ADDR references 2021-06-11 07:11:43 +00:00
psp.c include/cpu/amd/msr: rename MSR_PSP_ADDR to PSP_ADDR_MSR 2021-02-19 13:20:16 +00:00
reset.c soc/amd/stoneyridge/reset: use port and bit defines from cf9_reset.h 2020-12-10 16:00:55 +00:00
romstage.c soc/amd/stoneyridge: Create chipset_power_state in romstage 2021-02-06 07:17:05 +00:00
sata.c
smbus_spd.c soc/amd/common: Refactor SMBus base arguments 2020-12-15 18:50:13 +00:00
smihandler.c soc/amd/stoneyridge/smihandler: sort includes alphabetically 2021-03-10 19:18:03 +00:00
southbridge.c soc/amd/stoneyridge: use common pm_set_power_failure_state functionality 2021-04-14 18:46:48 +00:00
tsc_freq.c
uart.c soc/amd/stoneyridge: use SOC_AMD_COMMON_BLOCK_UART 2021-01-14 15:00:55 +00:00
usb.c