John Baldwin da0fc9250c Reset PCI pass through devices via PCI-e FLR during VM start and end.
Add routines to trigger a function level reset (FLR) of a PCI-express
device via the PCI-express device control register.  This also includes
support routines to wait for pending transactions to complete as well
as calculating the maximum completion timeout permitted by a device.

Change the ppt(4) driver to reset pass through devices before attaching
to a VM during startup and before detaching from a VM during shutdown.

Reviewed by:	imp, wblock (earlier version)
MFC after:	1 month
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D7751
2016-09-06 21:15:35 +00:00
..
2015-08-12 11:56:19 +00:00
2016-05-17 12:52:31 +00:00
2012-05-20 16:43:47 +00:00
2016-08-27 18:08:25 +00:00
2013-03-04 19:10:39 +00:00
2016-06-08 10:26:17 +00:00
2013-04-20 12:36:53 +00:00
2016-06-08 10:38:00 +00:00
2016-03-16 05:05:54 +00:00
2014-11-23 21:00:00 +00:00
2016-02-29 17:26:41 +00:00
2016-06-08 10:38:00 +00:00
2015-06-13 19:20:56 +00:00
2016-01-08 13:33:22 +00:00
2016-08-30 08:34:49 +00:00
2016-07-23 05:30:55 +00:00
2015-08-28 00:12:59 +00:00
2014-07-23 18:54:18 +00:00
2015-08-12 11:56:19 +00:00
2015-08-12 11:56:19 +00:00
2013-08-25 06:58:51 +00:00
2014-05-04 12:32:37 +00:00
2015-01-27 09:48:02 +00:00
2014-07-18 06:56:24 +00:00
2016-09-03 20:38:13 +00:00
2015-11-19 05:50:22 +00:00
2015-05-19 15:43:20 +00:00
2015-07-16 15:43:55 +00:00
2012-07-04 07:42:12 +00:00
2015-06-18 16:29:11 +00:00
2014-11-23 21:00:00 +00:00
2014-07-17 23:23:01 +00:00
2016-03-01 17:47:32 +00:00
2013-10-07 20:29:31 +00:00
2012-05-20 16:43:47 +00:00
2012-05-20 16:43:47 +00:00
2016-02-24 20:32:24 +00:00