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

[Xen-devel] [PATCH v4 0/2] iommu: add rmrr Xen command line option



From: Elena Ufimtseva <elena.ufimtseva@xxxxxxxxxx>

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 v4 after comments by Jan Beulich:
 - keep sbdf per device instead of bdf and one segment per RMRR when parsing 
and compare later;
 - add check for segment values and make sure they are same for one RMRR;
 - move RMRR parameters checks and add error messages if RMRRs are incorrect;
 - make relevant variables and functions static;
 - mention requirement for segment values in rmrr documentation;
                                                                                
Changes in v3:                                                                  
 - use ';' instead of '#' in command line and add proper notes for grub ';'     
 special treatment;                                                             
                                                                                
Changes in v2:                                                                  
 - move rmrr parser to dmar.c and make it custom_param;                         
 - change of rmrr command line oprion format; since adding multiple device      
 per range support needs to utilize more special characters and offered from    
 the previous review ';' is not supported, '[' ']' are reserved, ':' and used 
in pci
 format, range and devices are separated by '#'; Suggestions are welcome;       
 - added support for multiple devices per range;                                
 - moved adding misc RMRRs before ACPI RMRR parsing;                            
 - make parser fail if pci device is specified incorrectly;  

Elena Ufimtseva (2):
  iommu VT-d: separate rmrr addition function
  iommu: add rmrr Xen command line option for misc rmrrs

 docs/misc/xen-command-line.markdown |  12 ++
 xen/drivers/passthrough/vtd/dmar.c  | 258 +++++++++++++++++++++++++++---------
 xen/drivers/passthrough/vtd/dmar.h  |  10 ++
 3 files changed, 220 insertions(+), 60 deletions(-)

-- 
2.1.3


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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