Skip to content

Commit

Permalink
Fix IVRS IVHD type 10h reserved field name
Browse files Browse the repository at this point in the history
According to AMD IOMMU Specification Revision 3.05 the reserved field
should be IOMMU Feature Reporting. Change the name of the field to the
correct one.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
  • Loading branch information
miczyg1 committed Feb 19, 2020
1 parent 6ddc194 commit 87a1ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/common/dmtbinfo2.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs0[] =
{ACPI_DMT_UINT64, ACPI_IVRS0_OFFSET (BaseAddress), "Base Address", 0},
{ACPI_DMT_UINT16, ACPI_IVRS0_OFFSET (PciSegmentGroup), "PCI Segment Group", 0},
{ACPI_DMT_UINT16, ACPI_IVRS0_OFFSET (Info), "Virtualization Info", 0},
{ACPI_DMT_UINT32, ACPI_IVRS0_OFFSET (Reserved), "Reserved", 0},
{ACPI_DMT_UINT32, ACPI_IVRS0_OFFSET (FeatureReporting), "Feature Reporting", 0},
ACPI_DMT_TERMINATOR
};

Expand Down
2 changes: 1 addition & 1 deletion source/include/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ typedef struct acpi_ivrs_hardware_10
UINT64 BaseAddress; /* IOMMU control registers */
UINT16 PciSegmentGroup;
UINT16 Info; /* MSI number and unit ID */
UINT32 Reserved;
UINT32 FeatureReporting;

} ACPI_IVRS_HARDWARE1;

Expand Down

0 comments on commit 87a1ab2

Please sign in to comment.