Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: airoha: fix NPU mailbox and WLAN initialization
@ 2026-11-30  3:41 Faliang Wang
  2026-11-30  3:41 ` [PATCH net 1/2] net: airoha: fix NPU mailbox notification ordering Faliang Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Faliang Wang @ 2026-11-30  3:41 UTC (permalink / raw)
  To: netdev
  Cc: lorenzo, andrew+netdev, davem, edumazet, kuba, pabeni,
	linux-arm-kernel, linux-mediatek, Faliang Wang

During automated reboot testing, NPU mailbox communication can fail
intermittently and prevent Wi-Fi from coming up.

This series contains two changes:

Write the function information to CTRL(3) before updating the message
counter in CTRL(2). This ensures that the function information is
written before the NPU is notified of a new message.

Retry WLAN initialization commands up to three total attempts, with
a 10-11 ms sleep between failed attempts. Apply the same retry handling
to the optional BA memory-region initialization command.

Faliang Wang (2):
  net: airoha: fix NPU mailbox notification ordering
  net: airoha: retry WLAN initialization commands

 drivers/net/ethernet/airoha/airoha_npu.c | 45 +++++++++++++++++-------
 1 file changed, 33 insertions(+), 12 deletions(-)


base-commit: e6474ead54b8acecb8b0462dde2d77f46d2b7dc1
-- 
2.43.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-30  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  3:41 [PATCH net 0/2] net: airoha: fix NPU mailbox and WLAN initialization Faliang Wang
2026-11-30  3:41 ` [PATCH net 1/2] net: airoha: fix NPU mailbox notification ordering Faliang Wang
2026-11-30  3:41 ` [PATCH net 2/2] net: airoha: retry WLAN initialization commands Faliang Wang
2026-11-30  3:45 ` [PATCH net 0/2] net: airoha: fix NPU mailbox and WLAN initialization netdev-bot+sinfo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox