2021-06-07 06:52:14 |
Chris Chiu |
bug |
|
|
added bug |
2021-06-07 06:54:37 |
Chris Chiu |
bug watch added |
|
https://gitlab.freedesktop.org/drm/intel/-/issues/3500 |
|
2021-06-17 15:10:13 |
Chris Chiu |
description |
[Summary]
As mentioned in #1929166, the NVIDIA GPU will fall off the bus after exiting s2idle in TGL-H systems if the USB Type-C docking/dongle with external display connected is unplugged when the system is still in s2idle. The system will be hold by the infinite loop in ACPI method IPCS and then the PCIe root port of NVIDIA gpu fails the power transition from D3cold to D0. It's because the display connector hotplug event not handled properly in graphics drivers and the system will freeze for > 30 seconds to wait for ACPI method IPCS to exit.
[ 154.446781]
[ 154.446783]
[ 154.446783] Initialized Local Variables for Method [IPCS]:
[ 154.446784] Local0: 000000009863e365 <Obj> Integer 00000000000009C5
[ 154.446790]
[ 154.446791] Initialized Arguments for Method [IPCS]: (7 arguments
defined for method invocation)
[ 154.446792] Arg0: 0000000025568fbd <Obj> Integer 00000000000000AC
[ 154.446795] Arg1: 000000009ef30e76 <Obj> Integer 0000000000000000
[ 154.446798] Arg2: 00000000fdf820f0 <Obj> Integer 0000000000000010
[ 154.446801] Arg3: 000000009fc2a088 <Obj> Integer 0000000000000001
[ 154.446804] Arg4: 000000003a3418f7 <Obj> Integer 0000000000000001
[ 154.446807] Arg5: 0000000020c4b87c <Obj> Integer 0000000000000000
[ 154.446810] Arg6: 000000008b965a8a <Obj> Integer 0000000000000000
[ 154.446813]
[ 154.446815] ACPI Error: Aborting method \IPCS due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446824] ACPI Error: Aborting method \MCUI due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446829] ACPI Error: Aborting method \SPCX due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446835] ACPI Error: Aborting method \_SB.PC00.PGSC due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446841] ACPI Error: Aborting method \_SB.PC00.PGON due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446846] ACPI Error: Aborting method \_SB.PC00.PEG1.NPON due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446852] ACPI Error: Aborting method \_SB.PC00.PEG1.PG01._ON due
to previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446860] acpi device:02: Failed to change power state to D0
[ 154.690760] video LNXVIDEO:00: Cannot transition to power state D0
for parent in (unknown)
[Reproduce Steps]
1. Connect either Dell WD19SC/DC/TB docking station(USB Type-C) to the system.
2. Connect to external display to HDMI/DisplayPort of the docking
3. Suspend the system
4. Unplug the USB Type-C connector which connects to the system
5. Press power button to wake up the system
6. Check if the internal/external display come back within 10 seconds.
[Results]
Expected:
System works with the internal/external display
Actual:
System takes > 30 seconds to get back the display. |
[SRU Justification]
[Impact]
The system will be hold by the infinite loop in ACPI method IPCS after exiting s2idle in TGL-H systems if the docking station with external display connected is unplugged when the system is still in s2idle. It's
because the system is unaware of the unplug event and it seems keep something asserted which will never be released while the system trying to exit s2idle.
[Fix]
Disconnect TypeC PHYs during system suspend and shutdown, even with the
corresponding TypeC sink still plugged to its connector. The HPD event is no longer triggered when the system is in s2idle so the resume process will not be hindered.
[Test Case]
1. On all TigerLake-H and later platforms with NVIDIA GPU, make sure the NVIDIA GPU is running in either On-Demand mode or Performance mode.
2. Connect the docking station with the external display connected.
3. Suspend the system.
4. Remove the docking station when the system is suspended.
5. Press power button to wake up the system and wait > 1 minutes to make sure if the display comes back.
[Where problems could occur]
Low. This will only make a difference in the TypeC DP alternate mode, and the display driver will detect the display connector after resume.
========== Original Bug Description ==========
[Summary]
As mentioned in #1929166, the NVIDIA GPU will fall off the bus after exiting s2idle in TGL-H systems if the USB Type-C docking/dongle with external display connected is unplugged when the system is still in s2idle. The system will be hold by the infinite loop in ACPI method IPCS and then the PCIe root port of NVIDIA gpu fails the power transition from D3cold to D0. It's because the display connector hotplug event not handled properly in graphics drivers and the system will freeze for > 30 seconds to wait for ACPI method IPCS to exit.
[ 154.446781]
[ 154.446783]
[ 154.446783] Initialized Local Variables for Method [IPCS]:
[ 154.446784] Local0: 000000009863e365 <Obj> Integer 00000000000009C5
[ 154.446790]
[ 154.446791] Initialized Arguments for Method [IPCS]: (7 arguments
defined for method invocation)
[ 154.446792] Arg0: 0000000025568fbd <Obj> Integer 00000000000000AC
[ 154.446795] Arg1: 000000009ef30e76 <Obj> Integer 0000000000000000
[ 154.446798] Arg2: 00000000fdf820f0 <Obj> Integer 0000000000000010
[ 154.446801] Arg3: 000000009fc2a088 <Obj> Integer 0000000000000001
[ 154.446804] Arg4: 000000003a3418f7 <Obj> Integer 0000000000000001
[ 154.446807] Arg5: 0000000020c4b87c <Obj> Integer 0000000000000000
[ 154.446810] Arg6: 000000008b965a8a <Obj> Integer 0000000000000000
[ 154.446813]
[ 154.446815] ACPI Error: Aborting method \IPCS due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446824] ACPI Error: Aborting method \MCUI due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446829] ACPI Error: Aborting method \SPCX due to previous error
(AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446835] ACPI Error: Aborting method \_SB.PC00.PGSC due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446841] ACPI Error: Aborting method \_SB.PC00.PGON due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446846] ACPI Error: Aborting method \_SB.PC00.PEG1.NPON due to
previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446852] ACPI Error: Aborting method \_SB.PC00.PEG1.PG01._ON due
to previous error (AE_AML_LOOP_TIMEOUT) (20200925/psparse-529)
[ 154.446860] acpi device:02: Failed to change power state to D0
[ 154.690760] video LNXVIDEO:00: Cannot transition to power state D0
for parent in (unknown)
[Reproduce Steps]
1. Connect either Dell WD19SC/DC/TB docking station(USB Type-C) to the system.
2. Connect to external display to HDMI/DisplayPort of the docking
3. Suspend the system
4. Unplug the USB Type-C connector which connects to the system
5. Press power button to wake up the system
6. Check if the internal/external display come back within 10 seconds.
[Results]
Expected:
System works with the internal/external display
Actual:
System takes > 30 seconds to get back the display. |
|
2021-06-17 15:10:36 |
Chris Chiu |
bug task added |
|
linux-oem-5.10 (Ubuntu) |
|
2021-06-17 15:11:00 |
Chris Chiu |
nominated for series |
|
Ubuntu Focal |
|
2021-06-17 15:11:00 |
Chris Chiu |
bug task added |
|
linux (Ubuntu Focal) |
|
2021-06-17 15:11:00 |
Chris Chiu |
bug task added |
|
linux-oem-5.10 (Ubuntu Focal) |
|
2021-06-17 15:11:13 |
Chris Chiu |
linux (Ubuntu Focal): status |
New |
Invalid |
|
2021-06-17 15:11:22 |
Chris Chiu |
linux-oem-5.10 (Ubuntu Focal): status |
New |
In Progress |
|
2021-06-17 15:11:51 |
Chris Chiu |
linux-oem-5.10 (Ubuntu): assignee |
|
Chris Chiu (mschiu77) |
|
2021-06-17 15:12:02 |
Chris Chiu |
linux-oem-5.10 (Ubuntu Focal): assignee |
|
Chris Chiu (mschiu77) |
|
2021-06-17 15:19:48 |
Chris Chiu |
nominated for series |
|
Ubuntu Hirsute |
|
2021-06-17 15:19:48 |
Chris Chiu |
bug task added |
|
linux (Ubuntu Hirsute) |
|
2021-06-17 15:19:48 |
Chris Chiu |
bug task added |
|
linux-oem-5.10 (Ubuntu Hirsute) |
|
2021-06-17 15:19:48 |
Chris Chiu |
nominated for series |
|
Ubuntu Impish |
|
2021-06-17 15:19:48 |
Chris Chiu |
bug task added |
|
linux (Ubuntu Impish) |
|
2021-06-17 15:19:48 |
Chris Chiu |
bug task added |
|
linux-oem-5.10 (Ubuntu Impish) |
|
2021-06-17 15:20:04 |
Chris Chiu |
linux-oem-5.10 (Ubuntu Hirsute): status |
New |
Invalid |
|
2021-06-17 15:20:07 |
Chris Chiu |
linux-oem-5.10 (Ubuntu Impish): status |
New |
Invalid |
|
2021-06-17 15:36:37 |
Chris Chiu |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2021-06-17 15:36:42 |
Chris Chiu |
tags |
|
oem-priority originate-from-1924204 somerville |
|
2021-06-17 15:36:49 |
Chris Chiu |
tags |
oem-priority originate-from-1924204 somerville |
oem-priority originate-from-1924204 originate-from-1925291 somerville |
|
2021-06-17 15:36:57 |
Chris Chiu |
tags |
oem-priority originate-from-1924204 originate-from-1925291 somerville |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville |
|
2021-06-17 17:32:19 |
Timo Aaltonen |
linux-oem-5.10 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-06-18 05:23:52 |
Chris Chiu |
bug task deleted |
linux (Ubuntu Impish) |
|
|
2021-06-18 05:23:55 |
Chris Chiu |
bug task deleted |
linux-oem-5.10 (Ubuntu Impish) |
|
|
2021-06-18 05:24:13 |
Chris Chiu |
linux (Ubuntu Hirsute): status |
New |
In Progress |
|
2021-06-25 08:22:26 |
Stefan Bader |
linux (Ubuntu Hirsute): importance |
Undecided |
Medium |
|
2021-06-25 18:39:38 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-needed-focal |
|
2021-06-29 09:49:24 |
Chris Chiu |
bug task added |
|
linux-oem-5.13 (Ubuntu) |
|
2021-06-29 09:49:35 |
Chris Chiu |
nominated for series |
|
Ubuntu Impish |
|
2021-06-29 09:49:35 |
Chris Chiu |
bug task added |
|
linux (Ubuntu Impish) |
|
2021-06-29 09:49:35 |
Chris Chiu |
bug task added |
|
linux-oem-5.10 (Ubuntu Impish) |
|
2021-06-29 09:49:35 |
Chris Chiu |
bug task added |
|
linux-oem-5.13 (Ubuntu Impish) |
|
2021-06-29 09:50:06 |
Chris Chiu |
linux (Ubuntu Impish): assignee |
|
Chris Chiu (mschiu77) |
|
2021-06-29 09:50:33 |
Chris Chiu |
linux-oem-5.13 (Ubuntu Focal): status |
New |
In Progress |
|
2021-06-29 09:50:33 |
Chris Chiu |
linux-oem-5.13 (Ubuntu Focal): assignee |
|
Chris Chiu (mschiu77) |
|
2021-06-29 09:50:48 |
Chris Chiu |
linux (Ubuntu Impish): status |
New |
In Progress |
|
2021-06-29 09:51:03 |
Chris Chiu |
linux-oem-5.13 (Ubuntu Hirsute): status |
New |
Invalid |
|
2021-06-29 09:51:21 |
Chris Chiu |
linux-oem-5.13 (Ubuntu Impish): status |
New |
Invalid |
|
2021-07-02 08:52:54 |
Timo Aaltonen |
linux-oem-5.13 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-07-20 16:26:50 |
Launchpad Janitor |
linux-oem-5.10 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-07-20 16:26:50 |
Launchpad Janitor |
cve linked |
|
2021-33909 |
|
2021-07-20 16:27:05 |
Launchpad Janitor |
linux-oem-5.13 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-08-06 21:12:57 |
Kelsey Steele |
linux (Ubuntu Hirsute): status |
In Progress |
Fix Committed |
|
2021-08-17 14:42:13 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-needed-focal |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-needed-focal verification-needed-hirsute |
|
2021-08-18 09:09:05 |
Chris Chiu |
tags |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-needed-focal verification-needed-hirsute |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-done-focal verification-done-hirsute |
|
2021-09-07 13:53:28 |
Launchpad Janitor |
linux (Ubuntu Hirsute): status |
Fix Committed |
Fix Released |
|
2021-09-07 13:53:28 |
Launchpad Janitor |
cve linked |
|
2020-26541 |
|
2021-09-07 13:53:28 |
Launchpad Janitor |
cve linked |
|
2021-3653 |
|
2021-09-07 13:53:28 |
Launchpad Janitor |
cve linked |
|
2021-3656 |
|
2021-10-20 22:03:27 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-done-focal verification-done-hirsute |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-done-focal verification-done-hirsute verification-needed-impish |
|
2021-11-01 03:14:06 |
Chris Chiu |
tags |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-done-focal verification-done-hirsute verification-needed-impish |
oem-priority originate-from-1923729 originate-from-1924204 originate-from-1925291 somerville verification-done-focal verification-done-hirsute verification-done-impish |
|
2021-11-08 14:29:58 |
Launchpad Janitor |
linux (Ubuntu Impish): status |
In Progress |
Fix Released |
|
2021-11-08 14:29:58 |
Launchpad Janitor |
cve linked |
|
2021-3759 |
|
2021-11-12 14:40:37 |
Anthony Wong |
linux (Ubuntu): status |
In Progress |
Fix Released |
|
2021-11-12 14:40:55 |
Anthony Wong |
hwe-next: status |
New |
Fix Released |
|