[Xen-devel] [linux-4.1 baseline-only test] 67955: regressions - FAIL

2016-10-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67955 linux-4.1 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67955/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-midway 15 guest-start/debian

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

2016-10-29 Thread osstest service owner
flight 101757 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/101757/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 15 guest-start/debian.repeat fail REGR. vs. 101703 Regressions which

[Xen-devel] [PATCH v3.1 10/15] xen/x86: split Dom0 build into PV and PVHv2

2016-10-29 Thread Roger Pau Monne
Split the Dom0 builder into two different functions, one for PV (and classic PVH), and another one for PVHv2. Introduce a new command line parameter called 'dom0' that can be used to request the creation of a PVHv2 Dom0 by setting the 'hvm' sub-option. Signed-off-by: Roger Pau Monné --- Cc: Jan B

[Xen-devel] [PATCH v3.1 07/15] xen/x86: do the PCI scan unconditionally

2016-10-29 Thread Roger Pau Monne
Instead of being tied to the presence of an IOMMU. This avoids doing the scan in two different places, and although it's only required for PVHv2 guests (that also require and IOMMU), it makes the code slightly easier to follow. Signed-off-by: Roger Pau Monné Suggested-by: Andrew Cooper --- Cc: J

[Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-10-29 Thread Roger Pau Monne
PVHv2 guests, unlike HVM guests, won't have the option to route interrupts from physical or emulated devices over event channels using PIRQs. This applies to both DomU and Dom0 PVHv2 guests. Introduce a new XEN_X86_EMU_USE_PIRQ to notify Xen whether a HVM guest can route physical interrupts (even

[Xen-devel] [PATCH v3.1 09/15] xen/x86: allow the emulated APICs to be enabled for the hardware domain

2016-10-29 Thread Roger Pau Monne
Allow the use of both the emulated local APIC and IO APIC for the hardware domain. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v2: - Allow all PV guests to use the emulated PIT. Changes since RFC: - Move the emulation flags check to a separate helpe

[Xen-devel] [PATCH v3.1 08/15] x86/vtd: fix mapping of RMRR regions

2016-10-29 Thread Roger Pau Monne
Currently RMRR regions are only mapped to the hardware domain or to non-translated domains that use an IOMMU. In order to fix this, make sure set_identity_p2m_entry sets the appropriate IOMMU mappings, and that clear_identity_p2m_entry also removes them. Signed-off-by: Roger Pau Monné --- Cc: Geo

[Xen-devel] [PATCH v3.1 12/15] xen/x86: populate PVHv2 Dom0 physical memory map

2016-10-29 Thread Roger Pau Monne
Craft the Dom0 e820 memory map and populate it. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v2: - Introduce get_order_from_bytes_floor as a local function to domain_build.c. - Remove extra asserts. - Make hvm_populate_memory_range return an error

[Xen-devel] [PATCH v3.1 11/15] xen/mm: introduce a function to map large chunks of MMIO

2016-10-29 Thread Roger Pau Monne
Current {un}map_mmio_regions implementation has a maximum number of loops to perform before giving up and returning to the caller. This is an issue when mapping large MMIO regions when building the hardware domain. In order to solve it, introduce a wrapper around {un}map_mmio_regions that takes car

[Xen-devel] [PATCH v3.1 04/15] xen/x86: assert that local_events_need_delivery is not called by the idle domain

2016-10-29 Thread Roger Pau Monne
It doesn't make sense since the idle domain doesn't receive any events. This is relevant in order to be sure that hypercall_preempt_check is not called by the idle domain, which would happen previously when calling {hap/sh}_set_allocation during domain 0 creation. Signed-off-by: Roger Pau Monné -

[Xen-devel] [PATCH v3.1 06/15] xen/x86: split the setup of Dom0 permissions to a function

2016-10-29 Thread Roger Pau Monne
So that it can also be used by the PVH-specific domain builder. This is just code motion, it should not introduce any functional change. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v2: - Fix comment style. - Convert i to unsigned int. - Restore prev

[Xen-devel] [PATCH v3.1 05/15] x86/paging: introduce paging_set_allocation

2016-10-29 Thread Roger Pau Monne
... and remove hap_set_alloc_for_pvh_dom0. While there also change the last parameter of the {hap/sh}_set_allocation functions to be a boolean. Signed-off-by: Roger Pau Monné Acked-by: Tim Deegan Acked-by: George Dunlap --- Cc: Jan Beulich Cc: Andrew Cooper Cc: George Dunlap Cc: Tim Deegan

[Xen-devel] [PATCH v3.1 02/15] xen/x86: fix return value of *_set_allocation functions

2016-10-29 Thread Roger Pau Monne
Return should be an int. Signed-off-by: Roger Pau Monné Acked-by: George Dunlap --- Cc: George Dunlap Cc: Jan Beulich Cc: Andrew Cooper Cc: Tim Deegan --- Changes since v2: - Also fix the callers to treat the return value as an int. - Don't convert the pages parameter to unsigned long. ---

[Xen-devel] [PATCH v3.1 03/15] xen/x86: allow calling {sh/hap}_set_allocation with the idle domain

2016-10-29 Thread Roger Pau Monne
... and using the "preempted" parameter. The solution relies on just calling softirq_pending if the current domain is the idle domain. If such preemption happens, the caller should then call process_pending_softirqs in order to drain the pending softirqs, and then call {sh/hap}_set_allocation again

[Xen-devel] [PATCH v3.1 13/15] xen/x86: parse Dom0 kernel for PVHv2

2016-10-29 Thread Roger Pau Monne
Introduce a helper to parse the Dom0 kernel. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v2: - Remove debug messages. - Don't hardcode the number of modules to 1. --- xen/arch/x86/domain_build.c | 138 1

[Xen-devel] [PATCH v3.1 00/15] Initial PVHv2 Dom0 support

2016-10-29 Thread Roger Pau Monne
(resending as v3.1, it seems like I need to figure out how to properly use msmtp with git send-email because on the last try only the cover letter was actually sent). Hello, This is the first batch of the PVH Dom0 support eries, that includes everything up to the point where ACPI tables for he

[Xen-devel] [PATCH v3.1 14/15] xen/x86: hack to setup PVHv2 Dom0 CPUs

2016-10-29 Thread Roger Pau Monne
Initialize Dom0 BSP/APs and setup the memory and IO permissions. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- DO NOT APPLY. The logic used to setup the CPUID leaves is clearly lacking. This patch will be rebased on top of Andrew's CPUID work, that will move CPUID se

[Xen-devel] [PATCH v3.1 15/15] xen/x86: setup PVHv2 Dom0 ACPI tables

2016-10-29 Thread Roger Pau Monne
Create a new MADT table that contains the topology exposed to the guest. A new XSDT table is also created, in order to filter the tables that we want to expose to the guest, plus the Xen crafted MADT. This in turn requires Xen to also create a new RSDP in order to make it point to the custom XSDT.

[Xen-devel] [linux-3.10 test] 101761: regressions - FAIL

2016-10-29 Thread osstest service owner
flight 101761 linux-3.10 real [real] http://logs.test-lab.xenproject.org/osstest/logs/101761/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-xsm6 xen-boot fail REGR. vs. 100648 test-amd64-amd64-amd

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

2016-10-29 Thread osstest service owner
flight 101774 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/101774/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 5211ece936eedb0a29ea170b449e0af8edff8db2 baseline version: ovmf 6c12fe63f989b1a3aff9f

[Xen-devel] [libvirt test] 101773: tolerable all pass - PUSHED

2016-10-29 Thread osstest service owner
flight 101773 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/101773/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-libvirt-raw 12 saverestore-support-checkfail like 101738 test-armhf-armhf-libvirt-xsm 13

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

2016-10-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67959 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67959/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 6c12fe63f989b1a3aff9f44c22b2833fa78cfcab baseline v

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

2016-10-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67961 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67961/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 5211ece936eedb0a29ea170b449e0af8edff8db2 baseline v

[Xen-devel] [linux-3.4 test] 101770: regressions - FAIL

2016-10-29 Thread osstest service owner
flight 101770 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/101770/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 6 xen-boot fail REGR. vs. 92983 test-amd64-i386-qemut

Re: [Xen-devel] [PATCH v6 02/11] locking/osq: Drop the overload of osq_lock()

2016-10-29 Thread Davidlohr Bueso
On Fri, 28 Oct 2016, Pan Xinhui wrote: /* * If we need to reschedule bail... so we can block. +* Use vcpu_is_preempted to detech lock holder preemption issue ^^ detect + * and break. Could you please

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-29 Thread Wei Liu
On Fri, Oct 28, 2016 at 01:50:36PM +0100, Wei Liu wrote: > On Fri, Oct 28, 2016 at 06:29:49AM -0600, Jan Beulich wrote: > > >>> On 28.10.16 at 14:10, wrote: > > > There have been a few reports on stubdom build failure with gcc 6 > > > toolchain. I spent some time yesterday to figure what went wron

[Xen-devel] [PATCH for-4.8] stubdom: make GMP aware that it's being cross-compiled

2016-10-29 Thread Wei Liu
Append --build and --host flags to GMP's configure script so that it knows it is being compiled for another architecture. This should fix the issue that GMP doesn't compile with gcc 6, because configure script won't try to test the host environment anymore. Signed-off-by: Wei Liu --- Cc: Ian Jac

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-29 Thread Wei Liu
On Fri, Oct 28, 2016 at 10:16:12PM -0700, Pry Mar wrote: > Wei, > > [PATCH] glibc 223 fix gmp-crosslib config error > http://paste.fedoraproject.org/462654/14777176/ > > I've used this patch since last spring. This is a configure bug which stops > the Stubdom build. The bug first appeared in Ubun

[Xen-devel] [distros-debian-stretch test] 67960: tolerable FAIL

2016-10-29 Thread Platform Team regression test user
flight 67960 distros-debian-stretch real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67960/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-armhf-stretch-netboot-pygrub 9 debian-di-install fail like 67923 test-amd64-

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

2016-10-29 Thread osstest service owner
flight 101780 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/101780/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 9 debian-hvm-install fail REGR. vs. 101673

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

2016-10-29 Thread osstest service owner
flight 101782 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/101782/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 15 guest-start/debian.repeat fail REGR. vs. 101676 Regressions which

Re: [Xen-devel] [PATCH v3.1 02/15] xen/x86: fix return value of *_set_allocation functions

2016-10-29 Thread Tim Deegan
At 10:59 +0200 on 29 Oct (1477738788), Roger Pau Monne wrote: > Return should be an int. > > Signed-off-by: Roger Pau Monné Acked-by: Tim Deegan ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [linux-3.10 test] 101783: regressions - FAIL

2016-10-29 Thread osstest service owner
flight 101783 linux-3.10 real [real] http://logs.test-lab.xenproject.org/osstest/logs/101783/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-xsm6 xen-boot fail REGR. vs. 100648 test-amd64-amd64-amd

[Xen-devel] [xen-unstable bisection] complete test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm

2016-10-29 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm testid debian-hvm-install 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