freebsd-dev/sys/amd64
Ka Ho Ng 6fe60f1d5c AMD-vi: Fortify IVHD device_identify process
- Use malloc(9) to allocate ivhd_hdrs list. The previous assumption
  that there are at most 10 IVHDs in a system is not true. A counter
  example would be a system with 4 IOMMUs, and each IOMMU is related
  to IVHDs type 10h, 11h and 40h in the ACPI IVRS table.
- Always scan through the whole ivhd_hdrs list to find IVHDs that has
  the same DeviceId but less prioritized IVHD type.

Sponsored by:	The FreeBSD Foundation
MFC with:	74ada297e8
Reviewed by:	grehan
Approved by:	lwhsu (mentor)
Differential Revision:	https://reviews.freebsd.org/D29525
2021-04-19 16:08:13 +08:00
..
acpica acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
amd64 amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
cloudabi64 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
ia32 amd64: clear debug registers on execing 32bit native binary 2021-04-10 04:25:02 +03:00
include amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
linux linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2 2021-04-13 13:14:30 +01:00
linux32 linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2 2021-04-13 13:14:30 +01:00
pci
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm AMD-vi: Fortify IVHD device_identify process 2021-04-19 16:08:13 +08:00
Makefile