Hello build bot (Jenkins), Furquan Shaikh, Patrick Georgi, Martin Roth, Rob Barnes,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45966
to look at the new patch set (#2).
Change subject: WIP: soc/amd/picasso: Add ACPI AC/DC Wake Alarm ......................................................................
WIP: soc/amd/picasso: Add ACPI AC/DC Wake Alarm
This adds the ACPI entry for the ACPI AC/DC Wake Alarm. This is different than the RTC wake alarm, because it waits until the system has entered S3 before firing the wake event. This prevents race conditions between setting the alarm and suspending in time.
This device will only get probed if CONFIG_ACPI_TAD is set in the kernel.
This is WIP because the SCI map is not getting set correctly.
BUG=b:157533281 BRANCH=zork TEST=On Morphius try suspending and watching the system wake up
localhost /sys/devices/platform/ACPI000E:00 # tail ac_* dc_* ==> ac_alarm <== disabled
==> ac_policy <== never
==> ac_status <== 0x00
==> dc_alarm <== disabled
==> dc_policy <== never
==> dc_status <== 0x00 localhost /sys/devices/platform/ACPI000E:00 # echo 15 > ac_alarm localhost /sys/devices/platform/ACPI000E:00 # powerd_dbus_suspend
<Device Resumes>
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Ia99aaba98405f9b6e50b33936716da9a71338f58 --- M src/soc/amd/common/block/include/amdblocks/acpimmio_map.h M src/soc/amd/picasso/Makefile.inc A src/soc/amd/picasso/acdc.c M src/soc/amd/picasso/acpi/soc.asl A src/soc/amd/picasso/acpi/wake_alarm.asl M src/soc/amd/picasso/smi_util.c 6 files changed, 284 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/45966/2