]> xenbits.xensource.com Git - xen.git/commit
[VTD] Fixes to ACPI DMAR flag checks.
authorAllen Kay <allen.m.kay@intel.com>
Wed, 6 Apr 2011 08:11:02 +0000 (09:11 +0100)
committerAllen Kay <allen.m.kay@intel.com>
Wed, 6 Apr 2011 08:11:02 +0000 (09:11 +0100)
commit03e3614ae6a7506e3c1f98d73287bf4eef7fc766
treec2162f9b9e2eefb72d2d5ef12aacd03bc5675c1a
parentca7690b505ce7a6c0ebf9d91854fd94ace29219f
[VTD] Fixes to ACPI DMAR flag checks.

 * platform_supports_{intremap,x2apic} should not be marked __init as
   they are used during S3 resume.
 * DMAR flags should be taken from the table passed to
   acpi_parse_dmar() -- this is the trusted copy of the DMAR, when
   running in TXT mode.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/extern.h