rstone
89058c6ddf
Emulate the Device ID and Vendor ID registers for VFs
...
The SR-IOV standard requires VFs to read all-ones when the VID
and DID registers are read. The VMM (hypervisor) is required to
emulate them instead. Make pci_read_config() do this emulation.
Change pci_user.c to use pci_read_config() to read config space
registers instead of going directly to the pcib so that the
emulated VID/DID registers work correctly on VFs. This is
required both for pciconf and bhyve PCI passthrough.
Differential Revision: https://reviews.freebsd.org/D77
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.
2015-03-01 00:40:19 +00:00
..
2014-10-28 12:00:39 +00:00
2015-03-01 00:40:09 +00:00
2014-11-21 21:01:24 +00:00
2015-01-23 15:14:30 +00:00
2014-11-21 21:01:24 +00:00
2014-11-21 21:01:24 +00:00
2015-02-26 12:51:05 +00:00
2014-11-21 21:01:24 +00:00
2015-01-30 01:13:07 +00:00
2015-01-04 23:14:04 +00:00
2015-01-06 12:59:37 +00:00
2014-11-21 21:01:24 +00:00
2014-10-28 12:00:39 +00:00
2014-11-26 04:23:21 +00:00
2015-02-14 18:14:45 +00:00
2015-02-14 22:12:17 +00:00
2015-02-24 01:00:46 +00:00
2015-01-05 16:43:22 +00:00
2015-01-06 12:59:37 +00:00
2014-11-21 21:01:24 +00:00
2014-12-01 11:45:24 +00:00
2015-02-18 05:53:04 +00:00
2015-01-06 12:59:37 +00:00
2014-10-17 17:34:05 +00:00
2014-10-16 18:04:43 +00:00
2015-01-06 15:48:20 +00:00
2015-01-06 12:59:37 +00:00
2015-01-06 12:59:37 +00:00
2014-12-20 16:40:49 +00:00
2015-01-06 12:59:37 +00:00
2014-11-20 20:50:05 +00:00
2015-01-06 12:59:37 +00:00
2015-01-23 15:14:30 +00:00
2015-02-19 01:19:42 +00:00
2015-02-24 21:31:13 +00:00
2015-01-23 15:14:30 +00:00
2015-01-21 19:53:52 +00:00
2014-11-21 21:01:24 +00:00
2014-12-17 07:27:19 +00:00
2015-02-09 07:56:50 +00:00
2015-02-13 11:00:13 +00:00
2015-02-25 21:44:53 +00:00
2015-02-04 16:19:31 +00:00
2015-01-05 09:58:32 +00:00
2015-02-28 23:59:29 +00:00
2015-01-06 12:59:37 +00:00
2015-01-05 09:58:32 +00:00
2015-02-16 11:49:48 +00:00
2015-02-27 20:11:02 +00:00
2015-02-03 18:59:52 +00:00
2014-11-24 16:12:11 +00:00
2015-01-21 20:08:24 +00:00
2014-12-24 03:49:33 +00:00
2014-11-21 21:01:24 +00:00
2014-10-30 21:21:53 +00:00
2015-02-28 21:01:01 +00:00
2014-10-21 07:31:21 +00:00
2015-01-06 12:59:37 +00:00
2014-11-21 21:01:24 +00:00
2014-11-21 21:01:24 +00:00
2014-11-21 21:01:24 +00:00
2015-02-11 10:37:55 +00:00
2014-11-21 21:01:24 +00:00
2015-02-17 05:07:38 +00:00
2014-11-26 04:23:21 +00:00
2014-11-26 04:23:21 +00:00
2014-11-06 18:14:12 +00:00
2015-01-06 12:59:37 +00:00
2015-02-28 19:02:44 +00:00
2014-11-21 21:01:24 +00:00
2015-02-06 16:45:10 +00:00
2014-11-13 22:06:57 +00:00
2014-12-24 07:04:04 +00:00
2015-02-08 19:15:14 +00:00
2015-01-05 09:58:32 +00:00
2015-01-21 20:32:36 +00:00
2014-12-19 01:41:51 +00:00
2015-02-28 14:57:57 +00:00
2015-02-25 21:44:53 +00:00
2014-11-22 20:31:20 +00:00
2015-01-06 12:59:37 +00:00
2015-02-17 05:10:41 +00:00
2015-02-10 21:33:32 +00:00
2014-11-18 21:51:01 +00:00
2015-01-24 12:51:15 +00:00
2015-01-21 09:01:48 +00:00
2014-11-18 21:55:50 +00:00
2015-02-27 15:14:25 +00:00
2015-01-06 12:59:37 +00:00
2015-02-26 22:22:06 +00:00
2015-02-26 22:22:06 +00:00
2014-11-23 21:37:33 +00:00
2015-01-06 15:41:23 +00:00
2014-11-21 21:01:24 +00:00
2015-02-10 21:33:32 +00:00
2014-12-01 11:45:24 +00:00
2015-01-06 12:59:37 +00:00
2014-11-20 20:50:05 +00:00
2015-02-24 06:20:50 +00:00
2014-10-16 18:04:43 +00:00
2015-01-12 07:43:19 +00:00
2014-11-20 20:50:05 +00:00
2014-11-11 04:48:09 +00:00
2014-10-17 17:34:05 +00:00
2015-02-13 19:44:04 +00:00
2015-02-19 16:34:48 +00:00
2015-01-05 09:58:32 +00:00
2014-12-03 00:47:05 +00:00
2015-02-18 05:53:04 +00:00
2015-03-01 00:40:19 +00:00
2015-01-06 12:59:37 +00:00
2015-01-06 12:59:37 +00:00
2014-11-18 21:58:57 +00:00
2015-01-02 22:45:55 +00:00
2014-10-21 07:31:21 +00:00
2014-12-01 11:45:24 +00:00
2014-12-01 11:45:24 +00:00
2015-02-11 05:25:23 +00:00
2015-02-18 08:21:51 +00:00
2014-10-21 01:31:24 +00:00
2014-11-11 18:15:05 +00:00
2014-10-21 07:31:21 +00:00
2015-01-06 12:59:37 +00:00
2015-01-06 12:59:37 +00:00
2014-11-18 22:02:37 +00:00
2015-02-27 15:47:30 +00:00
2015-02-28 21:50:04 +00:00
2014-11-21 21:01:24 +00:00
2015-01-12 07:37:06 +00:00
2015-02-13 11:13:08 +00:00
2015-01-06 12:59:37 +00:00
2015-01-06 12:59:37 +00:00
2015-02-10 12:08:52 +00:00
2015-02-18 14:33:33 +00:00
2014-11-20 20:50:05 +00:00
2014-11-13 18:01:51 +00:00
2014-11-21 21:01:24 +00:00
2015-01-27 17:33:18 +00:00
2014-11-21 21:34:19 +00:00
2015-01-06 12:59:37 +00:00
2015-01-06 12:59:37 +00:00
2014-11-21 21:01:24 +00:00
2015-01-05 19:49:20 +00:00
2015-02-24 15:35:26 +00:00
2015-02-25 08:35:00 +00:00
2015-02-15 11:37:40 +00:00
2015-01-27 05:34:46 +00:00
2014-12-01 11:45:24 +00:00
2015-02-16 13:02:00 +00:00
2015-01-06 12:59:37 +00:00
2014-12-01 11:45:24 +00:00
2015-02-28 22:37:48 +00:00
2015-01-06 12:59:37 +00:00
2014-11-18 22:12:51 +00:00
2014-11-22 18:40:14 +00:00
2014-11-20 20:09:18 +00:00
2015-02-14 17:45:53 +00:00
2015-01-06 12:59:37 +00:00
2015-02-28 15:21:06 +00:00