[Xen-devel] [PATCH 0129/1529] Fix typo

2016-05-21 Thread Andrea Gelmini
Signed-off-by: Andrea Gelmini --- arch/arm/xen/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index c5f9a9e..483da5e 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -150,7 +150,7 @@ bool xen_arch_need_swiotlb(struct device

[Xen-devel] [PATCH] xen/privcmd: use vma_pages().

2016-05-21 Thread Muhammad Falak R Wani
Replace explicit computation of vma page count by a call to vma_pages() Signed-off-by: Muhammad Falak R Wani --- drivers/xen/privcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index df2e6f7..702040f 100644 --- a/drivers/xen

[Xen-devel] [PATCH] xen/gntdev: use vma_pages().

2016-05-21 Thread Muhammad Falak R Wani
Replace explicit computation of vma page count by a call to vma_pages() Signed-off-by: Muhammad Falak R Wani --- drivers/xen/gntdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 6793957..bb95212 100644 --- a/drivers/xen/gn

[Xen-devel] [PATCH 0293/1529] Fix typo

2016-05-21 Thread Andrea Gelmini
Signed-off-by: Andrea Gelmini --- arch/x86/xen/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 478a2de..116c370 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -2834,7 +2834,7 @@ static int do_remap_gfn(struct vm_

[Xen-devel] [PATCH] xen/gntalloc: use vma_pages().

2016-05-21 Thread Muhammad Falak R Wani
Replace explicit computation of vma page count by a call to vma_pages() Signed-off-by: Muhammad Falak R Wani --- drivers/xen/gntalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/gntalloc.c b/drivers/xen/gntalloc.c index 4547a91..7a47c4c 100644 --- a/drivers/

[Xen-devel] [qemu-upstream-4.3-testing test] 94685: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94685 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94685/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG

[Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-xl-qemuu-ovmf-amd64

2016-05-21 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-qemuu-ovmf-amd64 testid guest-start/debianhvm.repeat Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git T

[Xen-devel] [PATCH v4 6/6] build: convert lock_profile to Kconfig

2016-05-21 Thread Doug Goldstein
Convert the 'lock_profile' option to Kconfig as CONFIG_LOCK_PROFILE. Signed-off-by: Doug Goldstein --- CC: Stefano Stabellini CC: Julien Grall CC: Jan Beulich CC: Andrew Cooper --- INSTALL| 1 - xen/Kconfig.debug | 7 +++ xen/Rules.mk | 5 +++

[Xen-devel] [PATCH v4 3/6] build: convert verbose to Kconfig

2016-05-21 Thread Doug Goldstein
Convert 'verbose', which was enabled by 'debug=y' to Kconfig as CONFIG_VERBOSE_DEBUG which is enabled by default when CONFIG_DEBUG is enabled. Signed-off-by: Doug Goldstein --- CC: Stefano Stabellini CC: Julien Grall CC: Jan Beulich CC: Andrew Cooper CC: Daniel De Graaf --- INSTALL

[Xen-devel] [PATCH v4 1/6] build: convert debug to Kconfig

2016-05-21 Thread Doug Goldstein
Enabling debug will disable NDEBUG which will result in more debug prints. There are a number of debugging options for Xen so place the debug option under a menu for different debugging options to have a way to group them all together. Signed-off-by: Doug Goldstein --- CC: Andrew Cooper CC: Geo

[Xen-devel] [PATCH v4 4/6] build: convert frame_pointer to Kconfig

2016-05-21 Thread Doug Goldstein
Converts the frame_pointer option to a Kconfig option. Signed-off-by: Doug Goldstein --- CC: Andrew Cooper CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Tim Deegan CC: Wei Liu --- INSTALL | 1 - xen/Kconfig.debug | 8

[Xen-devel] [PATCH v4 5/6] build: convert perfc{, _arrays} to Kconfig

2016-05-21 Thread Doug Goldstein
Convert the 'perfc' and 'perfc_arrays' options to Kconfig as CONFIG_PERF_COUNTERS and CONFIG_PERF_ARRAYS. Signed-off-by: Doug Goldstein --- CC: Andrew Cooper CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Tim Deegan CC: Wei Liu ---

[Xen-devel] [PATCH v4 0/6] Kconfig debug options

2016-05-21 Thread Doug Goldstein
This converts the debug options from xen/Rules.mk to Kconfig. Hopefully I haven't missed anything in the back and forth. change since v3: - wrap all options in 'if DEBUG || EXPERT' (except DEBUG) - wording update to DEBUG option and some commit messages - all old command line options now complain

[Xen-devel] [PATCH v4 2/6] build: convert crash_debug to Kconfig

2016-05-21 Thread Doug Goldstein
Convert the crash_debug option to Kconfig as CONFIG_CRASH_DEBUG. This was previously togglable on the command line so this adds a message for users enabling it from the command line to tell them to enable it from make menuconfig. Signed-off-by: Doug Goldstein --- CC: Andrew Cooper CC: George Dun

[Xen-devel] [xen-4.6-testing test] 94671: regressions - FAIL

2016-05-21 Thread osstest service owner
flight 94671 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94671/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 11 guest-start fail REGR. vs. 94548 test-amd64-i386-x

[Xen-devel] [qemu-upstream-4.3-testing test] 94676: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94676 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94676/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG

[Xen-devel] [PATCH v2] AMD IOMMU: Introduce support for IVHD block type 11h

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit Along with the IVHD block type 10h, newer AMD platforms also come with types 11h, which is a superset of the older one. Having multiple IVHD block types in the same platform allows backward compatibility of newer systems to work with existing drivers. The driver shoul

[Xen-devel] [xen-4.5-testing test] 94670: regressions - FAIL

2016-05-21 Thread osstest service owner
flight 94670 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94670/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-winxpsp3 15 guest-localmigrate/x10 fail REGR. vs. 94570 Regressions w

Re: [Xen-devel] [PATCH v3 0/3] Fix xen crash when starting HVM guest due to missing io handler

2016-05-21 Thread Suravee Suthikulpanit
+ RĂ¼diger This patch series should help fixing the issue you are seeing. Thanks, Suravee On 05/21/2016 06:42 PM, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit Hi All, Changes from V2: * Use assert instead of sanity check before count increment in the hvm_next_io_h

[Xen-devel] [PATCH v3 3/3] AMD IOMMU: Check io_handler before registering mmio handler

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit guest_iommu_init tries to register mmio handler before HVM domain is initialized. This cause registration to silently failing. This patch adds a sanitiy check and puts out error message. Signed-off-by: Suravee Suthikulapanit --- xen/drivers/passthrough/amd/iommu_gue

[Xen-devel] [PATCH v3 0/3] Fix xen crash when starting HVM guest due to missing io handler

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit Hi All, Changes from V2: * Use assert instead of sanity check before count increment in the hvm_next_io_handler(). * Post-pone iommu_domain_init() and add proper error handling code to destroy hvm in case of failure. * Split out sanity check in guest_iom

[Xen-devel] [PATCH v3 1/3] x86/hvm: Add check when register io handler

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit At the time of registering HVM I/O handler, the HVM domain might not have been initialized, which means the hvm_domain.io_handler would be NULL. In the hvm_next_io_handler(), this should be asserted. Signed-off-by: Suravee Suthikulpanit --- xen/arch/x86/hvm/intercep

[Xen-devel] [PATCH v3 2/3] svm: iommu: Only call guest_iommu_init() after initialized HVM domain

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit The guest_iommu_init() is currently called by the following code path: arch/x86/domain.c: arch_domain_create() ]- drivers/passthrough/iommu.c: iommu_domain_init() |- drivers/passthrough/amd/pci_amd_iommu.c: amd_iommu_domain_init(); |- drive

[Xen-devel] [PATCH v3 1/3] x86/hvm: Add check when register io handler

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit At the time of registering HVM I/O handler, the HVM domain might not have been initialized, which means the hvm_domain.io_handler would be NULL. In the hvm_next_io_handler(), this should be asserted. Signed-off-by: Suravee Suthikulpanit --- xen/arch/x86/hvm/intercep

[Xen-devel] [PATCH v3 2/3] svm: iommu: Only call guest_iommu_init() after initialized HVM domain

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit The guest_iommu_init() is currently called by the following code path: arch/x86/domain.c: arch_domain_create() ]- drivers/passthrough/iommu.c: iommu_domain_init() |- drivers/passthrough/amd/pci_amd_iommu.c: amd_iommu_domain_init(); |- drive

[Xen-devel] [PATCH v3 0/3] Fix xen crash when starting HVM guest due to missing io handler

2016-05-21 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit Hi All, Changes from V2: * Use assert instead of sanity check before count increment in the hvm_next_io_handler(). * Post-pone iommu_domain_init() and add proper error handling code to destroy hvm in case of failure. * Split out sanity check in guest_iom

[Xen-devel] [qemu-upstream-4.3-testing test] 94663: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94663 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94663/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG

[Xen-devel] [xen-unstable-smoke test] 94666: tolerable all pass - PUSHED

2016-05-21 Thread osstest service owner
flight 94666 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/94666/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

[Xen-devel] [xen-unstable test] 94639: regressions - FAIL

2016-05-21 Thread osstest service owner
flight 94639 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/94639/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 94580 Tests wh

[Xen-devel] [libvirt bisection] complete build-amd64-libvirt

2016-05-21 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xe

[Xen-devel] [qemu-upstream-4.3-testing test] 94650: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94650 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94650/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG

Re: [Xen-devel] [RFC 10/16] xen/arm: Introduce alternative runtime patching

2016-05-21 Thread Stefano Stabellini
On Thu, 5 May 2016, Julien Grall wrote: > Some of the processor erratum will require to modify code sequence. > As those modifications may impact the performance, they should only > be enabled on affected cores. Furthermore, Xen may also want to take > advantage of new hardware features coming up w

Re: [Xen-devel] [Embedded-pv-devel] [PATCH RFC 00/18] System adjustment to customer needs.

2016-05-21 Thread Meng Xu
On Sat, May 21, 2016 at 10:32 AM, Julien Grall wrote: > Hello Meng, Hi Julien, > > On 20/05/2016 16:21, Meng Xu wrote: >> >> On Thu, May 19, 2016 at 5:53 PM, Andrii Anisov >> wrote: > > If the board is not supported by Xen, can we say Xen will support the > board with the warkaround

Re: [Xen-devel] [RFC 15/16] xen/arm: traps: Don't inject a fault if the translation VA -> IPA fails

2016-05-21 Thread Stefano Stabellini
On Sat, 21 May 2016, Stefano Stabellini wrote: > On Thu, 5 May 2016, Julien Grall wrote: > > Based on ARM ARM (D4.5.3 in ARM DDI 0486A and B3.12.7 in ARM DDI 0406C.c), > > a Stage 1 translation error has priority over a Stage 2 translation error. > > > > Therefore gva_to_ipa can only fail if anoth

Re: [Xen-devel] [RFC 15/16] xen/arm: traps: Don't inject a fault if the translation VA -> IPA fails

2016-05-21 Thread Stefano Stabellini
On Thu, 5 May 2016, Julien Grall wrote: > Based on ARM ARM (D4.5.3 in ARM DDI 0486A and B3.12.7 in ARM DDI 0406C.c), > a Stage 1 translation error has priority over a Stage 2 translation error. > > Therefore gva_to_ipa can only fail if another vCPU is playing with the > page table. > > Rather tha

Re: [Xen-devel] [RFC 13/16] xen/arm: arm64: Add Cortex-A53 cache errata workaround

2016-05-21 Thread Stefano Stabellini
On Thu, 5 May 2016, Julien Grall wrote: > The ARM errata 819472, 827319 and 824069 define the same workaround for > these hardware issues in certain Cortex-A53 parts. > > The cache instructions "dc cvac" and "dc cvau" need to be upgraded to > "dc civac". > > Use the alternative framework to repla

Re: [Xen-devel] [Embedded-pv-devel] [PATCH RFC 00/18] System adjustment to customer needs.

2016-05-21 Thread Julien Grall
Hello Meng, On 20/05/2016 16:21, Meng Xu wrote: On Thu, May 19, 2016 at 5:53 PM, Andrii Anisov wrote: If the board is not supported by Xen, can we say Xen will support the board with the warkaround? I would not say boards are supported by XEN (except earlyprintk). Rather architectures are su

Re: [Xen-devel] [PATCH 0129/1529] Fix typo

2016-05-21 Thread Stefano Stabellini
On Sat, 21 May 2016, Stefano Stabellini wrote: > On Sat, 21 May 2016, Andrea Gelmini wrote: > > Signed-off-by: Andrea Gelmini > > --- > > arch/arm/xen/mm.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c > > index c5f9a9e..483d

Re: [Xen-devel] [PATCH 1/2] xen/arm: add support for vm_assist hypercall

2016-05-21 Thread Stefano Stabellini
On Sat, 21 May 2016, Julien Grall wrote: > Hi Stefano, > > On 21/05/2016 14:27, Stefano Stabellini wrote: > > > diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h > > > index 2d11b62..563f49b 100644 > > > --- a/xen/include/asm-arm/config.h > > > +++ b/xen/include/asm-arm/conf

Re: [Xen-devel] [PATCH 2/2] xen: add update indicator to vcpu_runstate_info

2016-05-21 Thread Stefano Stabellini
On Fri, 20 May 2016, Jan Beulich wrote: > >>> On 20.05.16 at 17:54, wrote: > > On 20/05/16 17:36, Jan Beulich wrote: > > On 20.05.16 at 17:04, wrote: > >>> On 20/05/16 16:49, Jan Beulich wrote: > >>> On 20.05.16 at 15:22, wrote: > > if ( guest_handle_is_null(runstate_guest(v)) )

Re: [Xen-devel] [PATCH 1/2] xen/arm: add support for vm_assist hypercall

2016-05-21 Thread Julien Grall
Hi Stefano, On 21/05/2016 14:27, Stefano Stabellini wrote: diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index 2d11b62..563f49b 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -199,6 +199,8 @@ extern unsigned long frametable_virt_end; #

Re: [Xen-devel] [PATCH 1/2] xen/arm: add support for vm_assist hypercall

2016-05-21 Thread Stefano Stabellini
On Fri, 20 May 2016, Juergen Gross wrote: > Up to now the vm_assist hypercall hasn't been supported on ARM, as > there are only x86 specific features to switch. Add support of > vm_assist on ARM for future use. > > Signed-off-by: Juergen Gross > --- > xen/arch/arm/traps.c | 1 + > xen/co

Re: [Xen-devel] [PATCH 0129/1529] Fix typo

2016-05-21 Thread Stefano Stabellini
On Sat, 21 May 2016, Andrea Gelmini wrote: > Signed-off-by: Andrea Gelmini > --- > arch/arm/xen/mm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c > index c5f9a9e..483da5e 100644 > --- a/arch/arm/xen/mm.c > +++ b/arch/arm/xen/mm.c

[Xen-devel] [qemu-upstream-4.3-testing test] 94635: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94635 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94635/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG

[Xen-devel] [libvirt bisection] complete build-i386-libvirt

2016-05-21 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-i386-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen

[Xen-devel] [qemu-mainline test] 94625: tolerable FAIL - PUSHED

2016-05-21 Thread osstest service owner
flight 94625 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/94625/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 16 guest-start.2 fail in 94618 pass in 94625 test-amd64-amd64-xl-qemuu-debianh

[Xen-devel] [xen-unstable test] 94616: regressions - FAIL

2016-05-21 Thread osstest service owner
flight 94616 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/94616/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 94580 Tests wh

[Xen-devel] [qemu-upstream-4.3-testing test] 94624: trouble: blocked/broken

2016-05-21 Thread osstest service owner
flight 94624 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94624/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REG