From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: feature suggestion: DMAR table emulation for Xen Date: Fri, 14 May 2010 10:35:59 +0100 Message-ID: References: <4BED1672.6000903@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BED1672.6000903@invisiblethingslab.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joanna Rutkowska , "Kay, Allen M" Cc: "Cihula, Joseph" , "Han, Weidong" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 14/05/2010 10:22, "Joanna Rutkowska" wrote: > The Intel VT-d spec says that: "USB controllers and UMA integrated > graphics devices are the only legacy device usages identified > that depend on DMA to reserved system memory". > > I think we can safely ignore the legacy integrated graphics devices, > because I would expect any VT-d enabled platform to have a modern > graphics device and modern OS drivers that works well with VT-d (you > even provide a dedicated DMA Remapping Unit for your integrated graphics > device, so I would expect it doesn't require any RMMR exceptions). Yeah, actually the integrated graphics can implement all sorts of dirty tricks between OS driver, video BIOS, and SMM. This can rely on fixed memory areas for communication -- both for host accesses and DMA, the latter requiring RMRR setup. Maybe the RMRRs are static per-chipset, but I wouldn't be too sure of it. -- Keir