https://bugzilla.kernel.org/show_bug.cgi?id=212951

--- Comment #3 from Chris Chiu (chris.c...@canonical.com) ---
I found a timing issue which might be worth investigation. The TBT WD dock I
have here with the latest BIOS 0.5.57 can be manually waked up w/o
AE_AML_LOOP_TIMEOUT problem. So I dump the acpi log and do cross-comparison
between the WD19SC and WD19TB dock.

A key resource and function in ssdt6.dsl are PowerResource (D3C) and
\_SB.PC00.TCON ().
The \_SB.PC00.D3C._ON and \_SB.PC00.TCON begins after the \_SB.PC00.PGON. Then
during the period of TCON, the IPCS will run in parallel with TCON but the
timing between TB and SC are different.

Please refer to the TCON code in
https://gist.github.com/mschiu77/05b9b8ff3ba795f11dd467660952f6e5#file-ssdt7-dsl-L884

In WD19SC case, the IPCS() will begin running before L911 (line 911 in the
above link) per the ACPI log as follows.

[ 262.733726] extrace-0138 ex_trace_point : Method Begin
[0x0000000024236d48:\MCUI] execution.
[ 262.733882] extrace-0138 ex_trace_point : Method Begin
[0x000000003ff97c7a:\IPCS] execution.
[ 262.744064] extrace-0138 ex_trace_point : Method Begin
[0x000000004edb7213:\_SB.PC00.DSGS] execution.
[ 262.744233] extrace-0138 ex_trace_point : Method End
[0x000000004edb7213:\_SB.PC00.DSGS] execution.
[ 262.744245] extrace-0138 ex_trace_point : Method Begin
[0x0000000073d60801:\_SB.PC00.DSCR] execution.
[ 262.744424] extrace-0138 ex_trace_point : Method Begin
[0x000000004edb7213:\_SB.PC00.DSGS] execution.

In WD19TB case, the IPCS will begin to run in parallel with L913 per the
following ACPI log.

[ 147.643528] extrace-0138 ex_trace_point : Method Begin
[0x000000008fde276b:\MCUI] execution.
[ 147.643927] extrace-0138 ex_trace_point : Method Begin
[0x0000000006dad187:\_SB.PC00.DSGS] execution.
[ 147.644164] extrace-0138 ex_trace_point : Method End
[0x0000000006dad187:\_SB.PC00.DSGS] execution.
[ 147.644175] extrace-0138 ex_trace_point : Method Begin
[0x000000003af322ca:\_SB.PC00.DSCR] execution.
[ 147.644338] extrace-0138 ex_trace_point : Method Begin
[0x00000000dd5b6bc8:\IPCS] execution.
[ 147.644788] extrace-0138 ex_trace_point : Method Begin
[0x0000000006dad187:\_SB.PC00.DSGS] execution.
[ 147.644927] extrace-0138 ex_trace_point : Method End
[0x0000000006dad187:\_SB.PC00.DSGS] execution.
[ 147.644949] extrace-0138 ex_trace_point : Method End
[0x000000003af322ca:\_SB.PC00.DSCR] execution.

>From the timestamp of WD19SC case, the IPCS starts 11ms ahead of L911, which
may indicate the TCON is still in the while loop of L893. According to the
debug message, the "TACK after D3 cold exit" is not printed which means TACK is
not asserted yet. Is it possible that the IPCS also needs to wait for the TACK
or the "ADBG ("D3Cold Exit")"?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to