Skip to contentSkip to conversation

New: It takes long time to wake up from s2idle on Dell XPS 7390 2-in-1]

[email protected]: Bjorn Helgaas 4 participants 6 messages Oct 8, 2019 – Oct 14, 2019 PCI

lore
Share & tools
lore
#0 lore raw

AceLan, do you know if this is a regression and if so, when it was introduced?

----- Forwarded message from [email protected] -----

Date: Tue, 08 Oct 2019 02:56:27 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 205119] New: It takes long time to wake up from s2idle on Dell

	XPS 7390 2-in-1

Message-ID: <[email protected]/>

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

            Bug ID: 205119
           Summary: It takes long time to wake up from s2idle on Dell XPS
                    7390 2-in-1
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.4-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 285395
--> https://bugzilla.kernel.org/attachment.cgi?id=285395&action=edit
dmesg log

1. Enter s2idle at 28.39s
2. Press power button at 246.10s
3. The machine stuck until 412.30s and spit out thunderbolt warning messages
4. thunderbolt port keeps working after s2idle, plug-in Dell WD19TB dock(472.45s), and the "boltctl list" shows the dock info correctly.

BTW, I also found that there are 2 tbt ports on the machine, and if I plug in one TBT dock, and the wakeup time could be reduced by 80 seconds. And if I plug in 2 docks in both TBT ports, the machine wakes up from s2idle quick enough as the normal system.

I believe the 2 lines are related.

[  330.388604] thunderbolt 0000:00:0d.3: failed to send driver ready to ICM
[  412.308083] thunderbolt 0000:00:0d.2: failed to send driver ready to ICM
Signature · 4 lines
You are receiving this mail because:
You are watching the assignee of the bug.

----- End forwarded message -----
#1 lore raw

Hi,

Most likely not a regression as Ice Lake support was just added in v5.4-rc1.

@AceLan, I've seen similar issue before and that was fixed by a BIOS/FW upgrade. Can you check if there is newer BIOS/FW for that system and see if it helps?

Let's continue debugging on bugzilla.

Quoted 55 lines · Bjorn Helgaas

AceLan, do you know if this is a regression and if so, when it was introduced?

----- Forwarded message from [email protected] -----

Date: Tue, 08 Oct 2019 02:56:27 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 205119] New: It takes long time to wake up from s2idle on Dell

	XPS 7390 2-in-1

Message-ID: <[email protected]/>

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

            Bug ID: 205119
           Summary: It takes long time to wake up from s2idle on Dell XPS
                    7390 2-in-1
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.4-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 285395
--> https://bugzilla.kernel.org/attachment.cgi?id=285395&action=edit
dmesg log

1. Enter s2idle at 28.39s
2. Press power button at 246.10s
3. The machine stuck until 412.30s and spit out thunderbolt warning messages
4. thunderbolt port keeps working after s2idle, plug-in Dell WD19TB dock(472.45s), and the "boltctl list" shows the dock info correctly.

BTW, I also found that there are 2 tbt ports on the machine, and if I plug in one TBT dock, and the wakeup time could be reduced by 80 seconds. And if I plug in 2 docks in both TBT ports, the machine wakes up from s2idle quick enough as the normal system.

I believe the 2 lines are related.

[  330.388604] thunderbolt 0000:00:0d.3: failed to send driver ready to ICM
[  412.308083] thunderbolt 0000:00:0d.2: failed to send driver ready to ICM
Signature · 4 lines
You are receiving this mail because:
You are watching the assignee of the bug.

----- End forwarded message -----
#2 lore raw

Right, the issue happens after we backport some ICL thunderbolt patches to 5.3 kernel.
There is a new BIOS v1.0.13 on dell website, but it requires windows to upgrade it, I'll try it later.

Mika Westerberg <[email protected]> 於 2019年10月9日 週三 下午12:05寫道:

Quoted 68 lines

Hi,

Most likely not a regression as Ice Lake support was just added in v5.4-rc1.

@AceLan, I've seen similar issue before and that was fixed by a BIOS/FW upgrade. Can you check if there is newer BIOS/FW for that system and see if it helps?

Let's continue debugging on bugzilla.

Quoted 55 lines · Bjorn Helgaas

AceLan, do you know if this is a regression and if so, when it was introduced?

----- Forwarded message from [email protected] -----

Date: Tue, 08 Oct 2019 02:56:27 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 205119] New: It takes long time to wake up from s2idle on Dell

      XPS 7390 2-in-1

Message-ID: <[email protected]/>

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

            Bug ID: 205119
           Summary: It takes long time to wake up from s2idle on Dell XPS
                    7390 2-in-1
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.4-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 285395
--> https://bugzilla.kernel.org/attachment.cgi?id=285395&action=edit
dmesg log

1. Enter s2idle at 28.39s
2. Press power button at 246.10s
3. The machine stuck until 412.30s and spit out thunderbolt warning messages
4. thunderbolt port keeps working after s2idle, plug-in Dell WD19TB dock(472.45s), and the "boltctl list" shows the dock info correctly.

BTW, I also found that there are 2 tbt ports on the machine, and if I plug in one TBT dock, and the wakeup time could be reduced by 80 seconds. And if I plug in 2 docks in both TBT ports, the machine wakes up from s2idle quick enough as the normal system.

I believe the 2 lines are related.

[  330.388604] thunderbolt 0000:00:0d.3: failed to send driver ready to ICM
[  412.308083] thunderbolt 0000:00:0d.2: failed to send driver ready to ICM

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

----- End forwarded message -----

Signature · 3 lines
Chia-Lin Kao(AceLan)
http://blog.acelan.idv.tw/
E-Mail: acelan.kaoATcanonical.com (s/AT/@/)
#3 lore raw
Quoted 2 lines · AceLan Kao

Right, the issue happens after we backport some ICL thunderbolt patches to 5.3 kernel.

Does it happen only with backported patches or does it also happen with the mainline?

Quoted 2 lines

There is a new BIOS v1.0.13 on dell website, but it requires windows to upgrade it, I'll try it later.

OK, thanks.

#4 lore raw
Quoted 7 lines · Mika Westerberg
Quoted 2 lines · AceLan Kao

There is a new BIOS v1.0.13 on dell website, but it requires windows to upgrade it, I'll try it later.

OK, thanks.

I'd try to check fwupd if you haven't tried it yet. Dell FW is usually available there.

#5 lore raw

After upgrade the BIOS to v1.0.13, the issue is gone. Thanks.

Yehezkel Bernat <[email protected]> 於 2019年10月10日 週四 下午4:09寫道:

Quoted 13 lines
Quoted 7 lines · Mika Westerberg
Quoted 2 lines · AceLan Kao

There is a new BIOS v1.0.13 on dell website, but it requires windows to upgrade it, I'll try it later.

OK, thanks.

I'd try to check fwupd if you haven't tried it yet. Dell FW is usually available there.

Signature · 3 lines
Chia-Lin Kao(AceLan)
http://blog.acelan.idv.tw/
E-Mail: acelan.kaoATcanonical.com (s/AT/@/)