[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] VT-d: should not disable VT-d when find unknown DMAR structure type
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1269511265 0 # Node ID 18f4db5f72d756dda30e28d5872d91d35fdf9f0c # Parent f42ff98a2cdca966dbfd6b16fb763920104cd38e 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@xxxxxxxxx> --- xen/drivers/passthrough/vtd/dmar.c | 1 - 1 files changed, 1 deletion(-) diff -r f42ff98a2cdc -r 18f4db5f72d7 xen/drivers/passthrough/vtd/dmar.c --- a/xen/drivers/passthrough/vtd/dmar.c Thu Mar 25 09:32:21 2010 +0000 +++ b/xen/drivers/passthrough/vtd/dmar.c Thu Mar 25 10:01:05 2010 +0000 @@ -713,7 +713,6 @@ static int __init acpi_parse_dmar(struct dprintk(XENLOG_WARNING VTDPREFIX, "Unknown DMAR structure type %x\n", entry_header->type); - ret = -EINVAL; break; } if ( ret ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |