]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ethernet: cortina: Locking fixes
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 May 2024 07:44:54 +0000 (09:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 May 2024 02:17:08 +0000 (19:17 -0700)
commit812552808f7ff71133fc59768cdc253c5b8ca1bf
tree625f68f3b4f9ccc31076700c1950735d5a44b7a1
parent6d51d44ecddb5c2962688ef06e55e4fbc949f04a
net: ethernet: cortina: Locking fixes

This fixes a probably long standing problem in the Cortina
Gemini ethernet driver: there are some paths in the code
where the IRQ registers are written without taking the proper
locks.

Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240509-gemini-ethernet-locking-v1-1-afd00a528b95@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cortina/gemini.c