On Mon, Jul 20, 2015 at 7:16 AM, Tiejun Chen <tiejun.c...@intel.com> wrote: > Try to avoid placing PCI BARs over RMRRs: > > - If mmio_hole_size is not specified, and the existing MMIO range has > RMRRs in it, and there is space to expand the hole in lowmem without > moving more memory, then make the MMIO hole as large as possible. > > - When placing RMRRs, find the next RMRR higher than the current base > in the lowmem mmio hole. If it overlaps, skip ahead of it and find > the next one. > > This certainly won't work in all cases, but it should work in a > significant number of cases. Additionally, users should be able to > work around problems by setting mmio_hole_size larger in the guest > config. > > Signed-off-by: George Dunlap <george.dun...@eu.citrix.com> > Signed-off-by: Tiejun Chen <tiejun.c...@intel.com> > --- > v10: > > * This is from George' draft patch which implements an acceptable solution in > current cycle. Here I just implemented check_overlap_all() and some > cleanups.
Changes: Reviewed-by: George Dunlap <george.dun...@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel