[PATCH ath-next v7] wifi: ath12k: avoid dynamic alloc when parsing wmi tb

Jeff Johnson jeff.johnson at oss.qualcomm.com
Fri Apr 10 09:25:52 PDT 2026


On Tue, 07 Apr 2026 11:54:26 +0200, Nicolas Escande wrote:
> On each WMI message received from the hardware, we alloc a temporary array
> of WMI_TAG_MAX entries of type void *. This array is then populated with
> pointers of parsed structs depending on the WMI type, and then freed. This
> alloc can fail when memory pressure in the system is high enough.
> 
> Given the fact that it is scheduled in softirq with the system_bh_wq, we
> should not be able to parse more than one WMI message per CPU at any time.
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: avoid dynamic alloc when parsing wmi tb
      commit: 9a4f673eb08d2a7713b258d671b4a45f2a6e68b7

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list