From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: question about i915 driver in dom0 Date: Mon, 9 Jan 2012 10:04:37 -0500 Message-ID: <20120109150436.GD25563@phenom.dumpdata.com> References: <20120103165917.GB749@andromeda.dapyr.net> <20120106143719.GA5078@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: Konrad Rzeszutek Wilk , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org > > But more interestingly - are you building your kernel from scratch? There > > yes > > > was some requirements in having CONFIG_IOMMU_DMAR in the kernels - > > otherwise > > the intel-gtt.c would use the 'virt_to_phys' code instead of the DMA API. > > Suppose you mean CONFIG_DMAR_TABLE? There's no CONFIG_IOMMU_DMAR > in the latest kernel. Yes, I didn't enable that option, and will have a try. Yes, that is the option. > > But a side question is, will enabling VT-d in dom0 conflict with Xen's own > VT-d operations? No conflict. The Xen re-writes the DMAR table to be called XMAR so Linux's parser won't pick it up.