From mboxrd@z Thu Jan 1 00:00:00 1970 From: elena.ufimtseva@oracle.com Subject: [PATCH v10 0/5] iommu: add rmrr Xen command line option Date: Mon, 13 Jul 2015 14:17:57 -0400 Message-ID: <1436811482-16113-1-git-send-email-elena.ufimtseva@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Elena Ufimtseva , kevin.tian@intel.com, tim@xen.org, jbeulich@suse.com, yang.z.zhang@intel.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org From: Elena Ufimtseva 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 v10: - incorporate patch 'dmar: device scope mem leak fix' as series requires it. - move patch 'pci: add PCI_SBDF and PCI_SEG macros' close to the last patch which uses it; 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; Elena Ufimtseva (5): dmar: device scope mem leak fix iommu VT-d: separate rmrr addition function pci: add wrapper for parse_pci pci: add PCI_SBDF and PCI_SEG macros iommu: add rmrr Xen command line option for extra rmrrs docs/misc/xen-command-line.markdown | 13 ++ xen/drivers/passthrough/vtd/dmar.c | 355 +++++++++++++++++++++++++++++------- xen/drivers/pci/pci.c | 11 ++ xen/include/xen/pci.h | 5 + 4 files changed, 322 insertions(+), 62 deletions(-) -- 2.1.3