summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/compiler/aslxref.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-09-30 01:42:29 +0000
committerjhb <jhb@FreeBSD.org>2016-09-30 01:42:29 +0000
commit727db5ac6740034d7ffa81c805cebdedc4da0cd8 (patch)
tree730fb32b516e8f48640f9dc056551475af80e408 /sys/contrib/dev/acpica/compiler/aslxref.c
parentf5b3ad07df9a8375b3f8b8f538e53ce9f8664e01 (diff)
downloadFreeBSD-src-727db5ac6740034d7ffa81c805cebdedc4da0cd8.zip
FreeBSD-src-727db5ac6740034d7ffa81c805cebdedc4da0cd8.tar.gz
MFC 304858,305485: Fix various issues with PCI pass through and VT-d.
304858: Enable I/O MMU when PCI pass through is first used. Rather than enabling the I/O MMU when the vmm module is loaded, defer initialization until the first attempt to pass a PCI device through to a guest. If the I/O MMU fails to initialize or is not present, than fail the attempt to pass a PCI device through to a guest. The hw.vmm.force_iommu tunable has been removed since the I/O MMU is no longer enabled during boot. However, the I/O MMU support can be disabled by setting the hw.vmm.iommu.enable tunable to 0 to prevent use of the I/O MMU on any systems where it is buggy. 305485: Leave ppt devices in the host domain when they are not attached to a VM. This allows a pass through device to be reset to a normal device driver on the host and reused on the host. ppt devices are now always active in some I/O MMU domain when the I/O MMU is active, either the host domain or the domain of a VM they are attached to.
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/aslxref.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud