Commit 8125528
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: 4d5ae32 ("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>1 parent 6d51d44 commit 8125528
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| 1110 | + | |
1110 | 1111 | | |
1111 | 1112 | | |
1112 | 1113 | | |
1113 | 1114 | | |
| 1115 | + | |
| 1116 | + | |
1114 | 1117 | | |
1115 | 1118 | | |
1116 | 1119 | | |
| |||
1119 | 1122 | | |
1120 | 1123 | | |
1121 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
1122 | 1127 | | |
1123 | 1128 | | |
1124 | 1129 | | |
| |||
1415 | 1420 | | |
1416 | 1421 | | |
1417 | 1422 | | |
| 1423 | + | |
1418 | 1424 | | |
1419 | 1425 | | |
1420 | 1426 | | |
1421 | 1427 | | |
1422 | 1428 | | |
| 1429 | + | |
1423 | 1430 | | |
1424 | 1431 | | |
1425 | 1432 | | |
1426 | 1433 | | |
| 1434 | + | |
| 1435 | + | |
1427 | 1436 | | |
1428 | 1437 | | |
1429 | 1438 | | |
| |||
1726 | 1735 | | |
1727 | 1736 | | |
1728 | 1737 | | |
| 1738 | + | |
1729 | 1739 | | |
1730 | 1740 | | |
1731 | | - | |
1732 | | - | |
1733 | 1741 | | |
1734 | 1742 | | |
1735 | 1743 | | |
| |||
0 commit comments