Skip to content

net: macb: Fix two lock warnings when WOL is used

Kevin Hao netdev stable 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected] change-id 20260311-macb-irq-39b8a3333bd8

Versions newest first

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Add Reviewed-by from Théo Lebrun for patch 1

- Reduce the scope of the RCU lock by using a local variable, as suggested by Théo Lebrun.

- Fix minor typos in the patch 2 subject and commit log

- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: macb: Move devm_{free,request}_irq() out of spin lock areadrivers/net/ethernet/cadence/macb_main.c+7 -50 repliesApplied
2/2net: macb: Protect access to net_device::ip_ptr with RCU lockdrivers/net/ethernet/cadence/macb_main.c+16 -91 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThéo Lebrun
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/2] net: macb: Fix two lock warnings when WOL is used

Hi,

This patch series addresses two lock warnings that occur when using WOL as a wakeup source on my AMD ZynqMP board.

---
Cc: Nicolas Ferre <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: Vineeth Karumanchi <[email protected]>
Cc: Harini Katakam <[email protected]>
Cc: Théo Lebrun <[email protected]>

---
Changes in v2:

- Add Reviewed-by from Théo Lebrun for patch 1

- Reduce the scope of the RCU lock by using a local variable, as suggested by Théo Lebrun.

- Fix minor typos in the patch 2 subject and commit log

- Link to v1: https://lore.kernel.org/r/[email protected]

---
Kevin Hao (2):
net: macb: Move devm_{free,request}_irq() out of spin lock area
net: macb: Protect access to net_device::ip_ptr with RCU lock

 drivers/net/ethernet/cadence/macb_main.c | 37 ++++++++++++++++++++------------
 1 file changed, 23 insertions(+), 14 deletions(-)

---
base-commit: 8e5a478b6d6a5bb0a3d52147862b15e4d826af19
change-id: 20260311-macb-irq-39b8a3333bd8

Best regards,

Signature · 1 line
Kevin Hao <[email protected]>