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

Re: [Xen-devel] pci adapter not working in dom0. works under plain Linux.



Wednesday, June 11, 2014, 1:53:48 PM, you wrote:

>> 
>> > I had some preliminary patches for the V4L API to use a better
>> > DMA ops, but I fear that they are bitrotten (and I can't even
>> > find them!). But lets try first determine if the workarounds
>> > work for you.
>> 
>> Were you by any means referring to this thread / patch:
>> http://lists.xen.org/archives/html/xen-devel/2012-01/msg01982.html ?
>> 

> That patch applies and compiles once you take into account some moved files. 
> I haven't tested yet though - my mythtv box is busy recording :)
> I notice there is a 'videobuf2-dma-sg.c' file in the current tree, which I 
> assume is a 'second generation' v4l implementation that drivers will be 
> progressively moved over to. I can't tell if the dma implementation in there 
> is correct, but it certainly doesn't return any hits in a grep for 32...
> A grep for the export 'vb2_dma_sg_memops' only shows up 2 drivers using it 
> though. What's the procedure around rebasing and submitting a patch that 
> someone else wrote?

Yeah the conversion is going slowly .. i tried to start it for the cx25821 .. 
but the problem is it's "all or nothing" you can't do it in little steps.

> I think Konrad's fix is the right way to go. Someone else suggested fixing 
> vmalloc32, which is probably still a good idea, but when most of the devices 
> these days are probably quite happy with 64 bit addresses so sticking with 
> the artificial 4G limit is probably a bit silly.
> I'll follow up once I've tested later tonight or tomorrow.

> Thanks!

> James




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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