Re: [Xen-devel] Could Xen hyperviosr be able to invoke Linux systemcalls?

2015-08-16 Thread Frediano Ziglio
2015-08-15 2:31 GMT+01:00 Kun Cheng : > Hi all, > > That might be a dumb question but I just not confident with it. I'm not > familiar with Xen's memory management part. Currently I want to add some > support (it should cope more with machine memory) to the hyperviosr to > assist the management of

Re: [Xen-devel] [PATCH v6] tools/xenconsoled: Increase file descriptor limit

2015-03-16 Thread Frediano Ziglio
2015-03-02 15:04 GMT+00:00 Andrew Cooper : > XenServer's VM density testing uncovered a regression when moving from > sysvinit to systemd where the file descriptor limit dropped from 4096 to > 1024. (XenServer had previously inserted a ulimit statement into its > initscripts.) > > One solution is t

Re: [Xen-devel] [PATCH v8 2/4] xen/arm: Check for interrupt controller directly

2015-03-09 Thread Frediano Ziglio
rall wrote: > > >> Hello Frediano, > > >> > > >> On 03/03/15 11:19, Frediano Ziglio wrote: > > >>> This check allow to detect mail interrupt controller even if it > > >>> does > > >> > > >> main > > >> >

Re: [Xen-devel] [PATCH v8 3/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-03-05 Thread Frediano Ziglio
2015-03-03 15:42 GMT+00:00 Julien Grall : > On 03/03/15 15:36, Frediano Ziglio wrote: >>> >>> Hello Frediano, >>> >>> On 03/03/15 11:19, Frediano Ziglio wrote: >>>> The GIC in this platform is mainly compatible with the standard >>>> G

[Xen-devel] [PATCH v9 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-03-03 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 801 +++ 1 file changed, 801

[Xen-devel] [PATCH v9 3/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
The GIC in this platform is mainly compatible with the standard GICv2 beside: - ITARGET is extended to 16 bit to support 16 CPUs; - SGI mask is extended to support 16 CPUs; - maximum supported interrupt is 510; - GICH APR and LR register offsets. Signed-off-by: Frediano Ziglio Signed-off-by

[Xen-devel] [PATCH v9 2/4] xen/arm: Detect GIC nodes based on class

2015-03-03 Thread Frediano Ziglio
Instead of having a list with all matches use device list to detect if a node is an interrupt controller. Signed-off-by: Frediano Ziglio --- xen/arch/arm/domain_build.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm

[Xen-devel] [PATCH v9 0/4] xen/arm: Add support for Huawei hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (4): xen/arm: Duplicate gic-v2.c file to support hip04 platform version xen/arm: Detect GIC nodes based on class xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm: Force dom0 to use normal GICv2 driver

[Xen-devel] [PATCH v9 4/4] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-03-03 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 18 +++--- xen/include/asm-arm/gic.h | 4 +++- 2 files change

Re: [Xen-devel] [PATCH v8 3/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
> > Hello Frediano, > > On 03/03/15 11:19, Frediano Ziglio wrote: > > The GIC in this platform is mainly compatible with the standard > > GICv2 beside: > > - ITARGET is extended to 16 bit to support 16 CPUs; > > - SGI mask is extended to support 16 CPUs; >

Re: [Xen-devel] [PATCH v8 2/4] xen/arm: Check for interrupt controller directly

2015-03-03 Thread Frediano Ziglio
2015-03-03 14:45 GMT+00:00 Julien Grall : > Hello Frediano, > > On 03/03/15 11:19, Frediano Ziglio wrote: >> This check allow to detect mail interrupt controller even if it does > > main > >> not match one of the standard ones. >> This allow boards with no

[Xen-devel] [PATCH v8 4/4] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-03-03 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 18 +++--- xen/include/asm-arm/gic.h | 4 +++- 2 files change

[Xen-devel] [PATCH v8 3/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
The GIC in this platform is mainly compatible with the standard GICv2 beside: - ITARGET is extended to 16 bit to support 16 CPUs; - SGI mask is extended to support 16 CPUs; - maximum supported interrupt is 510; - GICH APR and LR register offsets. Signed-off-by: Frediano Ziglio Signed-off-by

[Xen-devel] [PATCH v8 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-03-03 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 801 +++ 1 file changed, 801

[Xen-devel] [PATCH v8 2/4] xen/arm: Check for interrupt controller directly

2015-03-03 Thread Frediano Ziglio
This check allow to detect mail interrupt controller even if it does not match one of the standard ones. This allow boards with non standard controllers to be handled correctly without having to manually edit the global list every time. Signed-off-by: Frediano Ziglio --- xen/arch/arm

[Xen-devel] [PATCH v8 0/4] xen/arm: Add support for Huawei hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (4): xen/arm: Duplicate gic-v2.c file to support hip04 platform version xen/arm: Check for interrupt controller directly xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm: Force dom0 to use normal

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-03-02 Thread Frediano Ziglio
2015-03-02 14:50 GMT+00:00 Ian Campbell : > On Fri, 2015-02-27 at 14:08 +0000, Frediano Ziglio wrote: >> Translated addresses (in d->arch.vgic.{c,d}base) are now bus addresses >> which could not always be applied to the DT. >> Copy the original addresses from DT dire

Re: [Xen-devel] [PATCH v6 0/5] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
2015-02-26 13:24 GMT+00:00 Julien Grall : > Hi Frediano, > > On 26/02/15 12:40, Frediano Ziglio wrote: >> xen/arm: Make gic-v2 code handle hip04-d01 platform >> xen/arm: handle GICH register changes for hip04-d01 platform >> xen/arm: Force dom0 to use normal GIC

[Xen-devel] [PATCH v7 1/3] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-27 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 803 +++ 1 file changed, 803

[Xen-devel] [PATCH v7 2/3] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
The GIC in this platform is mainly compatible with the standard GICv2 beside: - ITARGET is extended to 16 bit to support 16 CPUs; - SGI mask is extended to support 16 CPUs; - maximum supported interrupt is 510; - GICH APR and LR register offsets. Signed-off-by: Frediano Ziglio Signed-off-by

[Xen-devel] [PATCH v7 3/3] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-02-27 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git

[Xen-devel] [PATCH v7 0/3] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
correctly if hip04_smp_init fails (Julien Grall); - remove quirks using compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (3): xen/arm: Duplicate gic-v2.c file to support hip04 platform version xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm

[Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-27 Thread Frediano Ziglio
off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) Changed some comments. diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index c05b64a..fa695d1 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gi

Re: [Xen-devel] [PATCH v6 3/5] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
... > > /* > > diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index > > 390c8b0..e4512a8 100644 > > --- a/xen/arch/arm/gic.c > > +++ b/xen/arch/arm/gic.c > > @@ -565,12 +565,13 @@ static void do_sgi(struct cpu_user_regs *regs, > > enum gic_sgi sgi) void gic_interrupt(struct cpu_user_regs *r

Re: [Xen-devel] [PATCH v6 1/5] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-26 Thread Frediano Ziglio
> On 26/02/15 14:31, Frediano Ziglio wrote: > >> > >> Hi Frediano, > >> > >> On 26/02/15 12:40, Frediano Ziglio wrote: > >>> HiSilison Hip04 platform use a slightly different version. > >>> This is just a verbatim copy of the fil

Re: [Xen-devel] [PATCH v6 3/5] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
> > Hi Frediano, > > On 26/02/15 12:40, Frediano Ziglio wrote: > > diff --git a/xen/arch/arm/domain_build.c > b/xen/arch/arm/domain_build.c > > index c2dcb49..0834053 100644 > > --- a/xen/arch/arm/domain_build.c > > +++ b/xen/arch/arm/domain_build

Re: [Xen-devel] [PATCH v6 1/5] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-26 Thread Frediano Ziglio
> > Hi Frediano, > > On 26/02/15 12:40, Frediano Ziglio wrote: > > HiSilison Hip04 platform use a slightly different version. > > This is just a verbatim copy of the file to workaround git not fully > > supporting copy operation. > > This is an old verbatim c

Re: [Xen-devel] [PATCH v5.99.1 RFC 2/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
2015-02-25 16:53 GMT+00:00 Stefano Stabellini : > On Wed, 25 Feb 2015, Frediano Ziglio wrote: >> The GIC in this platform is mainly compatible with the standard >> GICv2 beside: >> - ITARGET is extended to 16 bit to support 16 CPUs; >> - SGI mask is extended to su

[Xen-devel] [PATCH v6 2/5] xen/arm: Add HAS_NON_STANDARD_DRIVERS build option to arm

2015-02-26 Thread Frediano Ziglio
Allow to enable non standard drivers in Xen. Can be override in .config file. Signed-off-by: Frediano Ziglio --- xen/arch/arm/Rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk index c7bd227..4ed142a 100644 --- a/xen/arch/arm/Rules.mk

[Xen-devel] [PATCH v6 3/5] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
to some field restriction. Any value above this is already an error. Signed-off-by: Frediano Ziglio Signed-off-by: Zoltan Kiss --- xen/arch/arm/Makefile | 3 + xen/arch/arm/domain_build.c | 1 + xen/arch/arm/gic-hip04.c| 351 ++-- xen/arch

[Xen-devel] [PATCH v6 0/5] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
). Changes from v1: - style (Julien Grall); - make gicv2_send_SGI faster (Julien Grall); - cleanup correctly if hip04_smp_init fails (Julien Grall); - remove quirks using compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (5): xen/arm: Duplicate gic-v2.c file to

[Xen-devel] [PATCH v6 1/5] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-26 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 788 +++ 1 file changed, 788

[Xen-devel] [PATCH v6 4/5] xen/arm: handle GICH register changes for hip04-d01 platform

2015-02-26 Thread Frediano Ziglio
The GICH in this platform is mainly compatible with the standard GICv2 beside APR and LR register offsets. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/xen/arch/arm/gic-hip04.c b/xen

[Xen-devel] [PATCH v6 5/5] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-02-26 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git

Re: [Xen-devel] [PATCH v5] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-25 Thread Frediano Ziglio
> On Fri, 2015-02-20 at 09:56 +0000, Frediano Ziglio wrote: > > This set of patches add Xen support for hip04-d01 platform (see > > https://wiki.linaro.org/Boards/D01 for details). > > When (or where) would the general public be able to purchase one of > these systems

Re: [Xen-devel] [PATCH v5.99.1 RFC 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-25 Thread Frediano Ziglio
> > Hi Frediano, > > On 25/02/15 15:28, Frediano Ziglio wrote: > > HiSilison Hip04 platform use a slightly different version > > I honestly don't like the idea to copy the whole GIC-v2 drivers. It > will require more maintenance for us. > > Is there any w

Re: [Xen-devel] [PATCH v5.99.1 RFC 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-25 Thread Frediano Ziglio
> > Hi Frediano, > > On 25/02/15 15:28, Frediano Ziglio wrote: > > HiSilison Hip04 platform use a slightly different version > > I honestly don't like the idea to copy the whole GIC-v2 drivers. It > will require more maintenance for us. > > Is there any w

[Xen-devel] [PATCH v5.99.1 RFC 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-25 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version Signed-off-by: Frediano Ziglio --- xen/arch/arm/Makefile| 2 +- xen/arch/arm/gic-hip04.c | 788 +++ 2 files changed, 789 insertions(+), 1 deletion(-) create mode 100644 xen/arch/arm/gic

[Xen-devel] [PATCH v5.99.1 RFC 2/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-25 Thread Frediano Ziglio
to some field restriction. Any value above this is already an error. Signed-off-by: Frediano Ziglio Signed-off-by: Zoltan Kiss --- xen/arch/arm/domain_build.c | 1 + xen/arch/arm/gic-hip04.c| 43 +-- xen/arch/arm/gic.c | 3 ++- xen/include

[Xen-devel] [PATCH v5.99.1 RFC 0/4] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-25 Thread Frediano Ziglio
changes (Julien Grall). Changes from v1: - style (Julien Grall); - make gicv2_send_SGI faster (Julien Grall); - cleanup correctly if hip04_smp_init fails (Julien Grall); - remove quirks using compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (4): xen/arm

[Xen-devel] [PATCH v5.99.1 RFC 4/4] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-02-25 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xen/arc

[Xen-devel] [PATCH v5.99.1 RFC 3/4] xen/arm: handle GICH register changes for hip04-d01 platform

2015-02-25 Thread Frediano Ziglio
The GICH in this platform is mainly compatible with the standard GICv2 beside APR and LR register offsets. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-hip04.c | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/gic-hip04.c b/xen/arch/arm/gic-hip04.c index 9a7ed46

[Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-25 Thread Frediano Ziglio
off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) Fixed typos in comments. diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index 31fb81a..a401e3f 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gi

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-25 Thread Frediano Ziglio
off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) Updated comment and commit message as requested. diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index 31fb81a..6899ab1 100644 --- a/xen/arch/arm/gic-v2.c +++

Re: [Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-24 Thread Frediano Ziglio
Il 24/Feb/2015 16:24 "Ian Campbell" ha scritto: > > On Tue, 2015-02-24 at 14:19 +, Julien Grall wrote: > > Hi Frediano, > > > > On 20/02/15 09:56, Frediano Ziglio wrote: > > > This name can appear in some Linux kernel repos. Not very fortunate, &g

Re: [Xen-devel] [PATCH 1/6] tools/libxl: Introduce min and max macros

2015-02-20 Thread Frediano Ziglio
2015-02-18 16:34 GMT+00:00 Andrew Cooper : > This is the same set used by libxc. > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > --- > tools/libxl/libxl_internal.h | 16 > 1 file changed, 16 insertions(+) > > diff --git a/tools/libxl/lib

[Xen-devel] [PATCH v5 4/4] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-02-20 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/xen/arch/arm/gic-v2.c b/xen/arc

[Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-20 Thread Frediano Ziglio
This name can appear in some Linux kernel repos. Not very fortunate, but to avoid others spending an hour to spot that few characters difference it worth to work around it. Signed-off-by: Zoltan Kiss --- xen/arch/arm/gic-v2.c | 1 + xen/include/asm-arm/gic.h | 4 +++- 2 files changed, 4 inse

[Xen-devel] [PATCH v5 1/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-20 Thread Frediano Ziglio
to some field restriction. Any value above this is already an error. Signed-off-by: Frediano Ziglio Signed-off-by: Zoltan Kiss --- xen/arch/arm/gic-v2.c | 85 ++- xen/arch/arm/gic.c| 3 +- xen/include/asm-arm/gic.h | 4 ++- 3 files

[Xen-devel] [PATCH v5] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-20 Thread Frediano Ziglio
hip04_smp_init fails (Julien Grall); - remove quirks using compatibility (Ian Campbell); - other minor suggestions by Julien Grall. Frediano Ziglio (4): xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm: Add support for DTBs with strange names of Hip04 GICv2 xen/arm: handle GICH

[Xen-devel] [PATCH v5 3/4] xen/arm: handle GICH register changes for hip04-d01 platform

2015-02-20 Thread Frediano Ziglio
The GICH in this platform is mainly compatible with the standard GICv2 beside APR and LR register offsets. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/xen/arch/arm/gic-v2.c b/xen/arch

[Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-20 Thread Frediano Ziglio
Translated address could have an offset applied to them. Replicate same value for device node to avoid improper address computation in the OS. Signed-off-by: Frediano Ziglio --- xen/arch/arm/gic-v2.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Submit again

Re: [Xen-devel] [PATCH v3 7/7] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-19 Thread Frediano Ziglio
again on another thread? Frediano 2014-11-06 10:12 GMT+00:00 Frediano Ziglio : > Translated address could have an offset applied to them. > Replicate same value for device node to avoid improper address > computation in the OS. > > Signed-off-by: Frediano Ziglio > --- >

Re: [Xen-devel] [PATCH 01/10] xen/arm: Implement hip04-d01 platform

2015-02-19 Thread Frediano Ziglio
2015-01-13 15:48 GMT+00:00 Frediano Ziglio : > 2015-01-13 15:23 GMT+00:00 Ian Campbell : >> On Tue, 2015-01-13 at 15:11 +, Frediano Ziglio wrote: >>> 2015-01-13 14:42 GMT+00:00 Ian Campbell : >>> > On Tue, 2015-01-13 at 14:09 +, Frediano Ziglio wrote: >>

Re: [Xen-devel] [PATCH 01/10] xen/arm: Implement hip04-d01 platform

2015-01-13 Thread Frediano Ziglio
2015-01-13 15:23 GMT+00:00 Ian Campbell : > On Tue, 2015-01-13 at 15:11 +0000, Frediano Ziglio wrote: >> 2015-01-13 14:42 GMT+00:00 Ian Campbell : >> > On Tue, 2015-01-13 at 14:09 +0000, Frediano Ziglio wrote: >> >> 2015-01-13 11:58 GMT+00:00 Ian Campbell : >&

Re: [Xen-devel] [PATCH 01/10] xen/arm: Implement hip04-d01 platform

2015-01-13 Thread Frediano Ziglio
2015-01-13 14:42 GMT+00:00 Ian Campbell : > On Tue, 2015-01-13 at 14:09 +0000, Frediano Ziglio wrote: >> 2015-01-13 11:58 GMT+00:00 Ian Campbell : >> > On Mon, 2014-11-03 at 10:11 +0000, Frediano Ziglio wrote: >> >> Add this new platform to Xen. >> >&

Re: [Xen-devel] [PATCH 01/10] xen/arm: Implement hip04-d01 platform

2015-01-13 Thread Frediano Ziglio
2015-01-13 11:58 GMT+00:00 Ian Campbell : > On Mon, 2014-11-03 at 10:11 +0000, Frediano Ziglio wrote: >> Add this new platform to Xen. >> This platform require specific code to initialize CPUs. > > What is the "bootwrapper"? Are you running this on real silic

Re: [Xen-devel] [PATCH 04/10] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-01-13 Thread Frediano Ziglio
2015-01-13 11:54 GMT+00:00 Ian Campbell : > On Mon, 2014-11-03 at 10:11 +0000, Frediano Ziglio wrote: >> The GIC in this platform is mainly compatible with the standard >> GICv2 beside: >> - ITARGET is extended to 16 bit to support 16 CPUs; >> - SGI mask is

Re: [Xen-devel] [PATCH RFC] libxl: fix paths in capability string

2015-01-06 Thread Frediano Ziglio
2015-01-06 16:12 GMT+00:00 Wei Liu : > Currently libxl driver hardcodes some paths in its capability string, > which might not be the correct paths. > > This patch introduces --with-libxl-prefix, so that user can specify the > prefix used to build Xen tools. The default value is /usr/local which is

Re: [Xen-devel] xenstored crashes with SIGSEGV

2014-12-17 Thread Frediano Ziglio
2014-12-16 16:44 GMT+00:00 Frediano Ziglio : > 2014-12-16 16:23 GMT+00:00 Ian Campbell : >> On Tue, 2014-12-16 at 16:13 +, Frediano Ziglio wrote: >>> What does "info all-registers" gdb command say about SSE registers? >> >> All zeroes. No ffs anywhere.

Re: [Xen-devel] xenstored crashes with SIGSEGV

2014-12-16 Thread Frediano Ziglio
2014-12-16 16:23 GMT+00:00 Ian Campbell : > On Tue, 2014-12-16 at 16:13 +0000, Frediano Ziglio wrote: >> What does "info all-registers" gdb command say about SSE registers? > > All zeroes. No ffs anywhere. > Could be that core does not dump these registers for some

Re: [Xen-devel] xenstored crashes with SIGSEGV

2014-12-16 Thread Frediano Ziglio
2014-12-16 12:23 GMT+00:00 Ian Campbell : > On Tue, 2014-12-16 at 11:30 +0000, Frediano Ziglio wrote: >> 2014-12-16 11:06 GMT+00:00 Ian Campbell : >> > On Tue, 2014-12-16 at 10:45 +, Ian Campbell wrote: >> >> On Mon, 2014-12-15 at 23:29 +0100, Philipp Hahn wro

Re: [Xen-devel] xenstored crashes with SIGSEGV

2014-12-16 Thread Frediano Ziglio
2014-12-16 11:06 GMT+00:00 Ian Campbell : > On Tue, 2014-12-16 at 10:45 +, Ian Campbell wrote: >> On Mon, 2014-12-15 at 23:29 +0100, Philipp Hahn wrote: >> > > I notice in your bugzilla (for a different occurrence, I think): >> > >> [2090451.721705] univention-conf[2512]: segfault at ff

Re: [Xen-devel] Porting document

2014-12-15 Thread Frediano Ziglio
2014-12-12 16:01 GMT+00:00 Ian Campbell : > On Fri, 2014-12-12 at 15:59 +, Ian Campbell wrote: >> On Mon, 2014-12-08 at 15:47 +, Frediano Ziglio wrote: >> > Hi, >> > while I was porting D01 platform >> > (https://wiki.linaro.org/Boards/D01) to Xen I w

[Xen-devel] Porting document

2014-12-08 Thread Frediano Ziglio
Hi, while I was porting D01 platform (https://wiki.linaro.org/Boards/D01) to Xen I wrote a small document trying to describe the step I made and problems I encountered hoping it could useful to other people. The idea is to put such documentation in a wiki page or in the docs directory. Let me kn

Re: [Xen-devel] [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel

2014-11-20 Thread Frediano Ziglio
2014-11-20 15:48 GMT+00:00 Ian Campbell : > The libxc xc_dom_* infrastructure uses a very simple malloc memory pool which > is freed by xc_dom_release. However the various xc_try_*_decode routines > (other > than the gzip one) just use plain malloc/realloc and therefore the buffer ends > up leaked

Re: [Xen-devel] BUG in xennet_make_frags with paged skb data

2014-11-10 Thread Frediano Ziglio
2014-11-10 16:42 GMT+00:00 David Vrabel : > On 10/11/14 16:39, Zoltan Kiss wrote: > > > > The BUG_ON suggested by Stefan would be still reasonable: > > > > BUG_ON(((page-compound_head(page))*PAGE_SIZE)+offset+len > > > PAGE_SIZE< > Well, it wouldn't trigger but I don't think it is useful any more.

Re: [Xen-devel] [PATCH] xen/arm: Return correct code error for xen_swiotlb_map_page

2014-11-10 Thread Frediano Ziglio
> On Thu, Nov 06, 2014 at 07:14:51PM +, Stefano Stabellini wrote: > > On Thu, 6 Nov 2014, Frediano Ziglio wrote: > > > 2014-11-06 17:30 GMT+00:00 Stefano Stabellini > : > > > On Thu, 6 Nov 2014, Frediano Ziglio wrote: > > > > On ARM er