From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Can I specify a physical memory region for a domU Date: Thu, 8 Sep 2011 16:00:39 -0400 Message-ID: <20110908200038.GB21186@dumpdata.com> References: <20110908125920.GC28591@dumpdata.com> <20110908181205.GA19078@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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: Eric Camachat Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > > Make sure you set > > =A0pci_set_consistent_dma_mask(dev, DMA_BIT_MASK(31)); > > > > on top of pci_set_dma_mask(dev, DMA_BIT_MASK(31)); > > in your driver. > > > A lot of work to port the driver to PV domU, hope it works. Hm? That is the normal way you would write drivers in the Linux kernel. You use the DMA API in it to deal with the PCI devices. Is the PV domU a Linux kernel or something else?