[Xen-devel] [qemu-mainline test] 105444: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105444 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105444/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

Re: [Xen-devel] [PATCH RESEND v5 01/24] docs: create L2 Cache Allocation Technology (CAT) feature document

2017-02-03 Thread Yi Sun
On 17-01-30 15:39:28, Konrad Rzeszutek Wilk wrote: > > > +# Testing > > > + > > > +L2 CAT uses same xl interfaces as L3 CAT/CDP. So, we can execute these > > > +commands to verify L2 CAT and L3 CAT/CDP on different HWs support them. > > > + > > > +For example: > > > +root@:~$ xl psr-hwinfo --ca

Re: [Xen-devel] [PATCH RESEND v5 01/24] docs: create L2 Cache Allocation Technology (CAT) feature document

2017-02-03 Thread Yi Sun
Thanks a lot for reviewing the patches! Sorry for late to reply. I am on vacation for Chinese New Year now. :) On 17-01-30 13:10:33, Konrad Rzeszutek Wilk wrote: > On Thu, Jan 19, 2017 at 02:01:03PM +0800, Yi Sun wrote: > > + 2. Feature list node > > + > > + ``` > > + struct feat_node

[Xen-devel] [linux-linus test] 105405: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105405 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/105405/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 14 guest-saverestore fail REGR. vs. 59254 test-amd64-amd64-xl

[Xen-devel] [qemu-mainline bisection] complete build-i386

2017-02-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-i386 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen git://xenbits

[Xen-devel] [qemu-mainline test] 105422: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105422 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105422/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

[Xen-devel] [qemu-mainline test] 105416: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105416 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105416/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

[Xen-devel] [xen-unstable baseline-only test] 68509: regressions - trouble: blocked/broken/fail/pass

2017-02-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 68509 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68509/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-pair 5 host-ping-check

[Xen-devel] [qemu-mainline test] 105403: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105403 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105403/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

[Xen-devel] [xen-unstable test] 105376: tolerable FAIL - PUSHED

2017-02-03 Thread osstest service owner
flight 105376 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/105376/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail like 105331 test-amd64-i386-xl-qemuu-wi

Re: [Xen-devel] [PATCH 1/7] xen/arm: acpi: Rework acpi_boot_table_init error paths

2017-02-03 Thread Wei Liu
On Fri, Feb 03, 2017 at 07:18:46PM +, Julien Grall wrote: > There are multiple path disable ACPI on error. Consolidate in a single > place, this will help in a follow-up patch to add more code on the error > path. > > Signed-off-by: Julien Grall > --- > xen/arch/arm/acpi/boot.c | 25

[Xen-devel] [linux-linus test] 105353: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105353 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/105353/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-xsm 15 guest-localmigratefail REGR. vs. 59254 test-armhf-armhf-li

[Xen-devel] [qemu-mainline test] 105380: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105380 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105380/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

Re: [Xen-devel] [PATCH] xen/common: Replace __FUNCTION__ with __func__

2017-02-03 Thread Konrad Rzeszutek Wilk
On Fri, Feb 03, 2017 at 08:52:29PM +, Andrew Cooper wrote: > __func__ is standard C99, whereas __FUNCTION__ is a GCCism. > > No functional change. > > Signed-off-by: Andrew Cooper Reviewed-by: Konrad Rzeszutek Wilk ___ Xen-devel mailing list Xen

Re: [Xen-devel] [PATCH] xen/common: Replace __FUNCTION__ with __func__

2017-02-03 Thread Stefano Stabellini
On Fri, 3 Feb 2017, Andrew Cooper wrote: > __func__ is standard C99, whereas __FUNCTION__ is a GCCism. > > No functional change. > > Signed-off-by: Andrew Cooper Acked-by: Stefano Stabellini > CC: George Dunlap > CC: Jan Beulich > CC: Konrad Rzeszutek Wilk > CC: Stefano Stabellini > CC:

[Xen-devel] [PATCH] xen/common: Replace __FUNCTION__ with __func__

2017-02-03 Thread Andrew Cooper
__func__ is standard C99, whereas __FUNCTION__ is a GCCism. No functional change. Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Tim Deegan CC: Wei Liu --- xen/common/grant_table.c | 4 ++-- xen/common/libel

Re: [Xen-devel] [PATCH 2/8] xen/arm: acpi: Rework acpi_boot_table_init error paths

2017-02-03 Thread Andrew Cooper
On 03/02/17 19:18, Julien Grall wrote: > @@ -260,16 +257,22 @@ int __init acpi_boot_table_init(void) > error = acpi_table_init(); > if ( error ) > { > -disable_acpi(); > -return error; > +printk("%s: Unable to initialize table parser (%d)\n", > +

[Xen-devel] [PATCH] xen/arm: Remove the makefile target xen.axf

2017-02-03 Thread Julien Grall
Since commit 4557c22 "xen: arm: rewrite start of day page table and cpu bring up", Xen requires to be launched in NS HYP/EL2. xen.axf is generated in order to directly boot Xen on ARM models (e.g Foundation). However they usually start in secure mode, which mean Xen cannot boot. The way forward t

[Xen-devel] [PATCH] xen/arm: Remove build option CONFIG_LOAD_ADDRESS

2017-02-03 Thread Julien Grall
The build option CONFIG_LOAD_ADDRESS is defined but never plumbed through. Signed-off-by: Julien Grall --- config/arm32.mk| 2 -- config/arm64.mk| 2 -- xen/arch/arm/Makefile | 2 +- xen/arch/arm/xen.lds.S | 4 ++-- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/

[Xen-devel] [PATCH 8/8] xen/arm: acpi: Move the ACPI banks in bootinfo

2017-02-03 Thread Julien Grall
Currently the acpi banks are stored in a separate variable and have an header just for them. This variable can be moved in the structure bootinfo removing an header and a global variable. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-boot.h | 3 +-- xen/arch/arm/efi/efi-dom0.c | 12

[Xen-devel] [PATCH 3/8] xen/arm: acpi: Don't fallback on DT when user request ACPI

2017-02-03 Thread Julien Grall
On ARM, when the user put 'acpi=force' Xen will use ACPI over DT. Currently, if Xen fails to initialize ACPI it will fallback on DT. This behavior makes difficult for a user to notice Xen didn't used ACPI has requested on platform where the firmware is providing both ACPI and DT. Rather than fall

Re: [Xen-devel] [libvirt] [PATCH] libxl: fix dom0 autoballooning with Xen 4.8

2017-02-03 Thread Martin Kletzander
On Thu, Feb 02, 2017 at 11:15:41AM -0700, Jim Fehlig wrote: On 02/02/2017 04:42 AM, Wei Liu wrote: I saw this mail but didn't realise it required my input, sorry. I suppose it didn't and I was shamelessly fishing for a review - so you have my apologies :-). But the patch does fix an annoying,

[Xen-devel] [PATCH 4/8] xen/arm: Print whether Xen is booting using ACPI or DT

2017-02-03 Thread Julien Grall
Make it easier to figure out whether Xen is booting using ACPI or DT by printing a message on the console. Signed-off-by: Julien Grall --- xen/arch/arm/setup.c | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 049e449..41aa1dd 100644 --- a

[Xen-devel] [PATCH 2/8] xen/arm: acpi: Rework acpi_boot_table_init error paths

2017-02-03 Thread Julien Grall
There are multiple path disable ACPI on error. Consolidate in a single place, this will help in a follow-up patch to add more code on the error path. Signed-off-by: Julien Grall --- xen/arch/arm/acpi/boot.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff -

[Xen-devel] [PATCH 5/8] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-02-03 Thread Julien Grall
The code to add a new bank is duplicated twice. Add a new helper that checks if the maximum of bank has not reached and adds the bank. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-boot.h | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --gi

[Xen-devel] [PATCH 6/7] xen/arm: efi: Rework acpi_create_efi_mmap_table to avoid memory_map[offset]

2017-02-03 Thread Julien Grall
The code contains a lot of memory_map[offset]. This could be simplified by incrementing the descriptor pointer every time. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-dom0.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/xen/arch/arm/efi/efi-dom0.c

[Xen-devel] [PATCH 1/8] xen/arm: acpi: Handle correctly detection of GICv2 on GICv3

2017-02-03 Thread Julien Grall
When the GICv3 is not GICv2 compatible, the associated field in the MADT will be zeroed. However, the rest of the code expects the variable to be set to INVALID_PADDR. This will result to false detection of GICv2 and give I/O access to page 0 for the hardware domain. Thankfully, it will fail beca

[Xen-devel] [PATCH 6/8] xen/arm: efi: Avoid duplicating the addition of a new efi memory descriptor

2017-02-03 Thread Julien Grall
The code to add a new memory descriptor is duplicated three times. Add a new helper that adds the descriptor. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-dom0.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/xen/arch/arm/ef

[Xen-devel] [PATCH 3/7] xen/arm: Print whether Xen is booting using ACPI or DT

2017-02-03 Thread Julien Grall
Make it easier to figure out whether Xen is booting using ACPI or DT by printing a message on the console. Signed-off-by: Julien Grall --- xen/arch/arm/setup.c | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 049e449..41aa1dd 100644 --- a

[Xen-devel] [PATCH 0/8] xen/arm: Fix and clean-up for ACPI and EFI

2017-02-03 Thread Julien Grall
Hi all, This patch series contains a bunch of fix and clean-up for ACPI and EFI on ARM64. Note that the patch "xen/arm64: Don't zero BSS when booting using EFI" [1] is required in order to test this series. Cheers, [1] https://lists.xenproject.org/archives/html/xen-devel/2017-02/msg00228.html

[Xen-devel] [PATCH 7/7] xen/arm: acpi: Move the ACPI banks in bootinfo

2017-02-03 Thread Julien Grall
Currently the acpi banks are stored in a separate variable and have an header just for them. This variable can be moved in the structure bootinfo removing an header and a global variable. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-boot.h | 3 +-- xen/arch/arm/efi/efi-dom0.c | 12

[Xen-devel] [PATCH 4/7] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-02-03 Thread Julien Grall
The code to add a new bank is duplicated twice. Add a new helper that checks if the maximum of bank has not reached and adds the bank. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-boot.h | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --gi

[Xen-devel] [PATCH 1/7] xen/arm: acpi: Rework acpi_boot_table_init error paths

2017-02-03 Thread Julien Grall
There are multiple path disable ACPI on error. Consolidate in a single place, this will help in a follow-up patch to add more code on the error path. Signed-off-by: Julien Grall --- xen/arch/arm/acpi/boot.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff -

[Xen-devel] [PATCH 2/7] xen/arm: acpi: Don't fallback on DT when user request ACPI

2017-02-03 Thread Julien Grall
On ARM, when the user put 'acpi=force' Xen will use ACPI over DT. Currently, if Xen fails to initialize ACPI it will fallback on DT. This behavior makes difficult for a user to notice Xen didn't used ACPI has requested on platform where the firmware is providing both ACPI and DT. Rather than fall

[Xen-devel] [PATCH 7/8] xen/arm: efi: Rework acpi_create_efi_mmap_table to avoid memory_map[offset]

2017-02-03 Thread Julien Grall
The code contains a lot of memory_map[offset]. This could be simplified by incrementing the descriptor pointer every time. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-dom0.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/xen/arch/arm/efi/efi-dom0.c

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Julien Grall
Hi Stefano, On 03/02/17 19:14, Stefano Stabellini wrote: On Fri, 3 Feb 2017, Julien Grall wrote: Hi Stefano, On 02/02/17 23:25, Stefano Stabellini wrote: On Thu, 2 Feb 2017, Julien Grall wrote: --- xen/arch/arm/arm64/head.S | 23 +++ 1 file changed, 19 insertions(+), 4 d

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Stefano Stabellini
On Fri, 3 Feb 2017, Julien Grall wrote: > Hi Stefano, > > On 02/02/17 23:25, Stefano Stabellini wrote: > > On Thu, 2 Feb 2017, Julien Grall wrote: > > > --- > > > xen/arch/arm/arm64/head.S | 23 +++ > > > 1 file changed, 19 insertions(+), 4 deletions(-) > > > > > > diff --git

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Julien Grall
Hi Stefano, On 02/02/17 23:25, Stefano Stabellini wrote: On Thu, 2 Feb 2017, Julien Grall wrote: --- xen/arch/arm/arm64/head.S | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index 3f63d2a..8cb46

Re: [Xen-devel] [PATCH v2 4/9] xen/pvh: Bootstrap PVH guest

2017-02-03 Thread Andrew Cooper
On 03/02/17 16:40, Juergen Gross wrote: > On 03/02/17 17:20, Boris Ostrovsky wrote: + + __HEAD + +/* Entry point for PVH guests. */ >>> Could you add some comments about register conetnts at entry? >> Reference to Xen's docs/misc/hvmlite.markdown would be sifficient? > I think

Re: [Xen-devel] [PATCH v2 RESEND] xen/manage: correct return value check on xenbus_scanf()

2017-02-03 Thread Boris Ostrovsky
On 02/03/2017 03:54 AM, Jan Beulich wrote: > A negative return value indicates an error; in fact the function at > present won't ever return zero. > > Signed-off-by: Jan Beulich > Reviewed-by: Juergen Gross Applied to for-linus-4.11. -boris ___ Xen

[Xen-devel] [linux-next test] 105344: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105344 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/105344/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 14 guest-saverestorefail REGR. vs. 105295 build-i386-pvops

Re: [Xen-devel] [PATCH v2 4/9] xen/pvh: Bootstrap PVH guest

2017-02-03 Thread Juergen Gross
On 03/02/17 17:20, Boris Ostrovsky wrote: > >>> + >>> + __HEAD >>> + >>> +/* Entry point for PVH guests. */ >> Could you add some comments about register conetnts at entry? > > Reference to Xen's docs/misc/hvmlite.markdown would be sifficient? I think the corresponding lines should be copied t

Re: [Xen-devel] [PATCH v2 4/9] xen/pvh: Bootstrap PVH guest

2017-02-03 Thread Boris Ostrovsky
>> + >> +__HEAD >> + >> +/* Entry point for PVH guests. */ > Could you add some comments about register conetnts at entry? Reference to Xen's docs/misc/hvmlite.markdown would be sifficient? >> +gdt: >> +.word gdt_end - gdt >> +.long _pa(gdt) > This is a rather strange construc

[Xen-devel] [qemu-mainline test] 105354: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105354 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105354/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

[Xen-devel] [xen-unstable test] 105331: tolerable FAIL - PUSHED

2017-02-03 Thread osstest service owner
flight 105331 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/105331/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-rtds 9 debian-install fail like 105224 test-amd64-i386-xl-qemut-wi

Re: [Xen-devel] [PATCH] Fix mispelling of length

2017-02-03 Thread Wei Liu
On Thu, Feb 02, 2017 at 08:42:44PM +, Julien Grall wrote: > There are quite a few usage of "lenght" instead of "length" in different > part of the repo. Correct it once for all. > > Signed-off-by: Julien Grall Applied. ___ Xen-devel mailing list X

Re: [Xen-devel] [PATCH 2/5] xen: credit2: never consider CPUs outside of our cpupool.

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 16:27, wrote: > On Fri, 2017-02-03 at 01:41 -0700, Jan Beulich wrote: >> > > > On 17.01.17 at 18:26, wrote: >> > --- >> > This is a bugfix, and should be backported to 4.8. >> >> While I did manage to backport "xen: credit2: use the correct scratch >> cpumask" and "xen: credit

Re: [Xen-devel] [PATCH 2/5] xen: credit2: never consider CPUs outside of our cpupool.

2017-02-03 Thread Dario Faggioli
On Fri, 2017-02-03 at 01:41 -0700, Jan Beulich wrote: > > > > On 17.01.17 at 18:26, wrote: > > --- > > This is a bugfix, and should be backported to 4.8. > > While I did manage to backport "xen: credit2: use the correct scratch > cpumask" and "xen: credit2: fix shutdown/suspend when playing with

Re: [Xen-devel] [PATCH] Fix mispelling of length

2017-02-03 Thread Dario Faggioli
On Thu, 2017-02-02 at 20:42 +, Julien Grall wrote: > There are quite a few usage of "lenght" instead of "length" in > different > part of the repo. > Most of which, in code I wrote! :-/ > Correct it once for all. > Thanks. :-) > Signed-off-by: Julien Grall > Acked-by: Dario Faggioli Dar

[Xen-devel] [qemu-mainline bisection] complete build-amd64

2017-02-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen git://xenbit

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 15:35, wrote: > On 03/02/17 14:31, Jan Beulich wrote: > On 03.02.17 at 15:24, wrote: >>> On 03/02/17 07:41, Jan Beulich wrote: >>> On 02.02.17 at 20:25, wrote: > @@ -261,6 +265,8 @@ GLOBAL(init_secondary) > sub x20, x19, x0 /* x20 := phys-o

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Julien Grall
On 03/02/17 14:31, Jan Beulich wrote: On 03.02.17 at 15:24, wrote: On 03/02/17 07:41, Jan Beulich wrote: On 02.02.17 at 20:25, wrote: @@ -261,6 +265,8 @@ GLOBAL(init_secondary) sub x20, x19, x0 /* x20 := phys-offset */ mov x22, #1/* x22 := i

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 15:24, wrote: > On 03/02/17 07:41, Jan Beulich wrote: > On 02.02.17 at 20:25, wrote: >>> @@ -261,6 +265,8 @@ GLOBAL(init_secondary) >>> sub x20, x19, x0 /* x20 := phys-offset */ >>> >>> mov x22, #1/* x22 := is_secondary_cpu */

Re: [Xen-devel] [PATCH] xen/arm64: Don't zero BSS when booting using EFI

2017-02-03 Thread Julien Grall
Hi Jan, On 03/02/17 07:41, Jan Beulich wrote: On 02.02.17 at 20:25, wrote: @@ -261,6 +265,8 @@ GLOBAL(init_secondary) sub x20, x19, x0 /* x20 := phys-offset */ mov x22, #1/* x22 := is_secondary_cpu */ +/* Skip zero BSS on secondary CPUs

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2017-02-03 Thread Christoffer Dall
On Fri, Feb 3, 2017 at 2:53 PM, Bhupinder Thakur wrote: > Hi, > >>> Hi, >>> >>> I have done the changes for emulating pl011 in Xen. Currently, I have >>> verified the emulation code by manually reading/writing data to >>> /dev/ttyAMA0 which is the device file for pl011 device. The data is >>> flow

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2017-02-03 Thread Julien Grall
On 03/02/17 13:53, Bhupinder Thakur wrote: Hi, Hi Bhupinder, Hi, I have done the changes for emulating pl011 in Xen. Currently, I have verified the emulation code by manually reading/writing data to /dev/ttyAMA0 which is the device file for pl011 device. The data is flowing fine between xe

Re: [Xen-devel] [PATCH v5 4/9] xen/x86: populate PVHv2 Dom0 physical memory map

2017-02-03 Thread Jan Beulich
>>> On 27.01.17 at 19:06, wrote: > On 27/01/17 16:40, Jan Beulich wrote: >> So what we'll need to do then, as I understand it from the >> discussion so far: >> >> - vmx_set_segment_register() will need to set a correct limit >> - vmx_set_segment_register() should initialize the TSS every >> time

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2017-02-03 Thread Bhupinder Thakur
Hi, >> Hi, >> >> I have done the changes for emulating pl011 in Xen. Currently, I have >> verified the emulation code by manually reading/writing data to >> /dev/ttyAMA0 which is the device file for pl011 device. The data is >> flowing fine between xenconsoled and the guest domain. >> >> As a next

Re: [Xen-devel] [PATCH v4 05/12] x86emul/test: use x86-vendors.h

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 12:53, wrote: > --- a/tools/fuzz/x86_instruction_emulator/Makefile > +++ b/tools/fuzz/x86_instruction_emulator/Makefile > @@ -11,16 +11,20 @@ endif > x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h: > [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate .

Re: [Xen-devel] [PATCH v4 02/12] fuzz/x86emul: use macro to reduce repetition in Makefile

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 12:53, wrote: > Signed-off-by: Wei Liu Reviewed-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v4 01/12] x86emul/test: add missing dependency for x86_emulate.o

2017-02-03 Thread Jan Beulich
>>> On 03.02.17 at 12:53, wrote: > f4497d6b74 added x86_emulate.h private header but didn't add dependency > for it. > > Use macro to reduce repetition. > > Signed-off-by: Wei Liu Reviewed-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@list

Re: [Xen-devel] memory hotplug for domUs

2017-02-03 Thread Juergen Gross
On 03/02/17 14:23, Ian Jackson wrote: > Juergen Gross writes ("Re: [Xen-devel] memory hotplug for domUs"): >> As user interface we are starting with "xl mem-set" which will use >> memory hotplug if necessary and supported by the guest (guest indicates >> support via a Xenstore entry). A "force" par

[Xen-devel] [ovmf baseline-only test] 68508: all pass

2017-02-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 68508 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68508/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf f1d91f33a19b91a204237d9226cfc3351ec5f591 baseline v

Re: [Xen-devel] memory hotplug for domUs

2017-02-03 Thread Ian Jackson
Juergen Gross writes ("Re: [Xen-devel] memory hotplug for domUs"): > As user interface we are starting with "xl mem-set" which will use > memory hotplug if necessary and supported by the guest (guest indicates > support via a Xenstore entry). A "force" parameter can be used with > "xl mem-set" in c

Re: [Xen-devel] memory hotplug for domUs

2017-02-03 Thread Juergen Gross
On 03/02/17 13:19, Ian Jackson wrote: > Juergen Gross writes ("Re: [Xen-devel] memory hotplug for domUs"): >> While the syntax for "xl mem-add" (or however we would call it) could >> be rather clear and simple: >> >> xl mem-add [--host-node ] [--guest-node ] >> >> I don't see how this would be th

Re: [Xen-devel] [PULL 0/5] xen-20170202

2017-02-03 Thread Peter Maydell
On 2 February 2017 at 18:35, Stefano Stabellini wrote: > The following changes since commit 3aca12f841fcd6f3a7477076dad0d564360500de: > > Merge remote-tracking branch > 'remotes/pmaydell/tags/pull-target-arm-20170127' into staging (2017-01-27 > 16:59:17 +) > > are available in the git repo

Re: [Xen-devel] memory hotplug for domUs

2017-02-03 Thread Ian Jackson
Juergen Gross writes ("Re: [Xen-devel] memory hotplug for domUs"): > While the syntax for "xl mem-add" (or however we would call it) could > be rather clear and simple: > > xl mem-add [--host-node ] [--guest-node ] > > I don't see how this would be the case for xl mem-set. Imagine a guest > bal

[Xen-devel] [PATCH v4 12/12] fuzz: update README.afl example

2017-02-03 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Jan Beulich --- tools/fuzz/README.afl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/fuzz/README.afl b/tools/fuzz/README.afl index 431b4a8cbf..68e0fa396f 100644 --- a/tools/fuzz/README.afl +++ b/tools/fuzz/README.afl @@ -20,9 +20,1

[Xen-devel] [PATCH v4 10/12] fuzz/x86emul: update fuzzer

2017-02-03 Thread Wei Liu
Provide the fuzzer with more ops, and more sophisticated input structure. Based on a patch originally written by Andrew and George. Signed-off-by: Andrew Cooper Signed-off-by: George Dunlap Signed-off-by: Wei Liu --- Cc: Ian Jackson Cc: Jan Beulich Cc: Andrew Cooper Cc: George Dunlap v2:

[Xen-devel] [PATCH v4 11/12] fuzz/x86emul: print out minimal input size

2017-02-03 Thread Wei Liu
... so that users can know how big the initial input should be. Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- .../fuzz/x86_instruction_emulator/afl-x86-insn-emulator-fuzzer.c | 8 tools/fuzz/x86_instruction_emulator/x86-insn-emulator-fuzzer.c| 5 + 2 files changed, 13 in

Re: [Xen-devel] [PATCH v4 01/12] x86emul/test: add missing dependency for x86_emulate.o

2017-02-03 Thread Wei Liu
Forgot to CC people on this one. On Fri, Feb 03, 2017 at 11:53:03AM +, Wei Liu wrote: > f4497d6b74 added x86_emulate.h private header but didn't add dependency > for it. > > Use macro to reduce repetition. > > Signed-off-by: Wei Liu > --- > tools/tests/x86_emulator/Makefile | 6 -- > 1

Re: [Xen-devel] [PATCH 0/2] xl: event machinery fixes

2017-02-03 Thread Wei Liu
On Thu, Feb 02, 2017 at 03:46:35PM +, Wei Liu wrote: > Wei Liu (2): > xl: free event in DOMAIN_RESTART_RENAME error path > xl: disable events earlier for shutdown event > > tools/libxl/xl_cmdimpl.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Pushed the most up to dat

[Xen-devel] [qemu-mainline test] 105345: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105345 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105345/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

[Xen-devel] [linux-linus test] 105321: regressions - trouble: blocked/broken/fail/pass

2017-02-03 Thread osstest service owner
flight 105321 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/105321/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-winxpsp3 3 host-install(3)broken REGR. vs. 59254 test-amd64-i386-qem

Re: [Xen-devel] [PATCH 1/2] xl: free event in DOMAIN_RESTART_RENAME error path

2017-02-03 Thread Ian Jackson
Wei Liu writes ("[PATCH 1/2] xl: free event in DOMAIN_RESTART_RENAME error path"): > Otherwise it is leaked. Found by code inspection. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [PATCH v4 05/12] x86emul/test: use x86-vendors.h

2017-02-03 Thread Wei Liu
No functional change. Signed-off-by: Wei Liu --- Cc: Jan Beulich Cc: Andrew Cooper V4: introduce x86.h macro V3: link asm-x86 to working directory --- tools/fuzz/x86_instruction_emulator/Makefile | 12 tools/tests/x86_emulator/Makefile| 12 tools/tests/x

[Xen-devel] [PATCH v4 07/12] x86emul: use msr definitions in msr-index.h

2017-02-03 Thread Wei Liu
Change the names used in code according to numeric values. Remove the now unused macros in x86_emualte.c and fix indentation. This in turns requires including msr-index.h and removing duplicates in userspace x86_emulate.c in userspace harness program. No functional change. Signed-off-by: Wei Liu

[Xen-devel] [PATCH v4 00/12] fuzz: update x86emul fuzzer

2017-02-03 Thread Wei Liu
The first few patches refactor x86emul code so that more code can be shared between xen and userspace tools. I have run XTF suite (tests subject to availability on the testbox I use, and xsa-195 was skipped because qemu segfault -- a known issue) against this series, no issue is found. Please see

[Xen-devel] [PATCH v4 06/12] x86emul: use eflags definitions in x86-defns.h

2017-02-03 Thread Wei Liu
Basically this patch does 's/EFLG_/X86_EFLAGS_/g' and with indentation fixed up. And remove the duplicates in x86_emualte.c. This in turn requires userspace test harness to include x86-defns.h. Also remove a few duplicates in userspace harness program. No functional change. Signed-off-by: Wei Li

[Xen-devel] [PATCH v4 01/12] x86emul/test: add missing dependency for x86_emulate.o

2017-02-03 Thread Wei Liu
f4497d6b74 added x86_emulate.h private header but didn't add dependency for it. Use macro to reduce repetition. Signed-off-by: Wei Liu --- tools/tests/x86_emulator/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests

[Xen-devel] [PATCH v4 04/12] x86: extract vendor numeric id to x86-vendors.h

2017-02-03 Thread Wei Liu
They will be shared between xen and userspace programs. This is not strictly necessary, but it helps reduce overall code size. No functional change. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- xen/include/asm-x86/processor.h | 11 +-- xen/include/asm-x86/x86-vendors.h | 13

[Xen-devel] [PATCH v4 09/12] x86emul: use CR definitions in x86-defns.h

2017-02-03 Thread Wei Liu
And remove the duplicates. No functional change. Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- xen/arch/x86/x86_emulate/x86_emulate.c | 45 -- 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/xen/arch/x86/x86_emulate/x86_emulate.c b/xen/arc

[Xen-devel] [PATCH v4 03/12] x86: extract macros to x86-defns.h

2017-02-03 Thread Wei Liu
... so that they can be used by userspace x86 instruction emulator test program and fuzzer as well. No functional change. Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- xen/include/asm-x86/processor.h | 65 ++- xen/include/asm-x86/x86-defns.h | 68 +

[Xen-devel] [PATCH v4 02/12] fuzz/x86emul: use macro to reduce repetition in Makefile

2017-02-03 Thread Wei Liu
Signed-off-by: Wei Liu --- Cc: Ian Jackson Cc: Jan Beulich Cc: Andrew Cooper --- tools/fuzz/x86_instruction_emulator/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/fuzz/x86_instruction_emulator/Makefile b/tools/fuzz/x86_instruction_emulator/Makefile i

[Xen-devel] [PATCH v4 08/12] x86: add UMIP CR4 bit

2017-02-03 Thread Wei Liu
It will be used later to remove duplicates in x86emul. Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- xen/include/asm-x86/x86-defns.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/asm-x86/x86-defns.h b/xen/include/asm-x86/x86-defns.h index 48ea5ea03b..70453e8dfb 100644 --

Re: [Xen-devel] [PATCH] Fix mispelling of length

2017-02-03 Thread Wei Liu
On Thu, Feb 02, 2017 at 08:42:44PM +, Julien Grall wrote: > There are quite a few usage of "lenght" instead of "length" in different > part of the repo. Correct it once for all. > > Signed-off-by: Julien Grall > Acked-by: Wei Liu ___ Xen-devel m

Re: [Xen-devel] [PATCH v3 09/11] fuzz/x86emul: update fuzzer

2017-02-03 Thread Wei Liu
On Fri, Feb 03, 2017 at 12:04:04AM -0700, Jan Beulich wrote: > >>> On 02.02.17 at 18:12, wrote: > > On Thu, Feb 02, 2017 at 10:01:46AM -0700, Jan Beulich wrote: > >> >>> On 02.02.17 at 17:50, wrote: > >> > On Thu, Feb 02, 2017 at 05:20:56AM -0700, Jan Beulich wrote: > >> >> >>> On 01.02.17 at 13:

[Xen-devel] [qemu-mainline bisection] complete build-i386-xsm

2017-02-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-i386-xsm testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen git://xen

[Xen-devel] [linux-linus bisection] complete test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm

2017-02-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm testid guest-localmigrate/x10 Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.

Re: [Xen-devel] [PATCH 2/2] xl: disable events earlier for shutdown event

2017-02-03 Thread Wei Liu
On Fri, Feb 03, 2017 at 10:46:14AM +0100, Fatih Acar wrote: > On 02/02/2017 17:22, Wei Liu wrote: > > > > The other solution is to have a dedicated counter for diskws instead of > > relying on num_disks. > > > > It's all good, both patches fix the issue, thank you. > Cool, I will add a Tested-

[Xen-devel] [ovmf test] 105332: all pass - PUSHED

2017-02-03 Thread osstest service owner
flight 105332 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/105332/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf f1d91f33a19b91a204237d9226cfc3351ec5f591 baseline version: ovmf 7fcb735412998d536cb34

Re: [Xen-devel] [PATCH v2 03/11] x86emul: support most memory accessing MMX/SSE/SSE2 insns

2017-02-03 Thread Jan Beulich
>>> On 01.02.17 at 12:14, wrote: > This aims at covering most MMX/SSEn/AVX instructions in the 0x0f-escape > space with memory operands. Which, as I've realized only now, means the title should also say SSE3 (also in patch 04, i.e. the series also completely covers that ISA extension, except for

Re: [Xen-devel] [PATCH v14 4/9] x86: add multiboot2 protocol support for EFI platforms

2017-02-03 Thread Jan Beulich
>>> On 02.02.17 at 23:43, wrote: > /* > - * Now trampoline_phys points to the following structure (lowest > - * address is at the top): > + * Now trampoline_phys points to the following structure (lowest > address > + * is at the bottom): > * >

Re: [Xen-devel] memory hotplug for domUs

2017-02-03 Thread Juergen Gross
On 25/01/17 14:02, Dario Faggioli wrote: > On Tue, 2017-01-24 at 16:03 -0700, Jim Fehlig wrote: >> On 01/20/2017 09:06 AM, Juergen Gross wrote: >>> On 20/01/17 16:54, Ian Jackson wrote: Juergen Gross writes ("memory hotplug for domUs"): > We first thought to enhance "xl mem-set", but after

[Xen-devel] [qemu-mainline test] 105335: regressions - FAIL

2017-02-03 Thread osstest service owner
flight 105335 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/105335/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 105279 build-amd64

Re: [Xen-devel] [PATCH 2/2] xl: disable events earlier for shutdown event

2017-02-03 Thread Fatih Acar
On 02/02/2017 17:22, Wei Liu wrote: > > The other solution is to have a dedicated counter for diskws instead of > relying on num_disks. > It's all good, both patches fix the issue, thank you. -- Fatih ACAR Gandi fatih.a...@gandi.net ___ Xen-devel ma

Re: [Xen-devel] several domU crashes after 4.1->4.8 live migration

2017-02-03 Thread Fatih Acar
On 02/02/2017 16:40, George Dunlap wrote: > > Sorry, I just want to clarify: Is it the case that before you tried to > upgrade, you often migrated VMs between your Xen 4.1 hosts without > problems? > > In other words, is it *4.8* that's the problem, or is it *migration* > that's the problem? > >

Re: [Xen-devel] [PATCH] xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()

2017-02-03 Thread Juergen Gross
On 30/01/17 18:45, Boris Ostrovsky wrote: > rx_refill_timer should be deleted as soon as we disconnect from the > backend since otherwise it is possible for the timer to go off before > we get to xennet_destroy_queues(). If this happens we may dereference > queue->rx.sring which is set to NULL in x

[Xen-devel] [distros-debian-jessie test] 68507: tolerable trouble: blocked/broken/pass

2017-02-03 Thread Platform Team regression test user
flight 68507 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68507/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-armhf-jessie-netboot-pygrub 1 build-check(1) blocked n/a build-arm64

[Xen-devel] [libvirt test] 105325: tolerable FAIL - PUSHED

2017-02-03 Thread osstest service owner
flight 105325 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/105325/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-libvirt-xsm 13 saverestore-support-checkfail like 105262 test-armhf-armhf-libvirt 13

  1   2   >