[PATCH v3 0/2] net/ncsi: fix oem gma command handling and state race issue

From: Potin Lai
Date: Sun Jan 12 2025 - 21:37:37 EST


We are seeing kernel panic when enabling two NCSI interfaces at same
time. It looks like mutex lock is being used in softirq caused the
issue.

This patch series try to fix oem gma command handling issue by adding a
new state, also fix a potential state handling issue.

Signed-off-by: Potin Lai <potin.lai.pt@xxxxxxxxx>
---
Changes in v3:
- Fix compile error by removing non-exist variable.
- Link to v2: https://lore.kernel.org/r/20250111-fix-ncsi-mac-v2-0-838e0a1a233a@xxxxxxxxx

Changes in v2:
- Add second patch for fixing state handling issue.
- Link to v1: https://lore.kernel.org/all/20250109145054.30925-1-fercerpav@xxxxxxxxx/

---
Cosmo Chou (1):
net/ncsi: fix state race during channel probe completion

Paul Fertser (1):
net/ncsi: fix locking in Get MAC Address handling

net/ncsi/internal.h | 2 ++
net/ncsi/ncsi-manage.c | 21 ++++++++++++++++++---
net/ncsi/ncsi-rsp.c | 19 ++++++-------------
3 files changed, 26 insertions(+), 16 deletions(-)
---
base-commit: fc033cf25e612e840e545f8d5ad2edd6ba613ed5
change-id: 20250111-fix-ncsi-mac-1e4b3df431f1

Best regards,
--
Potin Lai <potin.lai.pt@xxxxxxxxx>