debuggers.hg

changeset 20881:0bf9e66c5201

VT-d: warn on bogus RMRR entry

Signed-off-by: Weidong Han <weidong.han@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 21 11:26:26 2010 +0000 (2010-01-21)
parents ea02c95af387
children cec57fd4565e
files xen/drivers/passthrough/vtd/dmar.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/dmar.c	Thu Jan 21 09:13:46 2010 +0000
     1.2 +++ b/xen/drivers/passthrough/vtd/dmar.c	Thu Jan 21 11:26:26 2010 +0000
     1.3 @@ -453,7 +453,13 @@ acpi_parse_one_rmrr(struct acpi_dmar_ent
     1.4              f = PCI_FUNC(rmrru->scope.devices[i]);
     1.5  
     1.6              if ( pci_device_detect(b, d, f) == 0 )
     1.7 +            {
     1.8 +                dprintk(XENLOG_WARNING VTDPREFIX,
     1.9 +                    "  Non-existent device (%x:%x.%x) is reported "
    1.10 +                    "in RMRR (%"PRIx64", %"PRIx64")'s scope!\n",
    1.11 +                    b, d, f, rmrru->base_address, rmrru->end_address);
    1.12                  ignore = 1;
    1.13 +            }
    1.14              else
    1.15              {
    1.16                  ignore = 0;