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:	74ada297e897
Reviewed by:	grehan
Approved by:	lwhsu (mentor)
Differential Revision:	https://reviews.freebsd.org/D29525
2021-04-19 16:08:13 +08:00
..
2021-01-02 19:57:58 -07:00
2021-04-13 17:42:20 -04:00
2021-01-15 20:09:55 +01:00
2021-04-07 14:33:02 -04:00
2021-04-18 11:19:15 -06:00
2021-04-02 15:41:51 +03:00
2021-03-17 06:16:31 +11:00
2021-03-17 06:16:31 +11:00
2021-04-18 11:19:15 -06:00
2021-04-15 15:47:42 +03:00
2021-04-13 17:42:20 -04:00