[PATCH 0/2][SRU][OEM-5.17] Intel iwlwifi AX211: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1

You-Sheng Yang vicamo.yang at canonical.com
Mon Jun 20 10:35:25 UTC 2022


From: "You-Sheng Yang (vicamo)" <vicamo.yang at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1979182

[Impact]

Kernel warning dumps at boot on Intel iwlwifi AX211 equipped platforms
running oem-5.17 kernel:

kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 1, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 2, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 3, ret=-1

[Fix]

v5.18-rc1 upstream commit c76c83097587 ("iwlwifi: dbg-tlv: clean up
iwl_dbg_tlv_update_drams()" skips unnecessary dumps and therefore avoid
this kernel warning.

Commit ab23da483bd7 is to allocation debug fragments correctly.

[Test Case]

Reboot with prebuilt kernel and it shall no longer warns about it.

[Where problems could occur]

The original patch was meant to avoid allocating a struct iwl_dram_info
on the stack by reusing an existing debug-only fragment, there is no
impact for ordinary driver use.

[Other Info]

While this affects only v5.17 and above, and the fixes are in v5.18-rc1,
it follows oem-5.17 is the only victim here.

Johannes Berg (1):
  iwlwifi: dbg-tlv: clean up iwl_dbg_tlv_update_drams()

Rotem Saado (1):
  iwlwifi: yoyo: fix DBGC allocation flow

 .../net/wireless/intel/iwlwifi/iwl-dbg-tlv.c  | 32 +++++++++++--------
 1 file changed, 19 insertions(+), 13 deletions(-)

-- 
2.36.1




More information about the kernel-team mailing list