Barak Fargoun
2007-Oct-30 16:34 UTC
[Xen-devel] [PATCH] Align PCI memory regions to page size (4K) (Dom-0 Patch)
Add a boot parameter to Dom-0 kernel (''pci-mem-align'') which forces PCI memory regions to be aligned to 4K. In PCI pass-through the mmio resources are mapped/translated from pfns to mfns (page size), so mmio resources should be at least page-aligned --- Applies to changeset 154 of the linux-2.6.18-xen.hg repository --- Signed-off-by: Barak Fargoun (barak@neocleus.com) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Oct-30 17:07 UTC
Re: [Xen-devel] [PATCH] Align PCI memory regions to page size (4K) (Dom-0 Patch)
On 30/10/07 16:34, "Barak Fargoun" <barak@neocleus.com> wrote:> Add a boot parameter to Dom-0 kernel (''pci-mem-align'') which forces PCI > memory regions to be aligned to 4K. > > In PCI pass-through the mmio resources are mapped/translated from pfns > to mfns (page size), so mmio resources should be at least page-alignedThe only resources you''re changing in this patch are the software resource lists that Linux maintains, presumably for diagnostics and to detect resource conflicts. No actual PCI BARs seem to change, or anything like that. So I don''t see how this would fix anything. Actually I''m not even entirely clear what the problem is. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel