[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Consuming PCI device in PV kernel

On Fri, Jul 18, 2014 at 03:37:13PM +0100, Simon Martin wrote:
> Hello Simon,
> Monday, July 7, 2014, 12:22:33 PM, you wrote:
> > Found the code in mini-os. Implementing now.
> 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?
> Checking  the  Linux  pcifront  driver it seems to be doing IO via the
> pciback  driver. This won't work in my situation, I need raw access to
> the PCI device memory.

As in to the configuration registers (which would also have the BAR
> Looking  at  the  GPLPV  drivers as well to see if I can decipher from
> them how to do this.
> Any suggestions on how to implement direct access to the PCI device?
> -- 
> Best regards,
>  Simon                            mailto:furryfuttock@xxxxxxxxx

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.