freebsd-skq/sys/amd64/vmm/amd
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
..
amdiommu.c AMD-vi: Fix mismatched NULL checking in amdiommu teardown path 2021-04-01 03:34:34 +08:00
amdv.c
amdvi_hw.c bhyve amd: Small cleanups in amdvi_dump_cmds 2021-03-23 16:12:41 +08:00
amdvi_priv.h AMD-vi: Fix IOMMU device interrupts being overridden 2021-03-22 17:33:43 +08:00
ivhd_if.m Correct "Fondation" typo (missing "u") 2021-03-22 13:06:31 -04:00
ivrs_drv.c AMD-vi: Fortify IVHD device_identify process 2021-04-19 16:08:13 +08:00
npt.c amd64: clean up empty lines in .c and .h files 2020-09-01 21:16:54 +00:00
npt.h Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
svm_genassym.c Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
svm_msr.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
svm_msr.h Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
svm_softc.h Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
svm_support.S Remove manual instruction encodings for VMLOAD, VMRUN, and VMSAVE. 2020-11-26 05:58:55 +00:00
svm.c Convert vmm_ops calls to IFUNC 2020-11-28 01:16:59 +00:00
svm.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
vmcb.c Use vmcb_read/write for the vmcb snapshot functions. 2020-09-10 22:22:23 +00:00
vmcb.h bhyve: intercept AMD SVM instructions. 2020-09-15 20:22:50 +00:00