Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-23 Thread Julien Grall
On 23/02/15 15:15, Ian Campbell wrote: > On Fri, 2015-02-20 at 17:03 +, Julien Grall wrote: >> On 20/02/15 15:42, Ian Campbell wrote: >>> On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: @@ -919,8 +943,14 @@ static int make_timer_node(const struct domain *d, void *fdt,

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-23 Thread Julien Grall
Hi Ian, On 23/02/15 15:12, Ian Campbell wrote: > On Fri, 2015-02-20 at 17:01 +, Julien Grall wrote: diff --git a/docs/misc/arm/device-tree/passthrough.txt b/docs/misc/arm/device-tree/passthrough.txt new file mode 100644 index 000..04645b3 --- /dev/null +++ b/

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-23 Thread Ian Campbell
On Fri, 2015-02-20 at 17:03 +, Julien Grall wrote: > On 20/02/15 15:42, Ian Campbell wrote: > > On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: > >> @@ -919,8 +943,14 @@ static int make_timer_node(const struct domain *d, > >> void *fdt, > >> return res; > >> } > >> > >> -/* Map

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-23 Thread Ian Campbell
On Fri, 2015-02-20 at 17:01 +, Julien Grall wrote: > >> diff --git a/docs/misc/arm/device-tree/passthrough.txt > >> b/docs/misc/arm/device-tree/passthrough.txt > >> new file mode 100644 > >> index 000..04645b3 > >> --- /dev/null > >> +++ b/docs/misc/arm/device-tree/passthrough.txt > >> @@

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-20 Thread Julien Grall
Hi Ian, On 20/02/15 15:38, Ian Campbell wrote: > On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: >> When a device is marked for passthrough (via the new property >> "xen,passthrough"), >> dom0 must not access to the device (i.e not loading a driver), but should > > "must not access the de

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-20 Thread Julien Grall
On 20/02/15 15:42, Ian Campbell wrote: > On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: >> @@ -919,8 +943,14 @@ static int make_timer_node(const struct domain *d, void >> *fdt, >> return res; >> } >> >> -/* Map the device in the domain */ >> -static int map_device(struct domain *d,

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-20 Thread Ian Campbell
On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: > @@ -919,8 +943,14 @@ static int make_timer_node(const struct domain *d, void > *fdt, > return res; > } > > -/* Map the device in the domain */ > -static int map_device(struct domain *d, struct dt_device_node *dev) > +/* For a given d

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-02-20 Thread Ian Campbell
On Tue, 2015-01-13 at 14:25 +, Julien Grall wrote: > When a device is marked for passthrough (via the new property > "xen,passthrough"), > dom0 must not access to the device (i.e not loading a driver), but should "must not access the device (i.e. not load a driver)" perhaps "should still be

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-01-29 Thread Stefano Stabellini
On Wed, 28 Jan 2015, Julien Grall wrote: > On 28/01/15 16:36, Stefano Stabellini wrote: > > On Tue, 13 Jan 2015, Julien Grall wrote: > >> When a device is marked for passthrough (via the new property > >> "xen,passthrough"), > >> dom0 must not access to the device (i.e not loading a driver), but s

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-01-28 Thread Julien Grall
On 28/01/15 16:36, Stefano Stabellini wrote: > On Tue, 13 Jan 2015, Julien Grall wrote: >> When a device is marked for passthrough (via the new property >> "xen,passthrough"), >> dom0 must not access to the device (i.e not loading a driver), but should >> be able to manage the MMIO/interrupt of th

Re: [Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-01-28 Thread Stefano Stabellini
On Tue, 13 Jan 2015, Julien Grall wrote: > When a device is marked for passthrough (via the new property > "xen,passthrough"), > dom0 must not access to the device (i.e not loading a driver), but should > be able to manage the MMIO/interrupt of the passthrough device. > > The latter part will all

[Xen-devel] [PATCH v3 07/24] xen/arm: Introduce xen, passthrough property

2015-01-13 Thread Julien Grall
When a device is marked for passthrough (via the new property "xen,passthrough"), dom0 must not access to the device (i.e not loading a driver), but should be able to manage the MMIO/interrupt of the passthrough device. The latter part will allow the toolstack to map MMIO/IRQ when a device is pas