Re: [Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-04-03 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Andre Przywara wrote: > Hi, > > On 31/03/17 23:59, Stefano Stabellini wrote: > > On Fri, 31 Mar 2017, Andre Przywara wrote: > >> The ARM GICv3 provides a new kind of interrupt called LPIs. > >> The pending bits and the configuration data (priority, enable bits) for > >> those L

Re: [Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-04-03 Thread Julien Grall
On 03/04/17 14:53, Julien Grall wrote: diff --git a/xen/include/xen/bitops.h b/xen/include/xen/bitops.h index bd0883a..9261e06 100644 --- a/xen/include/xen/bitops.h +++ b/xen/include/xen/bitops.h @@ -5,11 +5,14 @@ /* * Create a contiguous bitmask starting at bit position @l and ending at *

Re: [Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-04-03 Thread Julien Grall
Hi Andre, On 31/03/17 19:05, Andre Przywara wrote: diff --git a/xen/arch/arm/gic-v3-lpi.c b/xen/arch/arm/gic-v3-lpi.c new file mode 100644 index 000..77f6009 --- /dev/null +++ b/xen/arch/arm/gic-v3-lpi.c @@ -0,0 +1,209 @@ [...] +#include +#include +#include +#include +#include +#inc

Re: [Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-04-03 Thread Andre Przywara
Hi, On 31/03/17 23:59, Stefano Stabellini wrote: > On Fri, 31 Mar 2017, Andre Przywara wrote: >> The ARM GICv3 provides a new kind of interrupt called LPIs. >> The pending bits and the configuration data (priority, enable bits) for >> those LPIs are stored in tables in normal memory, which softwar

Re: [Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-03-31 Thread Stefano Stabellini
On Fri, 31 Mar 2017, Andre Przywara wrote: > The ARM GICv3 provides a new kind of interrupt called LPIs. > The pending bits and the configuration data (priority, enable bits) for > those LPIs are stored in tables in normal memory, which software has to > provide to the hardware. > Allocate the requ

[Xen-devel] [PATCH v3 02/26] ARM: GICv3: allocate LPI pending and property table

2017-03-31 Thread Andre Przywara
The ARM GICv3 provides a new kind of interrupt called LPIs. The pending bits and the configuration data (priority, enable bits) for those LPIs are stored in tables in normal memory, which software has to provide to the hardware. Allocate the required memory, initialize it and hand it over to each r