Re: [Xen-devel] [RFC PATCH v2 06/26] ARM: GICv3 ITS: introduce device mapping

2017-01-13 Thread Stefano Stabellini
On Fri, 13 Jan 2017, Andre Przywara wrote: > Hi Stefano, > > On 05/01/17 00:13, Stefano Stabellini wrote: > > On Thu, 22 Dec 2016, Andre Przywara wrote: > >> The ITS uses device IDs to map LPIs to a device. Dom0 will later use > >> those IDs, which we directly pass on to the host. > >> For this we

Re: [Xen-devel] [RFC PATCH v2 06/26] ARM: GICv3 ITS: introduce device mapping

2017-01-13 Thread Andre Przywara
Hi Stefano, On 05/01/17 00:13, Stefano Stabellini wrote: > On Thu, 22 Dec 2016, Andre Przywara wrote: >> The ITS uses device IDs to map LPIs to a device. Dom0 will later use >> those IDs, which we directly pass on to the host. >> For this we have to map each device that Dom0 may request to a host

Re: [Xen-devel] [RFC PATCH v2 06/26] ARM: GICv3 ITS: introduce device mapping

2017-01-13 Thread Andre Przywara
Hi Stefano, On 05/01/17 00:13, Stefano Stabellini wrote: > On Thu, 22 Dec 2016, Andre Przywara wrote: >> The ITS uses device IDs to map LPIs to a device. Dom0 will later use >> those IDs, which we directly pass on to the host. >> For this we have to map each device that Dom0 may request to a host

Re: [Xen-devel] [RFC PATCH v2 06/26] ARM: GICv3 ITS: introduce device mapping

2017-01-04 Thread Stefano Stabellini
On Thu, 22 Dec 2016, Andre Przywara wrote: > The ITS uses device IDs to map LPIs to a device. Dom0 will later use > those IDs, which we directly pass on to the host. > For this we have to map each device that Dom0 may request to a host > ITS device with the same identifier. > Allocate the respectiv

[Xen-devel] [RFC PATCH v2 06/26] ARM: GICv3 ITS: introduce device mapping

2016-12-22 Thread Andre Przywara
The ITS uses device IDs to map LPIs to a device. Dom0 will later use those IDs, which we directly pass on to the host. For this we have to map each device that Dom0 may request to a host ITS device with the same identifier. Allocate the respective memory and enter each device into a list to later b