Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
RQ 0: range of 1, flags=0x7 >>>>PL330_VFIO: - IRQ 1: range of 1, flags=0x7 >>>>PL330_VFIO: - IRQ 2: range of 1, flags=0x7 >>>>PL330_VFIO: - IRQ 3: range of 1, flags=0x7 >>>> PL330_VFIO: - IRQ 4: range of 1, flags=0x7

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
Hi Shannon, Thank you for reporting this issue, the device tree file was indeed missing. To solve the problem, you can apply the following patch to the repository you mentioned (git://github.com/virtualopensystems/arm-dts.git). For your information, soon we will update the guide with a newer vers

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread alvise rigo
gt;>> Regards, >>>> alvise >>>> >>>> Il 20/06/2014 04:57, Shannon Zhao ha scritto: >>>>> Hi Bharat, >>>>> >>>>> Thanks for your advice . >>>>> >>>>> I'm u

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
riginal Message- >>>> From: Shannon Zhao [mailto:zhaoshengl...@huawei.com] >>>> Sent: Tuesday, June 24, 2014 1:16 PM >>>> To: Bhushan Bharat-R65777; Alvise Rigo; a.mota...@virtualopensystems.com; >>>> iommu@lists.linux-foundation.org; kvm...@lists.cs.columbi

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
tems.com; >> iommu@lists.linux-foundation.org; kvm...@lists.cs.columbia.edu >> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >> >> Hi Alvise, >> >> I run following cmds : >> echo 2c0a.dma > /sys/bus/platform/drivers/vfio-platfor

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
From: kvmarm-boun...@lists.cs.columbia.edu [mailto:kvmarm- >>>> boun...@lists.cs.columbia.edu] On Behalf Of Shannon Zhao >>>> Sent: Thursday, June 19, 2014 2:45 PM >>>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >>>> founda

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
/3 (label pty0-base) >>>>> PL330_VFIO: === VFIO device file descriptor 13 === >>>>> Device has 1 region(s): >>>>> PL330_VFIO: - Region 0: size=0x1000 offset=0x0 flags=0x7 >>>>> PL330_VFIO: - IRQ 0: range of 1, flags=0x7 >>>>

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
; iommu@lists.linux-foundation.org; kvm...@lists.cs.columbia.edu; >> zhangchengx...@huawei.com >> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >> >> Hi Alvise, >> >> Thanks for your help. >> Now I can see /dev/vfio/vfio and /dev/vfio/0 a

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
e.com wrote: >>> >>> >>>> -Original Message- >>>> From: Shannon Zhao [mailto:zhaoshengl...@huawei.com] >>>> Sent: Thursday, June 19, 2014 5:47 PM >>>> To: Bhushan Bharat-R65777; Alvise Rigo; a.mota...@virtualopen

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
Hi Alvise, Thanks for your reply. I have apply the patch and could see the DMA devices. But there is no vosys_dmatest int the directory "/sys/kernel/debug/" after mounting debugfs. I found that the branch vfio-platform-v4 doesn't contain the module vosys_dmatest. Then I port it from the branch p

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
o:eric.au...@linaro.org] >>> Sent: Thursday, June 19, 2014 3:41 PM >>> To: Shannon Zhao; Bhushan Bharat-R65777; Alvise Rigo; >>> a.mota...@virtualopensystems.com; iommu@lists.linux-foundation.org; >>> kvm...@lists.cs.columbia.edu >>> Subject: Re: Vfio-on-arm:

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
ote: >> >> >>> -Original Message- >>> From: Shannon Zhao [mailto:zhaoshengl...@huawei.com] >>> Sent: Thursday, June 19, 2014 5:47 PM >>> To: Bhushan Bharat-R65777; Alvise Rigo; a.mota...@virtualopensystems.com; >>> iommu@lists.linux-f

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
Property '.vfio_group' not found >>> >>> Thanks, >>> Shannon >>> On 2014/6/24 16:08, bharat.bhus...@freescale.com wrote: >>>> >>>> >>>>> -Original Message- >>>>> From: Shannon Zhao [mailto:zhaoshengl..

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
nnon Zhao [mailto:zhaoshengl...@huawei.com] >>>> Sent: Thursday, June 19, 2014 5:38 PM >>>> To: Alvise Rigo; Bhushan Bharat-R65777; >>>> a.mota...@virtualopensystems.com; iommu@lists.linux-foundation.org; >>>> kvm...@lists.cs.columbia.edu >>

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
ent: Tuesday, June 24, 2014 1:16 PM >>> To: Bhushan Bharat-R65777; Alvise Rigo; a.mota...@virtualopensystems.com; >>> iommu@lists.linux-foundation.org; kvm...@lists.cs.columbia.edu; >>> zhangchengx...@huawei.com >>> Subject: Re: Vfio-on-arm: the device tree

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
; >>> On 2014/6/19 20:20, bharat.bhus...@freescale.com wrote: >>>> >>>> >>>>> -Original Message----- >>>>> From: Shannon Zhao [mailto:zhaoshengl...@huawei.com] >>>>> Sent: Thursday, June 19, 2014 5:47

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
com] >> Sent: Tuesday, June 24, 2014 1:16 PM >> To: Bhushan Bharat-R65777; Alvise Rigo; a.mota...@virtualopensystems.com; >> iommu@lists.linux-foundation.org; kvm...@lists.cs.columbia.edu; >> zhangchengx...@huawei.com >> Subject: Re: Vfio-on-arm: the device tree d

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >>>>> foundation.org; kvm...@lists.cs.columbia.edu >>>>> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >>>>> >>>>> Hi Alvise, >&

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Alvise Rigo
columbia.edu] On Behalf Of Shannon Zhao >>> Sent: Thursday, June 19, 2014 2:45 PM >>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >>> foundation.org; kvm...@lists.cs.columbia.edu >>> Subject: Re: Vfio-on-arm: the device tree does not conta

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
e- >>>>>> From: kvmarm-boun...@lists.cs.columbia.edu [mailto:kvmarm- >>>>>> boun...@lists.cs.columbia.edu] On Behalf Of Shannon Zhao >>>>>> Sent: Thursday, June 19, 2014 2:45 PM >>>>>> To: Alvise Rigo; a.mota...@virtualopensys

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
gt; I'm using the rootfs getting from the url >>>> "http://www.virtualopensystems.com/downloads/guides/kvm_on_arm/fs-alip-armel.cramfs";. >>>> >>>> Can you give me another link to get a newer rootfs? >>>> >>>> Thank y

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
t;>>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >>>> foundation.org; kvm...@lists.cs.columbia.edu >>>> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >>>> >>>> Hi Alvise, >>>> >>>> Th

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-07-03 Thread Shannon Zhao
PM >> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >> foundation.org; kvm...@lists.cs.columbia.edu >> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >> >> Hi Alvise, >> >> Thanks for your reply. >

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-24 Thread bharat.bhus...@freescale.com
engx...@huawei.com > Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device > > Hi Bharat, > > Thanks for your help. > > I executed the following cmd: > echo vfio-platform > > /sys/bus/platform/devices/2c0a.dma/driver_override You have to

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-24 Thread bharat.bhus...@freescale.com
engx...@huawei.com > Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device > > Hi Alvise, > > Thanks for your help. > Now I can see /dev/vfio/vfio and /dev/vfio/0 after executing "echo > 2c0a.dma > > /sys/bus/platform/drivers/vfio-platfor

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread bharat.bhus...@freescale.com
ay, June 19, 2014 5:38 PM > >> To: Alvise Rigo; Bhushan Bharat-R65777; > >> a.mota...@virtualopensystems.com; iommu@lists.linux-foundation.org; > >> kvm...@lists.cs.columbia.edu > >> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA > >&g

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread bharat.bhus...@freescale.com
ssage- > >>>>>> From: kvmarm-boun...@lists.cs.columbia.edu [mailto:kvmarm- > >>>>>> boun...@lists.cs.columbia.edu] On Behalf Of Shannon Zhao > >>>>>> Sent: Thursday, June 19, 2014 2:45 PM > >>>>>> To: Alvise R

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread Eric Auger
ota...@virtualopensystems.com; iommu@lists.linux-foundation.org; >> kvm...@lists.cs.columbia.edu >> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device >> >> On 06/19/2014 11:38 AM, Shannon Zhao wrote: >>> Hi Bharat, >>> >>> On 201

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread bharat.bhus...@freescale.com
essage- > >>> From: kvmarm-boun...@lists.cs.columbia.edu [mailto:kvmarm- > >>> boun...@lists.cs.columbia.edu] On Behalf Of Shannon Zhao > >>> Sent: Thursday, June 19, 2014 2:45 PM > >>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux-

Re: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread Eric Auger
du] On Behalf Of Shannon Zhao >>> Sent: Thursday, June 19, 2014 2:45 PM >>> To: Alvise Rigo; a.mota...@virtualopensystems.com; iommu@lists.linux- >>> foundation.org; kvm...@lists.cs.columbia.edu >>> Subject: Re: Vfio-on-arm: the device tree does not contain the DMA

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread bharat.bhus...@freescale.com
; iommu@lists.linux- > > foundation.org; kvm...@lists.cs.columbia.edu > > Subject: Re: Vfio-on-arm: the device tree does not contain the DMA > > device > > > > Hi Alvise, > > > > Thanks for your reply. > > I have apply the patch and could see

RE: Vfio-on-arm: the device tree does not contain the DMA device

2014-06-19 Thread bharat.bhus...@freescale.com
oundation.org; kvm...@lists.cs.columbia.edu > Subject: Re: Vfio-on-arm: the device tree does not contain the DMA device > > Hi Alvise, > > Thanks for your reply. > I have apply the patch and could see the DMA devices. > But there is no vosys_dmatest int the directory "/sys/kernel/debu