On Tue, 2007-04-10 at 11:09 +0300, Muli Ben-Yehuda wrote: > On Tue, Apr 10, 2007 at 03:57:28PM +0800, Shaohua Li wrote: > > On Tue, 2007-04-10 at 09:49 +0200, Andi Kleen wrote: > > > On Monday 09 April 2007 23:55:52 Ashok Raj wrote: > > > > > > > Please help review and provide feedback. > > > > > > High level question: how did you solve the "user X server needs IOMMU > > > bypass" > > > problem? > > > Please see patch 5. We have two workarounds for graphics. One is > > completely bypass dma remapping for gfx, this option only works for > > gfx card with dedicated dma remapping engine. The other is doing 1-1 > > mapping for whole physical memory address, then virtual dma address > > will equal to physical address, so gfx can ignore iommu in the case. > > Apologies but I've not had a chance to review the patches yet. Do you > special case the BDF of the graphics adpater (via PCI ID?), or does > the user need to provide a command line option to specify the graphics > adapter? Not understand what you ask. The PCI device's type can tell us if it's a gfx device.
Thanks, shaohua - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/