Re: [Xen-devel] [PATCH v8 14/27] ARM: vITS: introduce translation table walks

2017-04-12 Thread Julien Grall
On 12/04/17 14:36, Andre Przywara wrote: Hi, On 12/04/17 14:22, Julien Grall wrote: On 12/04/17 01:44, Andre Przywara wrote: The ITS stores the target (v)CPU and the (virtual) LPI number in tables. Introduce functions to walk those tables and translate an device ID - event ID pair into a pai

Re: [Xen-devel] [PATCH v8 14/27] ARM: vITS: introduce translation table walks

2017-04-12 Thread Andre Przywara
Hi, On 12/04/17 14:22, Julien Grall wrote: > > > On 12/04/17 01:44, Andre Przywara wrote: >> The ITS stores the target (v)CPU and the (virtual) LPI number in tables. >> Introduce functions to walk those tables and translate an device ID - >> event ID pair into a pair of virtual LPI and vCPU. >>

Re: [Xen-devel] [PATCH v8 14/27] ARM: vITS: introduce translation table walks

2017-04-12 Thread Julien Grall
On 12/04/17 01:44, Andre Przywara wrote: The ITS stores the target (v)CPU and the (virtual) LPI number in tables. Introduce functions to walk those tables and translate an device ID - event ID pair into a pair of virtual LPI and vCPU. We map those tables on demand - which is cheap on arm64 - an

[Xen-devel] [PATCH v8 14/27] ARM: vITS: introduce translation table walks

2017-04-11 Thread Andre Przywara
The ITS stores the target (v)CPU and the (virtual) LPI number in tables. Introduce functions to walk those tables and translate an device ID - event ID pair into a pair of virtual LPI and vCPU. We map those tables on demand - which is cheap on arm64 - and copy the respective entries before using th