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

Re: [Xen-devel] cubieboard2's sd/mmc driver on xen about DMA read data error



Hi there, 


The kernel works without XEN (We have tested it yesterday.), but it failed when works with xen hypervisor.

We have done some research about the MMC driver. 
If the command has nothing to do with the data transmission, it will work, such as CMD7 and CMD0
But when there is read or write operation( such as CMD52), the DMA module of the MMC controller will be used for the data transmission, instead of the DMA module of the CPU.

Our question is, should the XEN DMA memory map operations supported by swiotlib  also work for the DMA module of MMC controller? 

Thank you very much.

Best regards.






在 2014-04-02 17:52:15,"Ian Campbell" <Ian.Campbell@xxxxxxxxxx> 写道: >On Wed, 2014-04-02 at 00:10 +0800, 杜琪 wrote: >> Hi all, >>      I have got this kernel with mmc driver on cubieboard2 from : https://github.com/jwrdegoede/linux-sunxi.git  (test branch) .  > >Are you sure this branch is functional? > >I strongly recommend that you stick to the well known trees referenced >from >http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner > >If you want to use some other tree then the onus is on you to ensure >that it is functional on baremetal before running it under Xen. > >>      I  have made the Xen's Dom0 configuration according this :http://wiki.xenproject.org/wiki/Mainline_Linux_Kernel_Configs. and the kernel can be booted by Xen4.4. >>      The question we met is that some CMD can be accepted(CMD7,CMD0 ....) and but some can't(CMD52,CMD5,CMD51).  >>      We have found that the CMD51 is attempted to read the data from >> SD card to memory through DMA > >Does the SD card work when the kernel is booted baremetal/natively >without Xen? > >Ian. > >


_______________________________________________
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®.