From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Consuming PCI device in PV kernel Date: Tue, 15 Jul 2014 10:56:02 -0400 Message-ID: <20140715145602.GL3403@laptop.dumpdata.com> References: <524794479.20140703121338@gmail.com> <20140703180957.GD13710@konrad-lan.dumpdata.com> <1376452421.20140707092147@gmail.com> <1083121389.20140707122233@gmail.com> <20140708150136.GB2863@laptop.dumpdata.com> <426885771.20140710085413@gmail.com> <1405097274.29306.545.camel@Solace> <1803824698.20140715093756@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1803824698.20140715093756@gmail.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: Simon Martin Cc: Dario Faggioli , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Jul 15, 2014 at 09:37:56AM +0100, Simon Martin wrote: > Hello Dario, > > > BTW, how's this going (if I can ask)? Any exciting news about this you > > can share with the community? :-) > > Nothing exciting I'm afraid, just lots of donkey work. The > micropv project (similar to the Xen mini-os but a LOT lighter with no > dynamic memory, paging etc) is coming along nicely. Lots of > improvements about talking to the hypervisor and xenstore and > making it more implementation agnostic. The mirage-os guys seemed to > be interested in this when I first mentioned it. No idea if they still > are, it's been a while. Too many projects, too little time ;-) > > My PV OS is sitting quite nicely in the hypervisor and I have my > context switch running nicely within the micropv. One problem I > haven't been able to work around so far is implementing lazy FP > context recovery, I do it on every context switch. This is crazy but I > get FP exceptions if I don't. As I have larger fish to fry, this one > is just flagged as something to come back to. > > I had to modify one of the existing Linux kernel drivers (gntalloc) to > provide more functionality. I got it to a state in which it was > accepted by Daniel De Graaf the original implementor. I now have to > push it upstream the Linux kernel maintainers. Please CC xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, and me when you get a chance to post it. Please do also run it first through scripts/checkpatch.pl > > As a general comment I find that the existing Xen documentation is > fine for handling existing HVM/PV domain implementations, but you are > on your own when it comes to implementing your own PV. If it wasn't > for the good will of the people on this mailing list I would never > have been able to get where I am now. I know that I am in a small > niche here, and the existing documentation is fine for 99% of people > who are using Xen. If this is something that should be documented then > I would be willing to have a stab at writing some wiki pages if > someone can clean up the things that I have misunderstood. Would you be interested in expanding this Wiki a bit: http://wiki.xen.org/wiki/X86_Paravirtualised_Memory_Management or correcting it? ? > > Regards, and once again, a big thanks to everyone Thank you for working on it and I am looking forward to your patches! Fresh patches! :-) > > -- > Best regards, > Simon mailto:furryfuttock@gmail.com >