Vladimir Oltean
22d842e3ef
net: mscc: ocelot: turn stats_lock into a spinlock
...
ocelot_get_stats64() currently runs unlocked and therefore may collide
with ocelot_port_update_stats() which indirectly accesses the same
counters. However, ocelot_get_stats64() runs in atomic context, and we
cannot simply take the sleepable ocelot->stats_lock mutex. We need to
convert it to an atomic spinlock first. Do that as a preparatory change.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2022-08-17 21:58:31 -07:00
..
2022-08-08 11:31:40 -07:00
2022-08-11 13:26:09 -07:00
2022-08-05 16:32:45 -07:00
2022-08-06 16:38:17 -07:00
2022-08-08 20:51:59 -07:00
2022-08-04 11:31:20 -07:00
2022-08-11 12:41:07 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-08-06 17:05:21 -07:00
2022-08-04 18:40:08 -07:00
2022-08-06 15:04:48 -07:00
2022-08-04 19:30:35 -07:00
2022-08-08 14:29:00 -07:00
2022-08-08 14:29:00 -07:00
2022-08-02 17:45:14 -07:00
2022-08-05 16:11:38 -07:00
2022-08-08 14:29:00 -07:00
2022-08-04 19:30:35 -07:00
2022-08-03 19:52:08 -07:00
2022-08-06 16:38:17 -07:00
2022-07-28 22:21:54 -07:00
2022-08-06 15:04:48 -07:00
2022-08-04 18:34:05 -07:00
2022-08-08 14:29:00 -07:00
2022-08-04 18:19:14 -07:00
2022-08-10 06:37:01 -07:00
2022-08-05 10:07:23 -07:00
2022-08-06 16:38:17 -07:00
2022-08-02 11:17:00 -07:00
2022-08-06 10:56:45 -07:00
2022-08-11 09:23:08 -07:00
2022-08-07 17:52:35 -07:00
2022-08-06 15:04:48 -07:00
2022-08-08 11:36:21 -07:00
2022-08-08 10:19:40 -07:00
2022-08-06 11:09:55 -07:00
2022-08-08 14:29:00 -07:00
2022-08-08 14:29:00 -07:00
2022-08-04 19:41:09 -07:00
2022-08-06 10:25:16 -07:00
2022-08-05 16:32:45 -07:00
2022-08-04 19:41:09 -07:00
2022-08-05 14:13:45 -07:00
2022-08-17 21:58:31 -07:00
2022-08-10 11:07:26 -07:00
2022-08-06 10:56:45 -07:00
2022-08-04 12:12:54 -07:00
2022-08-08 11:31:40 -07:00
2022-08-03 17:49:38 +02:00
2022-08-05 09:58:58 -07:00
2022-08-10 11:07:26 -07:00
2022-08-04 19:30:35 -07:00
2022-08-10 11:01:44 -07:00
2022-08-04 18:19:14 -07:00
2022-08-04 18:19:14 -07:00
2022-08-02 11:17:00 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 18:13:19 -07:00
2022-08-08 10:32:17 -05:00
2022-08-05 10:02:33 -07:00
2022-08-11 13:45:37 -07:00
2022-08-06 16:38:17 -07:00
2022-08-08 14:29:00 -07:00
2022-08-06 10:19:51 -07:00
2022-08-06 16:38:17 -07:00
2022-08-04 12:01:42 -07:00
2022-08-04 19:47:37 -07:00
2022-08-08 14:23:37 -07:00
2022-08-04 11:41:28 -07:00
2022-08-08 11:31:40 -07:00
2022-08-04 19:47:37 -07:00
2022-08-08 11:31:40 -07:00
2022-08-06 08:59:35 -07:00
2022-08-08 22:37:22 -04:00
2022-08-08 11:31:40 -07:00
2022-08-04 11:05:48 -07:00
2022-08-05 16:32:45 -07:00
2022-08-08 15:04:04 -07:00
2022-08-05 16:32:45 -07:00
2022-08-04 12:01:42 -07:00