]> xenbits.xensource.com Git - xen.git/commitdiff
VT-d: warn on bogus RMRR entry
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:26:26 +0000 (11:26 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:26:26 +0000 (11:26 +0000)
Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/vtd/dmar.c

index 971100fe3e0ed2b137083e09001475b381d53d3d..9ae39a4cf960c9ece0840a7bbafe3b419d7bbfe5 100644 (file)
@@ -453,7 +453,13 @@ acpi_parse_one_rmrr(struct acpi_dmar_entry_header *header)
             f = PCI_FUNC(rmrru->scope.devices[i]);
 
             if ( pci_device_detect(b, d, f) == 0 )
+            {
+                dprintk(XENLOG_WARNING VTDPREFIX,
+                    "  Non-existent device (%x:%x.%x) is reported "
+                    "in RMRR (%"PRIx64", %"PRIx64")'s scope!\n",
+                    b, d, f, rmrru->base_address, rmrru->end_address);
                 ignore = 1;
+            }
             else
             {
                 ignore = 0;