From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: Re: Consuming PCI device in PV kernel Date: Mon, 21 Jul 2014 11:13:30 +0100 Message-ID: <538610044.20140721111330@gmail.com> References: <524794479.20140703121338@gmail.com> <20140703180957.GD13710@konrad-lan.dumpdata.com> <1376452421.20140707092147@gmail.com> <1083121389.20140707122233@gmail.com> <623751089.20140718153713@gmail.com> <20140718190942.GG15947@laptop.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140718190942.GG15947@laptop.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hello Konrad, Friday, July 18, 2014, 8:09:42 PM, you wrote: >> I now have a working implementation of my own pcifront based on the >> mini-os implementation, however I can't seem to find any examples or >> documentation anywhere on how to discover and map the PCI device into >> my PV memory map. > Not sure what 'PV memory map' means? You mean the BAR values and such? That's exactly what I mean. I assume that BAR entries must be written pointing to an absolute memory area in dom0 which will then be mapped into the PV as this provides the greatest flexibility. Is this correct? Or do I just enable a memory area in the PV and map the BAR to the buffers physical address? Regards. -- Best regards, Simon mailto:furryfuttock@gmail.com