freebsd-dev/sys
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
..
amd64 vmm/amd: improve iteration over IVHD (type 10h) entries in IVRS table 2017-11-24 11:10:36 +00:00
arm Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
arm64 Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam Always null-terminate CAM periph_name and dev_name 2017-11-22 19:57:34 +00:00
cddl Duplicate helpers after disabling inherited tracepoints during a fork. 2017-11-23 14:29:07 +00:00
compat Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
conf bhnd(4): Add a basic ChipCommon GPIO driver sufficient to support bwn(4) 2017-11-22 23:10:20 +00:00
contrib Import the latest CloudABI definitions, v0.18. 2017-11-21 20:46:21 +00:00
crypto sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ddb sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
dev Make sure the iSCSI I/O limits are set properly so that the ISCSIDSEND IOCTL 2017-11-23 13:57:44 +00:00
dts dts: arm64: allwinner: Remove unused dts for pine64 2017-11-18 21:39:54 +00:00
fs msdosfs(5): Reflect READONLY attribute in file mode 2017-11-20 21:38:24 +00:00
gdb gdb kernel server: fixup Search:memory style 2017-10-17 01:12:17 +00:00
geom Allow kern.geom.mirror.debug to be negative. 2017-11-23 14:07:52 +00:00
gnu Update our copy of DTS from the ones from Linux 4.14 2017-11-18 15:46:48 +00:00
i386 Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
isa sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
kern Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
kgssapi
libkern sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
mips bhnd(4): Add a basic ChipCommon GPIO driver sufficient to support bwn(4) 2017-11-22 23:10:20 +00:00
modules bhnd(4): Add a basic ChipCommon GPIO driver sufficient to support bwn(4) 2017-11-22 23:10:20 +00:00
net Fix off-by-one error in bit_nclear() usage 2017-11-20 21:57:04 +00:00
net80211 [net80211] don't try to follow a NULL rxs pointer down the sink. 2017-10-13 06:49:07 +00:00
netgraph Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
netinet Use the right variable for the IP header parameter to tcp:::send. 2017-11-22 14:13:40 +00:00
netinet6 sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
netipsec sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
netpfil Modify ipfw's dynamic states KPI. 2017-11-23 08:02:02 +00:00
netsmb spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
nfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfsclient sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfsserver sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nlm
ofed sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
opencrypto crypto(9) is called from ipsec in CRYPTO_F_CBIFSYNC mode. This is working 2017-11-03 10:27:22 +00:00
powerpc Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
riscv Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
rpc sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
security sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
sparc64 Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
sys Remove lint support from system headers and MD x86 headers. 2017-11-23 11:40:16 +00:00
teken Fix syscons escape sequence for setting the local cursor type. This sequence 2017-08-18 15:40:40 +00:00
tests
tools sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ufs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm Return different error code for the guard page layout violation. 2017-11-22 16:45:27 +00:00
x86 Remove lint support from system headers and MD x86 headers. 2017-11-23 11:40:16 +00:00
xdr
xen
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00