Bug 195741

Summary: [BXT][BAT] Joule 570x hangs in igt@gem_exec_suspend@basic-s3
Product: ACPI Reporter: paul.a.parenteau
Component: BIOSAssignee: acpi_bios
Status: RESOLVED INVALID    
Severity: normal CC: rui.zhang, yu.c.chen
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: unknown Subsystem:
Regression: No Bisected commit-id:

Description paul.a.parenteau 2017-05-12 22:35:21 UTC
Originally filed as https://bugs.freedesktop.org/show_bug.cgi?id=99871 against the drm/i915 driver.  Comments from this bug:

Description:
Linux fails to wake Joule from S3 suspend with rtcwake. Reason: ACPI bug

Comment #1:
It looks like ACPI is lacking support for RTC wake or wake via a power button press. From dmesg during boot:

ACPI Error: Could not enable PowerButton event (20160930/evxfevnt-212)
ACPI Error: Could not enable RealTimeClock event (20160422/evxfevnt-212)

This is a known issue, being investigated by the BIOS/ACPI team.

Comment #2:
The bug has been worked around in our CI for now with a dedicated piece of HW from Imre, but the bug is still present and should be fixed upstream!

Imre, can you put a dependency for this bug on the bug filed to the core team?
Comment 1 Chen Yu 2017-06-05 09:56:30 UTC
Joule does not support native rtcwake but uses acpi time device for wakeup, I 've written a draft patch to support the acpi time device but it requires  that the BIOS team  provide a ACPI timer device support in the firmware. Not sure what workaround you are using to bypass it, let's sync in email.