HomeFreeBSD

This change fixes duplicate detection of same IOMMU/AMD-Vi device for Ryzen…

Description

This change fixes duplicate detection of same IOMMU/AMD-Vi device for Ryzen with EFR support.

IVRS can have entry of type legacy and non-legacy present at same time for same AMD-Vi device. ivhd driver will ignore legacy if new IVHD type is present as specified in AMD-Vi specification. Earlier both of IVHD entries used and two ivhd devices were created.
Add support for new IVHD type 0x11 and 0x40 in ACPI. Create new struct of type acpi_ivrs_hardware_new for these new type of IVHDs. Legacy type 0x10 will continue to use acpi_ivrs_hardware.

Reviewed by: avg
Approved by: grehan
Differential Revision:https://reviews.freebsd.org/D13160

Details

Provenance
anishAuthored on
Reviewer
avg
Differential Revision
Restricted Differential Revision
Parents
rS329359: stand/lua: Remove a magic number/string (not a trivial literal)
Branches
Unknown
Tags
Unknown