Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-07-06 Thread Stefano Stabellini
On Wed, 6 Jul 2016, Julien Grall wrote: > Hi Stefano, > > On 05/07/16 17:42, Stefano Stabellini wrote: > > On Mon, 27 Jun 2016, Julien Grall wrote: > > > On 27/06/16 02:44, Shannon Zhao wrote: > > > > On 2016/6/24 0:26, Julien Grall wrote: > > > > > On 23/06/16 04:16, Shannon Zhao wrote: > > > > >

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-07-06 Thread Julien Grall
Hi Stefano, On 05/07/16 17:42, Stefano Stabellini wrote: On Mon, 27 Jun 2016, Julien Grall wrote: On 27/06/16 02:44, Shannon Zhao wrote: On 2016/6/24 0:26, Julien Grall wrote: On 23/06/16 04:16, Shannon Zhao wrote: From: Shannon Zhao Construct GTDT table with the interrupt information of t

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-07-05 Thread Stefano Stabellini
On Mon, 27 Jun 2016, Julien Grall wrote: > Hi Shannon, > > On 27/06/16 02:44, Shannon Zhao wrote: > > On 2016/6/24 0:26, Julien Grall wrote: > > > On 23/06/16 04:16, Shannon Zhao wrote: > > > > From: Shannon Zhao > > > > > > > > Construct GTDT table with the interrupt information of timers. > >

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-29 Thread Shannon Zhao
On 2016年06月29日 17:42, Julien Grall wrote: > On 29/06/2016 10:29, Shannon Zhao wrote: >> >> >> On 2016/6/27 18:17, Julien Grall wrote: >>> On 27/06/16 02:44, Shannon Zhao wrote: On 2016/6/24 0:26, Julien Grall wrote: > On 23/06/16 04:16, Shannon Zhao wrote: >> From: Shannon Zhao >>

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-29 Thread Julien Grall
Hi Shannon, On 29/06/2016 10:29, Shannon Zhao wrote: On 2016/6/27 18:17, Julien Grall wrote: On 27/06/16 02:44, Shannon Zhao wrote: On 2016/6/24 0:26, Julien Grall wrote: On 23/06/16 04:16, Shannon Zhao wrote: From: Shannon Zhao Construct GTDT table with the interrupt information of time

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-29 Thread Shannon Zhao
On 2016/6/27 18:17, Julien Grall wrote: > Hi Shannon, > > On 27/06/16 02:44, Shannon Zhao wrote: >> On 2016/6/24 0:26, Julien Grall wrote: >>> On 23/06/16 04:16, Shannon Zhao wrote: From: Shannon Zhao Construct GTDT table with the interrupt information of timers. Signed

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-27 Thread Julien Grall
Hi Shannon, On 27/06/16 02:44, Shannon Zhao wrote: On 2016/6/24 0:26, Julien Grall wrote: On 23/06/16 04:16, Shannon Zhao wrote: From: Shannon Zhao Construct GTDT table with the interrupt information of timers. Signed-off-by: Shannon Zhao --- tools/libxl/libxl_arm_acpi.c | 28 ++

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-26 Thread Shannon Zhao
On 2016/6/24 0:26, Julien Grall wrote: > On 23/06/16 04:16, Shannon Zhao wrote: >> From: Shannon Zhao >> >> Construct GTDT table with the interrupt information of timers. >> >> Signed-off-by: Shannon Zhao >> --- >> tools/libxl/libxl_arm_acpi.c | 28 >> 1 file cha

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-23 Thread Julien Grall
On 23/06/16 17:26, Julien Grall wrote: enum { RSDP, XSDT, @@ -110,6 +113,30 @@ static void make_acpi_xsdt(libxl__gc *gc, struct xc_dom_image *dom) dom->acpitable_size += ROUNDUP(acpitables[XSDT].size, 3); } +static void make_acpi_gtdt(libxl__gc *gc, struct xc_dom_image *d

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-23 Thread Julien Grall
Hi Shannon, On 23/06/16 04:16, Shannon Zhao wrote: From: Shannon Zhao Construct GTDT table with the interrupt information of timers. Signed-off-by: Shannon Zhao --- tools/libxl/libxl_arm_acpi.c | 28 1 file changed, 28 insertions(+) diff --git a/tools/libxl/l

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-23 Thread Julien Grall
Hi, On 23/06/16 16:00, Stefano Stabellini wrote: On Thu, 23 Jun 2016, Shannon Zhao wrote: [...] +static void make_acpi_gtdt(libxl__gc *gc, struct xc_dom_image *dom) +{ +struct acpi_table_gtdt *gtdt; +size_t size = sizeof(*gtdt); + +gtdt = libxl__zalloc(gc, size); + +gtdt->non

Re: [Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-23 Thread Stefano Stabellini
On Thu, 23 Jun 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Construct GTDT table with the interrupt information of timers. > > Signed-off-by: Shannon Zhao > --- > tools/libxl/libxl_arm_acpi.c | 28 > 1 file changed, 28 insertions(+) > > diff --git a/tools/li

[Xen-devel] [PATCH v2 07/17] libxl/arm: Construct ACPI GTDT table

2016-06-22 Thread Shannon Zhao
From: Shannon Zhao Construct GTDT table with the interrupt information of timers. Signed-off-by: Shannon Zhao --- tools/libxl/libxl_arm_acpi.c | 28 1 file changed, 28 insertions(+) diff --git a/tools/libxl/libxl_arm_acpi.c b/tools/libxl/libxl_arm_acpi.c index d5f