Page MenuHomeFreeBSD

Handle PBA that shares a page with MSI-X table for passthrough devices.
ClosedPublic

Authored by jhb on Apr 11 2016, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 25 2024, 6:23 PM
Unknown Object (File)
Feb 26 2024, 4:48 PM
Unknown Object (File)
Dec 20 2023, 1:58 AM
Unknown Object (File)
Nov 9 2023, 10:13 PM
Unknown Object (File)
Nov 8 2023, 12:06 PM
Unknown Object (File)
Nov 1 2023, 4:41 PM
Unknown Object (File)
Oct 7 2023, 11:00 AM
Unknown Object (File)
Oct 6 2023, 9:09 PM
Subscribers

Details

Summary

Handle PBA that shares a page with MSI-X table for passthrough devices.

If the PBA shares a page with the MSI-X table, map the shared page via
/dev/mem and emulate accesses to the portion of the PBA in the shared
page by accessing the mapped page.

Test Plan
  • Pass through a device whose PBA shares a page with the MSI-X table to a bhyve guest. Note that the driver for this device doesn't use the PBA, so I haven't actually tested PBA access.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Handle PBA that shares a page with MSI-X table for passthrough devices..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: grehan, neel.
grehan edited edge metadata.

4096 should eventually be PAGE_SIZE but you inherited that :)

This revision is now accepted and ready to land.Apr 13 2016, 5:03 AM
This revision was automatically updated to reflect the committed changes.