Peter Grehan
2136849868
Fix pci-passthru MSI issues with OpenBSD guests
...
- Return 2 x 16-bit registers in the correct byte order
for a 4-byte read that spans the CMD/STATUS register.
This reversal was hiding the capabilities-list, which prevented
the MSI capability from being found for XHCI passthru.
- Reorganize MSI/MSI-x config writes so that a 4-byte write at the
capability offset would have the read-only portion skipped.
This prevented MSI interrupts from being enabled.
Reported and extensively tested by Anatoli (me at anatoli dot ws)
PR: 245392
Reported by: Anatoli (me at anatoli dot ws)
Reviewed by: jhb (bhyve)
Approved by: jhb, bz (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24951
2020-05-25 06:25:31 +00:00
..
2020-04-15 02:00:17 +00:00
2020-04-15 02:00:17 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2020-05-18 15:03:52 +00:00
2020-05-15 15:54:22 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-04-15 01:58:51 +00:00
2020-04-15 01:58:51 +00:00
2020-01-08 22:55:22 +00:00
2020-01-08 22:55:22 +00:00
2019-12-13 19:21:58 +00:00
2019-12-13 19:21:58 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2019-06-25 06:24:56 +00:00
2020-02-20 21:07:23 +00:00
2020-02-20 21:07:23 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2020-05-05 00:02:04 +00:00
2019-12-11 17:37:37 +00:00
2019-05-24 00:34:13 +00:00
2019-05-24 00:34:13 +00:00
2020-05-05 00:02:04 +00:00
2019-11-03 19:02:32 +00:00
2020-01-08 22:55:22 +00:00
2020-05-15 11:03:27 +00:00
2020-05-08 17:15:54 +00:00
2020-04-07 17:06:33 +00:00
2020-04-07 17:06:33 +00:00
2020-05-05 00:02:04 +00:00
2020-05-08 17:15:54 +00:00
2020-05-25 06:25:31 +00:00
2020-05-25 06:25:31 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-03-27 15:28:27 +00:00
2020-05-25 06:25:31 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2020-05-08 17:15:54 +00:00
2020-01-08 22:55:22 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-04-15 02:00:17 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-03-18 03:17:15 +00:00
2020-04-07 23:17:44 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-04-15 05:55:14 +00:00
2020-04-15 05:55:14 +00:00
2020-02-13 19:05:14 +00:00