]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mana: Handle hardware recovery events when probing the device
authorLong Li <longli@microsoft.com>
Wed, 26 Nov 2025 21:45:52 +0000 (13:45 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Dec 2025 21:53:53 +0000 (13:53 -0800)
commit9bf66036d686b9a67000ba22bd94be13a4ea79ac
tree78a6592716159ccac64852429814309e85f2b0db
parent6ab578739a4c1f5ae3c5416d9c7339a2f50d83f1
net: mana: Handle hardware recovery events when probing the device

When MANA is being probed, it's possible that hardware is in recovery
mode and the device may get GDMA_EQE_HWC_RESET_REQUEST over HWC in the
middle of the probe. Detect such condition and go through the recovery
service procedure.

Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/1764193552-9712-1-git-send-email-longli@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/gdma_main.c
include/net/mana/gdma.h