Jakub Kicinski
3e3e9fd8b6
nfp: reset local locks on init
...
NFP locks record the owner when held, for PCIe devices the owner
ID will be the PCIe link number. When driver loads it should scan
known locks and if they indicate that they are held by local
endpoint but the driver doesn't hold them - release them.
Locks can be left taken for instance when kernel gets kexec-ed or
after a crash. Management FW tries to clean up stale locks too,
but it currently depends on PCIe link going down which doesn't
always happen.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com >
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-04-25 14:07:04 -04:00
..
2018-04-12 11:04:35 -07:00
2018-04-03 17:42:25 -07:00
2018-04-19 13:41:49 -04:00
2018-04-11 10:28:31 -07:00
2018-04-16 09:38:40 +02:00
2018-04-01 21:43:02 +03:00
2018-04-06 18:31:06 -07:00
2018-04-21 21:20:48 -07:00
2018-04-13 15:51:06 -07:00
2018-04-19 13:21:35 +02:00
2018-04-10 08:40:45 +02:00
2018-04-09 11:54:57 +02:00
2018-04-07 19:04:02 +09:00
2018-04-19 15:11:50 -07:00
2018-04-23 21:02:41 -04:00
2018-04-10 12:14:37 -07:00
2018-04-05 14:21:13 -07:00
2018-04-04 20:07:20 -07:00
2018-04-13 16:32:16 -07:00
2018-03-27 09:51:22 +02:00
2018-04-05 21:03:42 -07:00
2018-04-22 17:14:29 -07:00
2018-04-19 09:25:15 +02:00
2018-04-09 11:42:31 -07:00
2018-04-09 19:59:54 -07:00
2018-04-04 20:07:20 -07:00
2018-04-11 23:33:46 +02:00
2018-04-05 14:27:02 -07:00
2018-04-05 09:51:41 -07:00
2018-04-06 17:35:43 -07:00
2018-04-13 16:20:36 -07:00
2018-04-11 18:50:41 -07:00
2018-04-11 18:50:41 -07:00
2018-04-12 21:46:10 -04:00
2018-03-29 17:29:09 -06:00
2018-04-07 12:08:19 -07:00
2018-04-20 10:39:44 -07:00
2018-04-10 12:09:27 -07:00
2018-03-26 11:13:09 +02:00
2018-04-10 22:25:07 -07:00
2018-04-12 10:21:19 -07:00
2018-04-20 10:41:31 -07:00
2018-04-11 16:39:34 -07:00
2018-04-25 14:07:04 -04:00
2018-04-19 15:10:56 -07:00
2018-04-12 09:58:27 -06:00
2018-04-04 20:07:20 -07:00
2018-04-15 17:21:30 -07:00
2018-03-29 15:07:48 -04:00
2018-03-27 18:52:22 +02:00
2018-04-04 20:07:20 -07:00
2018-04-11 08:46:50 -05:00
2018-04-09 09:26:36 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 21:21:08 -07:00
2018-04-05 09:51:41 -07:00
2018-04-13 16:20:36 -07:00
2018-04-05 21:21:08 -07:00
2018-04-13 15:46:21 -07:00
2018-04-20 17:18:35 -07:00
2018-03-28 10:33:53 +08:00
2018-04-05 22:53:16 -07:00
2018-03-27 11:03:43 +02:00
2018-03-27 21:54:37 -07:00
2018-04-10 10:22:27 -07:00
2018-04-22 14:42:32 -04:00
2018-04-01 20:07:00 -04:00
2018-04-15 17:24:12 -07:00
2018-04-21 16:32:48 -04:00
2018-04-03 12:06:21 -07:00
2018-04-11 10:28:39 -07:00
2018-04-05 14:27:02 -07:00
2018-04-13 14:11:53 +08:00
2018-04-09 09:04:10 -07:00
2018-04-07 11:11:41 -07:00
2018-04-06 19:44:27 -07:00
2018-04-24 10:02:13 -04:00
2018-04-10 10:20:00 -07:00
2018-04-11 18:58:27 -07:00
2018-04-16 10:22:40 +02:00
2018-04-20 08:36:04 -07:00
2018-03-29 13:38:10 +03:00