2022-07-18 02:08:38 |
AceLan Kao |
bug |
|
|
added bug |
2022-07-18 02:08:49 |
AceLan Kao |
bug task added |
|
linux-oem-5.17 (Ubuntu) |
|
2022-07-18 02:09:03 |
AceLan Kao |
nominated for series |
|
Ubuntu Focal |
|
2022-07-18 02:09:03 |
AceLan Kao |
bug task added |
|
linux-oem-5.14 (Ubuntu Focal) |
|
2022-07-18 02:09:03 |
AceLan Kao |
bug task added |
|
linux-oem-5.17 (Ubuntu Focal) |
|
2022-07-18 02:09:03 |
AceLan Kao |
nominated for series |
|
Ubuntu Jammy |
|
2022-07-18 02:09:03 |
AceLan Kao |
bug task added |
|
linux-oem-5.14 (Ubuntu Jammy) |
|
2022-07-18 02:09:03 |
AceLan Kao |
bug task added |
|
linux-oem-5.17 (Ubuntu Jammy) |
|
2022-07-18 02:09:17 |
AceLan Kao |
bug task added |
|
linux (Ubuntu) |
|
2022-07-18 02:10:05 |
AceLan Kao |
description |
[Impact]
The system with atlantic NIC[1d6a:94c0] fails to resume from S3 and hang with the following errors
Jun 7 13:13:54 ubuntu kernel: [ 116.000561] aq_nic_deinit+0xb4/0xd0 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000566] atl_resume_common+0x6d/0x110 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000571] aq_pm_resume_restore+0x13/0x20 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000575] pci_pm_resume+0x5c/0x90
Jun 7 13:13:54 ubuntu kernel: [ 116.000578] ? pci_pm_thaw+0x80/0x80
Jun 7 13:13:54 ubuntu kernel: [ 116.000580] dpm_run_callback+0x4e/0x120
Jun 7 13:13:54 ubuntu kernel: [ 116.000582] device_resume+0xad/0x200
Jun 7 13:13:54 ubuntu kernel: [ 116.000583] async_resume+0x1e/0x40
Jun 7 13:13:54 ubuntu kernel: [ 116.000585] async_run_entry_fn+0x33/0x120
Jun 7 13:13:54 ubuntu kernel: [ 116.000586] process_one_work+0x220/0x3c0
Jun 7 13:13:54 ubuntu kernel: [ 116.000588] worker_thread+0x4d/0x3f0
Jun 7 13:13:54 ubuntu kernel: [ 116.000589] ? process_one_work+0x3c0/0x3c0
Jun 7 13:13:54 ubuntu kernel: [ 116.000591] kthread+0x12a/0x150
Jun 7 13:13:54 ubuntu kernel: [ 116.000592] ? set_kthread_struct+0x40/0x40
Jun 7 13:13:54 ubuntu kernel: [ 116.000593] ret_from_fork+0x22/0x30
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] </TASK>
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] ---[ end trace 9d3fcd41d27dae25 ]---
[Fix]
aq_nic_deinit() has been called while suspending, so don't need to call it again on resuming.
Applied below 2 commits from v5.19-rc7 fix the issue, and the 2 commits have been applied to stable kernel v5.10, v5.15, and v5.18, so only submit the SRU to oem kernels.
2e15c51fefaf net: atlantic: remove aq_nic_deinit() when resume
0f3325076038 net: atlantic: remove deep parameter on suspend/resume functions
[Test]
Verified on the system with atlantic NIC[1d6a:94c0] and run S3 test for more than 200 times.
[Where problems could occur]
The 2 commits remove the redundant code, aq_nic_deinit() has been called while suspending, so we don't need to call it again while resuming, and this fix the issue. I don't think this would introduce any regressions. |
[Impact]
The system with atlantic NIC[1d6a:94c0] fails to resume from S3 and hang with the following errors
Jun 7 13:13:54 ubuntu kernel: [ 116.000561] aq_nic_deinit+0xb4/0xd0 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000566] atl_resume_common+0x6d/0x110 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000571] aq_pm_resume_restore+0x13/0x20 [atlantic]
Jun 7 13:13:54 ubuntu kernel: [ 116.000575] pci_pm_resume+0x5c/0x90
Jun 7 13:13:54 ubuntu kernel: [ 116.000578] ? pci_pm_thaw+0x80/0x80
Jun 7 13:13:54 ubuntu kernel: [ 116.000580] dpm_run_callback+0x4e/0x120
Jun 7 13:13:54 ubuntu kernel: [ 116.000582] device_resume+0xad/0x200
Jun 7 13:13:54 ubuntu kernel: [ 116.000583] async_resume+0x1e/0x40
Jun 7 13:13:54 ubuntu kernel: [ 116.000585] async_run_entry_fn+0x33/0x120
Jun 7 13:13:54 ubuntu kernel: [ 116.000586] process_one_work+0x220/0x3c0
Jun 7 13:13:54 ubuntu kernel: [ 116.000588] worker_thread+0x4d/0x3f0
Jun 7 13:13:54 ubuntu kernel: [ 116.000589] ? process_one_work+0x3c0/0x3c0
Jun 7 13:13:54 ubuntu kernel: [ 116.000591] kthread+0x12a/0x150
Jun 7 13:13:54 ubuntu kernel: [ 116.000592] ? set_kthread_struct+0x40/0x40
Jun 7 13:13:54 ubuntu kernel: [ 116.000593] ret_from_fork+0x22/0x30
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] </TASK>
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] ---[ end trace 9d3fcd41d27dae25 ]---
[Fix]
aq_nic_deinit() has been called while suspending, so don't need to call it again on resuming.
Applied below 2 commits from v5.19-rc7 fix the issue, and the 2 commits have been applied to stable kernel v5.10, v5.15, and v5.18.
2e15c51fefaf net: atlantic: remove aq_nic_deinit() when resume
0f3325076038 net: atlantic: remove deep parameter on suspend/resume functions
[Test]
Verified on the system with atlantic NIC[1d6a:94c0] and run S3 test for more than 200 times.
[Where problems could occur]
The 2 commits remove the redundant code, aq_nic_deinit() has been called while suspending, so we don't need to call it again while resuming, and this fix the issue. I don't think this would introduce any regressions. |
|
2022-07-18 02:10:18 |
AceLan Kao |
linux (Ubuntu Focal): status |
New |
Invalid |
|
2022-07-18 02:10:25 |
AceLan Kao |
linux (Ubuntu): status |
New |
Invalid |
|
2022-07-18 02:10:28 |
AceLan Kao |
linux (Ubuntu Jammy): status |
New |
In Progress |
|
2022-07-18 02:10:34 |
AceLan Kao |
linux-oem-5.14 (Ubuntu Focal): status |
New |
In Progress |
|
2022-07-18 02:10:39 |
AceLan Kao |
linux-oem-5.14 (Ubuntu): status |
New |
Invalid |
|
2022-07-18 02:10:41 |
AceLan Kao |
linux-oem-5.14 (Ubuntu Jammy): status |
New |
Invalid |
|
2022-07-18 02:10:44 |
AceLan Kao |
linux-oem-5.17 (Ubuntu): status |
New |
Invalid |
|
2022-07-18 02:10:47 |
AceLan Kao |
linux-oem-5.17 (Ubuntu Focal): status |
New |
Invalid |
|
2022-07-18 02:10:51 |
AceLan Kao |
linux-oem-5.17 (Ubuntu Jammy): status |
New |
In Progress |
|
2022-07-18 02:10:54 |
AceLan Kao |
linux-oem-5.17 (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2022-07-18 02:10:58 |
AceLan Kao |
linux-oem-5.14 (Ubuntu Focal): assignee |
|
AceLan Kao (acelankao) |
|
2022-07-18 02:11:02 |
AceLan Kao |
linux (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2022-07-18 02:11:33 |
AceLan Kao |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2022-07-18 02:11:37 |
AceLan Kao |
tags |
|
oem-priority originate-from-1977805 somerville |
|
2022-07-19 10:00:47 |
AceLan Kao |
linux-oem-5.17 (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-07-19 10:00:58 |
AceLan Kao |
linux-oem-5.14 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-07-21 18:41:48 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1977805 somerville |
oem-priority originate-from-1977805 somerville verification-needed-jammy |
|
2022-07-22 08:17:56 |
AceLan Kao |
tags |
oem-priority originate-from-1977805 somerville verification-needed-jammy |
oem-priority originate-from-1977805 somerville verification-done-jammy |
|
2022-07-28 10:29:52 |
Launchpad Janitor |
linux-oem-5.17 (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-07-28 10:29:52 |
Launchpad Janitor |
cve linked |
|
2022-34918 |
|
2022-07-28 12:51:26 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1977805 somerville verification-done-jammy |
oem-priority originate-from-1977805 somerville verification-done-jammy verification-needed-focal |
|
2022-08-01 01:48:18 |
AceLan Kao |
tags |
oem-priority originate-from-1977805 somerville verification-done-jammy verification-needed-focal |
oem-priority originate-from-1977805 somerville verification-done-focal verification-done-jammy |
|
2022-08-01 20:30:18 |
Launchpad Janitor |
linux-oem-5.14 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-08-05 12:56:54 |
Stefan Bader |
linux (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2022-08-05 12:56:54 |
Stefan Bader |
linux (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-08-08 12:59:03 |
Timo Aaltonen |
hwe-next: importance |
Undecided |
Critical |
|
2022-08-08 12:59:03 |
Timo Aaltonen |
hwe-next: status |
New |
Fix Committed |
|
2022-08-31 08:38:25 |
Launchpad Janitor |
linux (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-08-31 08:38:25 |
Launchpad Janitor |
cve linked |
|
2021-33061 |
|
2022-08-31 09:11:19 |
Timo Aaltonen |
hwe-next: status |
Fix Committed |
Fix Released |
|
2023-01-17 09:59:04 |
Anthony Wong |
nominated for series |
|
Ubuntu Kinetic |
|
2023-01-17 09:59:04 |
Anthony Wong |
bug task added |
|
linux (Ubuntu Kinetic) |
|
2023-01-17 09:59:04 |
Anthony Wong |
bug task added |
|
linux-oem-5.14 (Ubuntu Kinetic) |
|
2023-01-17 09:59:04 |
Anthony Wong |
bug task added |
|
linux-oem-5.17 (Ubuntu Kinetic) |
|
2023-01-17 09:59:14 |
Anthony Wong |
linux (Ubuntu Kinetic): status |
New |
Fix Released |
|
2023-01-17 09:59:24 |
Anthony Wong |
linux-oem-5.14 (Ubuntu Kinetic): status |
New |
Invalid |
|
2023-01-17 09:59:35 |
Anthony Wong |
linux-oem-5.17 (Ubuntu Kinetic): status |
New |
Invalid |
|
2024-03-01 06:16:58 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1977805 somerville verification-done-focal verification-done-jammy |
kernel-spammed-jammy-linux-mtk-v2 oem-priority originate-from-1977805 somerville verification-done-focal verification-done-jammy verification-needed-jammy-linux-mtk |
|