Esben Haabendal
1bd33bf0fe
net: ll_temac: Prepare indirect register access for multicast support
...
With .ndo_set_rx_mode/temac_set_multicast_list() being called in atomic
context (holding addr_list_lock), and temac_set_multicast_list() needing
to access temac indirect registers, the mutex used to synchronize indirect
register is a no-no.
Replace it with a spinlock, and avoid sleeping in
temac_indirect_busywait().
To avoid excessive holding of the lock, which is now a spinlock, the
temac_device_reset() function is changed to only hold the lock for short
periods. With timeouts, it could be holding the spinlock for more than
2 seconds.
Signed-off-by: Esben Haabendal <esben@geanix.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-05-23 09:33:57 -07:00
..
2019-03-22 16:48:47 +01:00
2018-07-18 10:10:23 +02:00
2019-03-01 09:45:52 -05:00
2018-07-18 10:10:23 +02:00
2019-05-10 13:03:47 -04:00
2019-04-17 10:37:23 -07:00
2018-07-02 23:05:14 -07:00
2018-02-14 10:28:13 -08:00
2019-05-21 11:28:46 +02:00
2019-01-17 11:31:24 -08:00
2018-03-20 10:16:26 -07:00
2018-03-20 10:16:26 -07:00
2018-05-17 12:44:06 +02:00
2018-11-28 12:41:31 +00:00
2019-02-18 11:58:08 +05:30
2019-01-07 17:57:13 +05:30
2018-10-02 20:11:00 +05:30
2019-02-25 23:25:51 +05:30
2018-09-11 12:06:39 +05:30
2018-02-22 10:53:59 -08:00
2019-04-17 10:37:23 -07:00
2019-01-17 11:31:24 -08:00
2018-09-10 19:58:49 +02:00
2019-04-08 10:21:17 +02:00
2019-04-28 23:08:15 -07:00
2018-11-26 16:45:10 +05:30
2018-05-28 09:45:27 +02:00
2018-03-19 01:50:28 +01:00
2019-04-11 15:13:33 +02:00
2018-10-08 11:40:43 +02:00
2018-05-17 16:27:09 +02:00
2018-06-25 15:12:42 +02:00
2018-05-17 16:27:52 +02:00
2019-02-14 17:58:23 +01:00
2018-05-17 16:27:58 +02:00
2018-05-17 16:27:58 +02:00
2018-05-17 16:27:59 +02:00
2019-04-17 10:37:23 -07:00
2019-04-28 23:08:35 -07:00
2019-05-14 08:16:01 +01:00
2019-05-03 10:26:15 -04:00
2019-04-17 10:37:23 -07:00
2018-12-08 21:33:30 -08:00
2019-03-11 11:22:15 -07:00
2018-12-17 08:26:24 +01:00
2018-12-17 08:26:24 +01:00
2018-12-17 08:26:24 +01:00
2018-06-18 21:28:44 +02:00
2018-07-10 15:39:27 +05:30
2018-05-02 14:58:30 +05:30
2019-05-21 11:28:39 +02:00
2018-03-02 21:51:41 +01:00
2018-07-18 10:10:12 +02:00
2019-05-03 23:55:47 -04:00
2018-09-20 13:07:55 +02:00
2019-04-17 10:37:23 -07:00
2018-02-19 16:19:25 +05:30
2019-04-08 10:39:01 -07:00
2018-10-08 11:40:43 +02:00
2018-06-15 18:10:01 -03:00
2019-05-21 11:28:39 +02:00
2018-09-14 13:54:02 +03:00
2019-01-17 12:34:47 +00:00
2018-09-11 17:37:15 +01:00
2019-05-02 10:37:59 +09:00
2018-04-18 11:11:23 +08:00
2018-02-14 10:28:12 -08:00
2018-01-08 15:38:06 +00:00
2019-05-21 11:28:45 +02:00
2018-11-16 18:32:33 +00:00
2018-04-24 10:44:25 +01:00
2018-04-20 10:14:27 -07:00
2019-04-05 15:10:36 -07:00
2019-04-23 16:02:13 +02:00
2018-05-12 12:40:04 +01:00
2019-02-12 13:48:59 +05:30
2019-04-15 16:07:42 +02:00
2019-05-23 09:33:57 -07:00
2019-05-09 16:39:27 -07:00