[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2022-09-02 Thread Timo Aaltonen
** Changed in: hwe-next
   Status: New => Fix Released

** Changed in: linux (Ubuntu)
   Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux source package in Impish:
  Won't Fix
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2022-07-18 Thread Brian Murray
Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: linux (Ubuntu Impish)
   Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux source package in Impish:
  Won't Fix
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-12-13 Thread Anthony Wong
** Changed in: linux (Ubuntu Impish)
   Status: Incomplete => Triaged

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux source package in Impish:
  Triaged
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 13.170584] kernel: iwlwifi :00:14.3: 0x02F0 | 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-10-18 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.13 - 5.13.0-1017.21

---
linux-oem-5.13 (5.13.0-1017.21) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1017.21 -proposed tracker (LP:
#1946722)

  * Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error
in SYNC CMD UNKNOWN (LP: #1941665)
- iwlwifi: mvm: support BIOS enable/disable for 11ax in Russia
- iwlwifi: mvm: Read acpi dsm to get unii4 enable/disable bitmap.

 -- Timo Aaltonen   Tue, 12 Oct 2021
11:54:40 +0300

** Changed in: linux-oem-5.13 (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux source package in Impish:
  Incomplete
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-10-18 Thread You-Sheng Yang
Verified on oem platform:
https://bugs.launchpad.net/somerville/+bug/1938017/comments/19

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Incomplete
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-10-15 Thread Timo Aaltonen
** Changed in: linux-oem-5.13 (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Incomplete
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]  

 


 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
  some of them may still fail to functioning stably due to fw error when

 
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
  following error appears:  

 


 
iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
  config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
  sync command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
  for command UNKNOWN

  Then begin FW error, hardware reset.

  [Fix]

  Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
  enable/disable bitmap") is required to fix this issue. The other commit
  is pulled in for dependency.

  [Test Case]

  Install a prebuilt kernel with these fixes, put DUT under idle for 5
  mins and check if there is still firmware error messages.

  [Where problems could occur]

  There is little chance that it can ever go wrong judging from the
  simplexity of the two commits.

  [Other Info]

  While the two patches have already been included in mainline and
  therefore Ubuntu unstable, only oem-5.13 and impish are nominated.

  == original bug report ==

  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

    iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
    iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-08-27 Thread You-Sheng Yang
SRU: https://lists.ubuntu.com/archives/kernel-
team/2021-August/123615.html (oem-5.13, impish)

** Description changed:

+ [SRU Justification]
+ 
+ [Impact]  

 
+   

 
+ After applied patches from bug 1933938 to enable AX201 on ADL platforms,  

 
+ some of them may still fail to functioning stably due to fw error when

 
+ LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,  

 
+ following error appears:  

 
+   

 
+   iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE,  

 
+ config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send
+ sync command UNKNOWN
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE
+ for command UNKNOWN
+ 
+ Then begin FW error, hardware reset.
+ 
+ [Fix]
+ 
+ Commit 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4
+ enable/disable bitmap") is required to fix this issue. The other commit
+ is pulled in for dependency.
+ 
+ [Test Case]
+ 
+ Install a prebuilt kernel with these fixes, put DUT under idle for 5
+ mins and check if there is still firmware error messages.
+ 
+ [Where problems could occur]
+ 
+ There is little chance that it can ever go wrong judging from the
+ simplexity of the two commits.
+ 
+ [Other Info]
+ 
+ While the two patches have already been included in mainline and
+ therefore Ubuntu unstable, only oem-5.13 and impish are nominated.
+ 
+ == original bug report ==
+ 
  After applied patches from bug 1933938 to enable AX201 on ADL platforms,
  some of them may still fail to functioning stably due to fw error when
  LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,
  following error appears:
  
-   iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
-   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
-   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN
+   iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN
  
  Then begin FW error, hardware reset:
  
  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 13.170584] kernel: iwlwifi :00:14.3: 0x02F0 | trm_hw_status0
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x | trm_hw_status1
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x004D83E4 | branchlink2
  [ 13.170586] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink1
  [ 13.170587] kernel: iwlwifi :00:14.3: 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-08-25 Thread You-Sheng Yang
PPA: https://launchpad.net/~vicamo/+archive/ubuntu/linux-staging,
starting from version 5.13.0-9011.13+staging.13

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  In Progress
Status in linux source package in Impish:
  Incomplete
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 13.170584] kernel: iwlwifi :00:14.3: 0x02F0 | trm_hw_status0
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x | trm_hw_status1
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x004D83E4 | branchlink2
  [ 13.170586] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink1
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink2
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x00014EBE | data1
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x0010 | data2
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x | data3
  ...
  [ 13.170740] kernel: iwlwifi :00:14.3: 0x05B0905B | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
  [ 13.170745] kernel: iwlwifi :00:14.3: 0x025B | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
  [ 13.170747] kernel: iwlwifi :00:14.3: Firmware error during 
reconfiguration - reprobe!
  [ 13.170759] kernel: iwlwifi :00:14.3: FW error in SYNC CMD UNKNOWN
  [ 13.170762] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170770] kernel: CPU: 10 PID: 900 Comm: wpa_supplicant Tainted: P W O 
5.13.0-9009-oem #10+staging.2-Ubuntu
  [ 13.170777] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170782] kernel: Hardware name: Dell Inc. Inspiron 3910/, BIOS 0.10.25 
07/23/2021
  [ 13.170786] kernel: Call Trace:
  [ 13.170794] kernel: dump_stack+0x7d/0x9c
  [ 13.170799] kernel: iwl_trans_txq_send_hcmd+0x457/0x460 [iwlwifi]
  [ 13.170816] kernel: ? wait_woken+0x80/0x80
  [ 13.170819] kernel: iwl_trans_send_cmd+0x6a/0x100 [iwlwifi]
  [ 13.170832] kernel: iwl_mvm_send_cmd+0x1f/0x50 [iwlmvm]
  [ 13.170845] kernel: iwl_mvm_send_cmd_pdu+0x51/0x70 [iwlmvm]
  [ 13.170856] kernel: iwl_mvm_up+0x7ab/0xcb0 [iwlmvm]
  [ 13.170863] kernel: ? ieee80211_wake_queues_by_reason+0xad/0xd0 [mac80211]
  [ 13.170900] kernel: __iwl_mvm_mac_start+0x2b/0x190 [iwlmvm]
  [ 13.170908] kernel: iwl_mvm_mac_start+0x2a/0x40 [iwlmvm]
  [ 13.170917] kernel: drv_start+0x43/0xd0 [mac80211]
  [ 13.170934] kernel: ieee80211_do_open+0x394/0x810 [mac80211]
  [ 13.170954] kernel: ieee80211_open+0x6c/0x90 [mac80211]
  [ 13.170971] kernel: __dev_open+0xec/0x180
  [ 13.170975] kernel: __dev_change_flags+0x188/0x1e0
  [ 13.170977] kernel: dev_change_flags+0x26/0x60
  [ 13.170979] kernel: devinet_ioctl+0x608/0x770
  [ 13.170982] kernel: ? copy_msghdr_from_user+0x5c/0x90
  [ 13.170985] kernel: 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-08-25 Thread You-Sheng Yang
While this depending on bug 1933938, which is not yet committed to
oem-5.13, so this would affect only oem-5.13/Impish, and v5.14 kernels
are not affected for they have the solution already.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1941665

Title:
  Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW
  error in SYNC CMD UNKNOWN

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.13 source package in Focal:
  In Progress
Status in linux source package in Impish:
  Incomplete
Status in linux-oem-5.13 source package in Impish:
  Invalid

Bug description:
  After applied patches from bug 1933938 to enable AX201 on ADL
  platforms, some of them may still fail to functioning stably due to fw
  error when LARI_CONFIG_CHANGE command is sent. With
  CONFIG_IWLWIFI_DEBUG turned on, following error appears:

iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN

  Then begin FW error, hardware reset:

  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
   89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 13.170584] kernel: iwlwifi :00:14.3: 0x02F0 | trm_hw_status0
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x | trm_hw_status1
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x004D83E4 | branchlink2
  [ 13.170586] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink1
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink2
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x00014EBE | data1
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x0010 | data2
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x | data3
  ...
  [ 13.170740] kernel: iwlwifi :00:14.3: 0x05B0905B | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
  [ 13.170745] kernel: iwlwifi :00:14.3: 0x025B | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
  [ 13.170747] kernel: iwlwifi :00:14.3: Firmware error during 
reconfiguration - reprobe!
  [ 13.170759] kernel: iwlwifi :00:14.3: FW error in SYNC CMD UNKNOWN
  [ 13.170762] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170770] kernel: CPU: 10 PID: 900 Comm: wpa_supplicant Tainted: P W O 
5.13.0-9009-oem #10+staging.2-Ubuntu
  [ 13.170777] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170782] kernel: Hardware name: Dell Inc. Inspiron 3910/, BIOS 0.10.25 
07/23/2021
  [ 13.170786] kernel: Call Trace:
  [ 13.170794] kernel: dump_stack+0x7d/0x9c
  [ 13.170799] kernel: iwl_trans_txq_send_hcmd+0x457/0x460 [iwlwifi]
  [ 13.170816] kernel: ? wait_woken+0x80/0x80
  [ 13.170819] kernel: iwl_trans_send_cmd+0x6a/0x100 [iwlwifi]
  [ 13.170832] kernel: iwl_mvm_send_cmd+0x1f/0x50 [iwlmvm]
  [ 13.170845] kernel: iwl_mvm_send_cmd_pdu+0x51/0x70 [iwlmvm]
  [ 13.170856] kernel: iwl_mvm_up+0x7ab/0xcb0 [iwlmvm]
  [ 13.170863] kernel: ? ieee80211_wake_queues_by_reason+0xad/0xd0 [mac80211]
  [ 13.170900] kernel: __iwl_mvm_mac_start+0x2b/0x190 [iwlmvm]
  [ 13.170908] kernel: iwl_mvm_mac_start+0x2a/0x40 [iwlmvm]
  [ 13.170917] kernel: drv_start+0x43/0xd0 [mac80211]
  [ 13.170934] kernel: ieee80211_do_open+0x394/0x810 [mac80211]
  [ 13.170954] kernel: ieee80211_open+0x6c/0x90 [mac80211]
  [ 13.170971] kernel: __dev_open+0xec/0x180
  [ 13.170975] kernel: __dev_change_flags+0x188/0x1e0
  [ 13.170977] kernel: dev_change_flags+0x26/0x60
  [ 13.170979] kernel: devinet_ioctl+0x608/0x770
  [ 

[Kernel-packages] [Bug 1941665] Re: Intel AX201 8086:7af0 subsys 8086:4070 hardware reset periodically: FW error in SYNC CMD UNKNOWN

2021-08-25 Thread You-Sheng Yang
Need following two fixes from 
https://www.spinics.net/lists/linux-wireless/msg211717.html:
* 7119f02b5d34 (“iwlwifi: mvm: support BIOS enable/disable for 11ax in Russia”)
* 54b4fda5a761 ("iwlwifi: mvm: Read acpi dsm to get unii4 enable/disable 
bitmap.")

** Description changed:

+ After applied patches from bug 1933938 to enable AX201 on ADL platforms,
+ some of them may still fail to functioning stably due to fw error when
+ LARI_CONFIG_CHANGE command is sent. With CONFIG_IWLWIFI_DEBUG turned on,
+ following error appears:
+ 
+   iwlwifi :00:14.3: iwl_mvm_lari_cfg sending LARI_CONFIG_CHANGE, 
config_bitmap=0x8, oem_11ax_allow_bitmap=0xf
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Attempting to send sync 
command UNKNOWN
+   iwlwifi :00:14.3: iwl_trans_txq_send_hcmd_sync Setting HCMD_ACTIVE for 
command UNKNOWN
+ 
+ Then begin FW error, hardware reset:
+ 
  [ 12.469094] kernel: RIP: 0033:0x7f8de181612d
  [ 12.469097] kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee 
ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 
3d 00 f0 ff ff 77 2f 44
-  89 c7 48 89 44 24 08 e8 fe ee ff ff 48
+  89 c7 48 89 44 24 08 e8 fe ee ff ff 48
  [ 12.469099] kernel: RSP: 002b:7fff1de04900 EFLAGS: 0293 ORIG_RAX: 
002e
  [ 12.469102] kernel: RAX: ffda RBX: 5622f7660880 RCX: 
7f8de181612d
  [ 12.469103] kernel: RDX:  RSI: 7fff1de04950 RDI: 
000c
  [ 12.469104] kernel: RBP: 7fff1de04950 R08:  R09: 

  [ 12.469105] kernel: R10: 0001 R11: 0293 R12: 
5622f7660880
  [ 12.469106] kernel: R13: 7fff1de04b08 R14: 7fff1de04afc R15: 

  [ 13.170483] kernel: iwlwifi :00:14.3: Microcode SW error detected. 
Restarting 0x0.
  [ 13.170580] kernel: iwlwifi :00:14.3: Start IWL Error Log Dump:
  [ 13.170581] kernel: iwlwifi :00:14.3: Transport status: 0x004B, 
valid: 6
  [ 13.170582] kernel: iwlwifi :00:14.3: Loaded firmware version: 
64.97bbee0a.0 so-a0-hr-b0-64.ucode
  [ 13.170583] kernel: iwlwifi :00:14.3: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
  [ 13.170584] kernel: iwlwifi :00:14.3: 0x02F0 | trm_hw_status0
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x | trm_hw_status1
  [ 13.170585] kernel: iwlwifi :00:14.3: 0x004D83E4 | branchlink2
  [ 13.170586] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink1
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x004CEB8A | interruptlink2
  [ 13.170587] kernel: iwlwifi :00:14.3: 0x00014EBE | data1
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x0010 | data2
  [ 13.170588] kernel: iwlwifi :00:14.3: 0x | data3
  ...
  [ 13.170740] kernel: iwlwifi :00:14.3: 0x05B0905B | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
  [ 13.170745] kernel: iwlwifi :00:14.3: 0x025B | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
  [ 13.170747] kernel: iwlwifi :00:14.3: Firmware error during 
reconfiguration - reprobe!
  [ 13.170759] kernel: iwlwifi :00:14.3: FW error in SYNC CMD UNKNOWN
  [ 13.170762] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170770] kernel: CPU: 10 PID: 900 Comm: wpa_supplicant Tainted: P W O 
5.13.0-9009-oem #10+staging.2-Ubuntu
  [ 13.170777] kernel: iwlwifi :00:14.3: LED command failed: -5
  [ 13.170782] kernel: Hardware name: Dell Inc. Inspiron 3910/, BIOS 0.10.25 
07/23/2021
  [ 13.170786] kernel: Call Trace:
  [ 13.170794] kernel: dump_stack+0x7d/0x9c
  [ 13.170799] kernel: iwl_trans_txq_send_hcmd+0x457/0x460 [iwlwifi]
  [ 13.170816] kernel: ? wait_woken+0x80/0x80
  [ 13.170819] kernel: iwl_trans_send_cmd+0x6a/0x100 [iwlwifi]
  [ 13.170832] kernel: iwl_mvm_send_cmd+0x1f/0x50 [iwlmvm]
  [ 13.170845] kernel: iwl_mvm_send_cmd_pdu+0x51/0x70 [iwlmvm]
  [ 13.170856] kernel: iwl_mvm_up+0x7ab/0xcb0 [iwlmvm]
  [ 13.170863] kernel: ? ieee80211_wake_queues_by_reason+0xad/0xd0 [mac80211]
  [ 13.170900] kernel: __iwl_mvm_mac_start+0x2b/0x190 [iwlmvm]
  [ 13.170908] kernel: iwl_mvm_mac_start+0x2a/0x40 [iwlmvm]
  [ 13.170917] kernel: drv_start+0x43/0xd0 [mac80211]
  [ 13.170934] kernel: ieee80211_do_open+0x394/0x810 [mac80211]
  [ 13.170954] kernel: ieee80211_open+0x6c/0x90 [mac80211]
  [ 13.170971] kernel: __dev_open+0xec/0x180
  [ 13.170975] kernel: __dev_change_flags+0x188/0x1e0
  [ 13.170977] kernel: dev_change_flags+0x26/0x60
  [ 13.170979] kernel: devinet_ioctl+0x608/0x770
  [ 13.170982] kernel: ? copy_msghdr_from_user+0x5c/0x90
  [ 13.170985] kernel: inet_ioctl+0x190/0x1c0
  [ 13.170987] kernel: ? netdev_name_node_lookup_rcu+0x6c/0x80
  [ 13.170990] kernel: ? dev_get_by_name_rcu+0xe/0x20
  [ 13.170992] kernel: ? dev_ioctl+0x28d/0x480
  [ 13.170995] kernel: sock_do_ioctl+0x47/0x140
  [ 13.170998] kernel: sock_ioctl+0x246/0x330
  [ 13.170999] kernel: ? __sys_recvmsg+0x5f/0xb0
  [ 13.171000] kernel: __x64_sys_ioctl+0x91/0xc0
  [ 13.171003] kernel: do_syscall_64+0x40/0xb0
  [ 13.171006] kernel: