[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v8 0/4] iommu: add rmrr Xen command line option
From: Elena Ufimtseva <elena.ufimtseva@xxxxxxxxxx> v8 of rmrr comman 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 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; Changes in v6: - make __parse_pci return correct result and error codes; - move add_extra_rmrr - previous patch was missing RMRR addresses in range check, add it here; - add overlap check and range boundaries check; - moved extra rmrr structure definition to dmar.c; - change def_seg in __parse_pci type from int to bool_t; - change name for extra rmrr range to reflect they hold now pfns; Changes in v5: - make parse_pci a wrapper and add __parse_pci with additional def_seg param to identify if segment was specified; - make possible not to define segment for each device within same rmrr; - limit number of pages for one RMRR by 16; - run mfn_valid check for every address in RMRR range; - add PCI_SBDF macro; - remove list for extra rmrrs as they are kept in static array; 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 | 360 ++++++++++++++++++++++++++++-------- xen/drivers/pci/pci.c | 11 ++ xen/include/xen/pci.h | 5 + 4 files changed, 311 insertions(+), 78 deletions(-) -- 2.1.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |