freebsd-dev/sys/amd64/vmm/io
John Baldwin ffe1b10d95 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.

Reviewed by:	grehan
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D7448
2016-08-26 20:15:22 +00:00
..
iommu.c Enable I/O MMU when PCI pass through is first used. 2016-08-26 20:15:22 +00:00
iommu.h Enable I/O MMU when PCI pass through is first used. 2016-08-26 20:15:22 +00:00
ppt.c
ppt.h
vatpic.c
vatpic.h
vatpit.c
vatpit.h
vhpet.c Increase number of I/O APIC pins from 24 to 32 to give PCI up to 16 IRQs. 2016-07-14 14:35:25 +00:00
vhpet.h
vioapic.c Increase number of I/O APIC pins from 24 to 32 to give PCI up to 16 IRQs. 2016-07-14 14:35:25 +00:00
vioapic.h
vlapic_priv.h
vlapic.c
vlapic.h
vpmtmr.c
vpmtmr.h
vrtc.c
vrtc.h