Re: [Xen-devel] Xen ARM smmu questions

2019-03-12 Thread Stefano Stabellini
Hi Jinch, Replies inline below. On Tue, 12 Mar 2019, Jinch wrote: > Thank you for your reply, > I’m just researching the implementation of the SMMU driver in Xen and dom0 > kernel. > If my board has SMMU of arm,mmu-500, do you mean that the Xen use the stage 2 > of it and the dom0 kernel use s

Re: [Xen-devel] Xen ARM smmu questions

2019-03-12 Thread Jinch
Thank you for your reply, I’m just researching the implementation of the SMMU driver in Xen and dom0 kernel. If my board has SMMU of arm,mmu-500, do you mean that the Xen use the stage 2 of it and the dom0 kernel use stage1? And if I want to passthrough some device that use SMMU to domu, how the

Re: [Xen-devel] Xen ARM smmu questions

2019-03-12 Thread Julien Grall
On 3/12/19 8:58 AM, jinchen wrote: Hello xen-devel, Hello, I'm reading the code of xen arm smmu in drivers/passthrough/arm, and I have some questions that confused me. I think if the board use SMMU, xen will take charge of it before dom0 boot, and will not pass the node of SMMU to dom0 in

[Xen-devel] Xen ARM smmu questions

2019-03-12 Thread jinchen
Hello xen-devel, I'm reading the code of xen arm smmu in drivers/passthrough/arm, and I have some questions that confused me. I think if the board use SMMU, xen will take charge of it before dom0 boot, and will not pass the node of SMMU to dom0 in device tree, so my question is how dom0 use SMMU