VT-d: should not disable VT-d when find unknown DMAR structure type

Now 4 DMAR structure types are supported (type value 0 ~ 3). Type
values > 3 are reserved for future use. Current implementation
disables VT-d when find unknown DMAR structure type, this may lead to
VT-d disabling on future platforms before supporting new types on
Xen. For forward compatibility, just skip unknown structures by
skipping the appropriate number of bytes indicated by the Length
field, and then VT-d still can be used.

Signed-off-by: Weidong Han <weidong.han@intel.com>
This commit is contained in:
Keir Fraser committed 2010-03-25 10:01:05 +00:00
1 parent f81bf6953c
commit 024ce79aea
1 file changed
-1
-1
View File
@@ -713,7 +713,6 @@ static int __init acpi_parse_dmar(struct acpi_table_header *table)
dprintk(XENLOG_WARNING VTDPREFIX,
"Unknown DMAR structure type %x\n",
entry_header->type);
ret = -EINVAL;
break;
}
if ( ret )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.