Hans Petter Selasky 2327a753b9 Fix potential deadlock in command mode change in mlx5core.
Call command completion handler in case of timeout when working in
interrupts mode. Avoid flushing the commands workqueue after acquiring
the semaphores to prevent a potential deadlock.

linux commit commit 9cba4ebcf374c3772f6eb61f2d065294b2451b49

MFC after:	1 week
Sponsored by:	Mellanox Technologies
2018-03-07 14:35:28 +00:00
..
2017-09-14 15:34:45 +00:00
2018-01-10 20:05:19 +00:00
2017-11-09 13:38:17 +00:00
2017-12-30 19:27:22 +00:00
2018-01-17 11:44:21 +00:00
2018-01-24 16:58:26 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2017-12-29 00:59:56 +00:00
2018-02-19 19:31:18 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00
2017-07-01 05:35:29 +00:00