freebsd-dev/sys/amd64/vmm
Andriy Gapon 8523ad24ba vmm/amd: improve iteration over IVHD (type 10h) entries in IVRS table
Many 8-byte entries have zero at byte 4, so the second 4-byte part is
skipped as a 4-byte padding entry.  But not all 8-byte entries have that
property and they get misinterpreted.

A real example:
    48 00 00 00 ff 01 00 01
This an 8-byte ACPI_IVRS_TYPE_SPECIAL entry for IOAPIC with ID 255 (bogus).
It is reported as:
    ivhd0: Unknown dev entry:0xff
Fortunately, it was completely harmless.

Also, bail out early if we encounter an entry of a variable length type.
We do not have proper handling for those yet.

Reviewed by:	anish
2017-11-24 11:10:36 +00:00
..
amd vmm/amd: improve iteration over IVHD (type 10h) entries in IVRS table 2017-11-24 11:10:36 +00:00
intel Save KGSBASE in pcb before overriding it with the guest value. 2017-08-24 10:49:53 +00:00
io Improve the performance of the hpet timer in bhyve guests by making the 2017-10-29 20:50:03 +00:00
vmm_dev.c vmm_dev: work around a bogus error with gcc 6.3.0 2017-01-20 13:21:27 +00:00
vmm_host.c - Rework the XSAVE/XRSTOR emulation to only expose XCR0 features to the 2014-05-27 19:04:38 +00:00
vmm_host.h revert r315959 because it causes build problems 2017-03-27 12:34:29 +00:00
vmm_instruction_emul.c Emulate the "OR reg, r/m" instruction (opcode 0BH). 2017-11-01 03:26:53 +00:00
vmm_ioport.c Don't require <sys/cpuset.h> to be always included before <machine/vmm.h>. 2015-04-30 22:23:22 +00:00
vmm_ioport.h Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vmm_ktr.h Add emulation of the "outsb" instruction. NetBSD guests use this to write to 2014-05-23 05:15:17 +00:00
vmm_lapic.c Relax the check on which vectors can be delivered through the APIC. According 2015-04-16 22:44:51 +00:00
vmm_lapic.h Roll back botched partial MFC :( 2014-02-04 05:03:14 +00:00
vmm_mem.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
vmm_mem.h Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
vmm_stat.c vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00
vmm_stat.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vmm_util.c
vmm_util.h
vmm.c revert r315959 because it causes build problems 2017-03-27 12:34:29 +00:00
x86.c Hide the AMD MONITORX/MWAITX capability. 2017-03-16 03:21:42 +00:00
x86.h Do a proper emulation of guest writes to MSR_EFER. 2015-05-06 05:40:20 +00:00