Re: [Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-20 Thread Julien Grall
Hi, On 19/08/2019 23:47, Stefano Stabellini wrote: On Fri, 9 Aug 2019, Julien Grall wrote: On 8/9/19 12:12 AM, Stefano Stabellini wrote: It is also not entirely clear from there variable name what is the difference between fdt and pfdt. I have clarified and reduced the list of parameters by

Re: [Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-19 Thread Stefano Stabellini
On Fri, 9 Aug 2019, Julien Grall wrote: > On 8/9/19 12:12 AM, Stefano Stabellini wrote: > > Read the dtb fragment corresponding to a passthrough device from memory > > at the location referred to by the "multiboot,dtb" compatible node. > > > > Copy the fragment to the guest dtb. > > > > Add a

Re: [Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-19 Thread Stefano Stabellini
On Fri, 9 Aug 2019, Volodymyr Babchuk wrote: > Stefano Stabellini writes: > > > Read the dtb fragment corresponding to a passthrough device from memory > > at the location referred to by the "multiboot,dtb" compatible node. > > > > Copy the fragment to the guest dtb. > > > > Add a dtb_bootmodule

Re: [Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-09 Thread Julien Grall
Hi Stefano, On 8/9/19 12:12 AM, Stefano Stabellini wrote: Read the dtb fragment corresponding to a passthrough device from memory at the location referred to by the "multiboot,dtb" compatible node. Copy the fragment to the guest dtb. Add a dtb_bootmodule field to struct kernel_info to find

Re: [Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-09 Thread Volodymyr Babchuk
Hi Stefano, Stefano Stabellini writes: > Read the dtb fragment corresponding to a passthrough device from memory > at the location referred to by the "multiboot,dtb" compatible node. > > Copy the fragment to the guest dtb. > > Add a dtb_bootmodule field to struct kernel_info to find the dtb >

[Xen-devel] [PATCH v3 2/6] xen/arm: copy dtb fragment to guest dtb

2019-08-08 Thread Stefano Stabellini
Read the dtb fragment corresponding to a passthrough device from memory at the location referred to by the "multiboot,dtb" compatible node. Copy the fragment to the guest dtb. Add a dtb_bootmodule field to struct kernel_info to find the dtb fragment for a guest. Some of the code below is taken