[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v9 0/4] iommu: add rmrr Xen command line option

From: Elena Ufimtseva <elena.ufimtseva@xxxxxxxxxx>

v9 of rmrr command line patches.

Add Xen command line option rmrr to specify RMRR
regions for devices that are not defined in ACPI thus
causing IO Page Fault while booting dom0 in PVH mode.
These additional regions will be added to the list of
RMRR regions parsed from ACPI.

Changes in v9:
 - skip to next RMRR region if current overlaps with any in acpi_rmrr_units;
 - fix typos in commit messages;
 - remove clean up chages introduced by mistake in v8;

Changes in v8:
 - removed bogus debug in patch 1 with non-functional changes;
 - changed PRI_RMRRL macro for formatting to reflect the fact that two arguments
   are used, so make it PRI_RMRR(s,e) for formatting inclusive RMRR range;
   'L' is also removed from macro name, which meant to server as a type of 
arguments (%lx);
 - added overlapping check with RMRRs from ACPI;
 - added check based on paddr_bits for pfn's in extra RMRR range (not sure if
   its redundant with mfn_valid);
 - addressed while loop exit condition in extra RMRRs parser;

Changes in v7:
 - make sure RMRRs ranges are being checked correctly;
 - dont interrupt RMRRs checking if some of checks fails, instead
 continue to next RMRR;
 - make rmrr variable names more obvious;
 - fix debug output formatting to match type of rmrr range;
 - fix typos in rmrr command line document and in comments;

Elena Ufimtseva (4):
  pci: add PCI_SBDF and PCI_SEG macros
  iommu VT-d: separate rmrr addition function
  pci: add wrapper for parse_pci
  iommu: add rmrr Xen command line option for extra rmrrs

 docs/misc/xen-command-line.markdown |  13 ++
 xen/drivers/passthrough/vtd/dmar.c  | 334 +++++++++++++++++++++++++++++-------
 xen/drivers/pci/pci.c               |  11 ++
 xen/include/xen/pci.h               |   5 +
 4 files changed, 301 insertions(+), 62 deletions(-)


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.