Re: [Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Thomas Gleixner
On Mon, 3 Jul 2017, Dou Liyang wrote: > At 07/03/2017 03:18 AM, Thomas Gleixner wrote: > > On Fri, 30 Jun 2017, Dou Liyang wrote: > > > > > xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus > > > which initializes interrupt itself. > > > > > > Touching the intr_mode_init causes u

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

2017-07-02 Thread osstest service owner
flight 111308 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/111308/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-xsm 5 host-ping-check-native fail in 111249 pass in 111308 test-arm64-arm64-xl 10

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:41 PM, Thomas Gleixner wrote: On Mon, 3 Jul 2017, Dou Liyang wrote: At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch (a

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Thomas Gleixner
On Mon, 3 Jul 2017, Dou Liyang wrote: > At 07/03/2017 01:47 AM, Thomas Gleixner wrote: > > On Fri, 30 Jun 2017, Dou Liyang wrote: > > > +/* Init the interrupt delivery mode for the BSP */ > > > +void __init apic_intr_mode_init(void) > > > +{ > > > + switch (apic_intr_mode_select()) { > > > + case A

Re: [Xen-devel] [PATCH v12 15/23] x86: refactor psr: CDP: implement set value callback function.

2017-07-02 Thread Yi Sun
On 17-06-30 06:02:32, Jan Beulich wrote: > >>> Yi Sun 06/30/17 1:30 PM >>> > >The input 'type' is CODE. The props->type[0] is DATA and props->type[1] is > >CODE. > >In the first iteration, the props->type[0] is DATA so that it does not match > >'type' and the second check is false too. If we use

[Xen-devel] [PATCH] xl console: Add interactive option

2017-07-02 Thread Felix Schmoll
Added an interactive option to the 'xl console'-command that forwards the input stream of the console to the underlying pty. Made corresponding changes to libxl, xl and xenconsole. Signed-off-by: Felix Schmoll --- tools/console/client/main.c | 4 tools/libxl/libxl.h | 5 +++-- to

[Xen-devel] [xtf test] 111348: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111348 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111348/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-5 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-3

Re: [Xen-devel] [PATCH v4] VT-d: fix VF of RC integrated PF matched to wrong VT-d unit

2017-07-02 Thread Chao Gao
On Fri, Jun 30, 2017 at 05:19:52PM +0800, Tian, Kevin wrote: >> From: Gao, Chao >> Sent: Friday, June 30, 2017 9:17 AM >> >> The problem is for a VF of RC integrated PF (e.g. PF's BDF is 00:02.0), >> we would wrongly use 00:00.0 to search VT-d unit. >> >> From SRIOV spec REV 1.0 section 3.7.3, it

Re: [Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:18 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus which initializes interrupt itself. Touching the intr_mode_init causes unexpected results on the system. Bypass it in enlighten_

[Xen-devel] [PATCH v5 00/11] Add LMCE support

2017-07-02 Thread Haozhong Zhang
Changes in v5: * Patch 1: add missing historical commit id in commit message * Patch 2: invert parameter "nowait" to "wait" * Patch 2: let caller pass in mce_broadcast * Patch 3: adapt for changes of patch 2 * Patch 3: add comment in mctelem_defer() * Patch 8: take Wei's A-b Haozhong Zhang (

[Xen-devel] [PATCH v5 11/11] tools/xen-mceinj: add support of injecting LMCE

2017-07-02 Thread Haozhong Zhang
If option '-l' or '--lmce' is specified and the host supports LMCE, xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c' is not present). Signed-off-by: Haozhong Zhang Acked-by: Wei Liu --- Cc: Ian Jackson Cc: Wei Liu --- tools/tests/mce-test/tools/xen-mceinj.c | 50 +

[Xen-devel] [PATCH v5 07/11] x86/vmce: enable injecting LMCE to guest on Intel host

2017-07-02 Thread Haozhong Zhang
Inject LMCE to guest if the host MCE is LMCE and the affected vcpu is known. Otherwise, broadcast MCE to all vcpus on Intel host. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/cpu/mcheck/mcaction.c | 23 --- x

[Xen-devel] [PATCH v5 04/11] x86/mce_intel: detect and enable LMCE on Intel host

2017-07-02 Thread Haozhong Zhang
Enable LMCE if it's supported by the host CPU. If Xen boot parameter "mce_fb = 1" is present, LMCE will be disabled forcibly. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/cpu/mcheck/mce_intel.c | 46 +

[Xen-devel] [PATCH v5 05/11] x86/vmx: expose LMCE feature via guest MSR_IA32_FEATURE_CONTROL

2017-07-02 Thread Haozhong Zhang
If MCG_LMCE_P is present in guest MSR_IA32_MCG_CAP, then set LMCE and LOCK bits in guest MSR_IA32_FEATURE_CONTROL. Intel SDM requires those bits are set before SW can enable LMCE. Signed-off-by: Haozhong Zhang Reviewed-by: Kevin Tian Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Coop

[Xen-devel] [PATCH v5 10/11] tools/libxc: add support of injecting MC# to specified CPUs

2017-07-02 Thread Haozhong Zhang
Though XEN_MC_inject_v2 allows injecting MC# to specified CPUs, the current xc_mca_op() does not use this feature and not provide an interface to callers. This commit add a new xc_mca_op_inject_v2() that receives a cpumap providing the set of target CPUs. Signed-off-by: Haozhong Zhang Acked-by: W

[Xen-devel] [PATCH v5 08/11] x86/vmce, tools/libxl: expose LMCE capability in guest MSR_IA32_MCG_CAP

2017-07-02 Thread Haozhong Zhang
If LMCE is supported by host and ' mca_caps = [ "lmce" ] ' is present in xl config, the LMCE capability will be exposed in guest MSR_IA32_MCG_CAP. By default, LMCE is not exposed to guest so as to keep the backwards migration compatibility. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich

[Xen-devel] [PATCH v5 02/11] xen/mce: allow mce_barrier_{enter, exit} to return without waiting

2017-07-02 Thread Haozhong Zhang
Add a 'wait' argument to mce_barrier_{enter,exit}() to specify whether the barrier functions should return immediately without waiting mce_barrier_{enter,exit}() on other CPUs. This is useful when handling LMCE, where mce_barrier_{enter,exit} are called only on one CPU. Signed-off-by: Haozhong Zha

[Xen-devel] [PATCH v5 09/11] xen/mce: add support of vLMCE injection to XEN_MC_inject_v2

2017-07-02 Thread Haozhong Zhang
Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/cpu/mcheck/mce.c | 24 +++- xen/include/public/arch-x86/xen-mca.h | 1 + 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/cpu/mc

[Xen-devel] [PATCH v5 01/11] xen/mce: fix comment of struct mc_telem_cpu_ctl

2017-07-02 Thread Haozhong Zhang
Since c/s cbc585158f ("x86/mce: eliminate unnecessary NR_CPUS-sized arrays"), struct mc_telem_cpu_ctl was introduced and has been used as the type of per-cpu variables rather than global variables. However, some comments within it have not been updated accordingly. Signed-off-by: Haozhong Zhang A

[Xen-devel] [PATCH v5 06/11] x86/vmce: emulate MSR_IA32_MCG_EXT_CTL

2017-07-02 Thread Haozhong Zhang
If MCG_LMCE_P is present in guest MSR_IA32_MCG_CAP, then allow guest to read/write MSR_IA32_MCG_EXT_CTL. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/cpu/mcheck/vmce.c | 34 +- xen/include

[Xen-devel] [PATCH v5 03/11] x86/mce: handle host LMCE

2017-07-02 Thread Haozhong Zhang
A round of mce_softirq() may handle multiple deferred MCE's. 1/ If all of them are LMCE's, then mce_softirq() is called on one CPU and should not wait for others. 2/ If at least one of them is non-local MCE, then mce_softirq() should sync with other CPUs. mce_softirq() should check those

[Xen-devel] [xtf test] 111345: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111345 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111345/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-5 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-3

Re: [Xen-devel] [PATCH v5 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:16 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. That changelog describes WHAT the patch does, but not WHY. That

Re: [Xen-devel] [PATCH v5 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:15 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static void __init delay_with_tsc(void) +{ + unsigned long long start, now; + unsigned long ticks = jiffies; Please make that unsigned long end = jiffies + 4; ticks really me

Re: [Xen-devel] [PATCH v5 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:19 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: static inline int apic_force_enable(unsigned long addr) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 0601054..9bf7e95 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/

Re: [Xen-devel] [PATCH v5 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:07 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: -static int __init apic_intr_mode_select(void) +static int __init apic_intr_mode_select(int *upmode) { /* Check kernel option */ if (disable_apic) { @@ -1206,12 +1208,30 @@ static i

[Xen-devel] [PATCH v2 1/2] tools/libxl/libxl_pci.c: Extract sysfs_dev_get_class from libxl__grant_vga_iomem_permission

2017-07-02 Thread Xiong Zhang
No functional change. Just extract this function for next patch and avoid code repetition. Signed-off-by: Xiong Zhang --- Changes in v2: -Add No functional change in commit message -Use 'goto out' style error handling --- tools/libxl/libxl_pci.c | 47 +

[Xen-devel] [PATCH v2 2/2] tools/libxl/libxl_pci.c: Judge igd through class code instead of device ID

2017-07-02 Thread Xiong Zhang
IGD passthrough couldn't work on Skylake and Kabylake, because their Device ID aren't in fixup_ids[]. Currently we need to add every intel graphic ID into fixup_ids[], it is hard to maintain. This patch judge intel graphics through vendor id (0x8086) and class code(0x03), this could support bo

[Xen-devel] [linux-3.18 test] 111311: regressions - FAIL

2017-07-02 Thread osstest service owner
flight 111311 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/111311/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 18 guest-start/win.repeat fail in 111255 REGR. vs. 110441 Tes

[Xen-devel] [xtf test] 111341: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111341 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111341/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-5 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-3

Re: [Xen-devel] [PATCH v5 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-02 Thread Dou Liyang
Hi, Thomas At 07/03/2017 01:54 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: /* diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 93f0cda..d6721f0 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1347,8 +1347,11 @@ void __ini

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch (apic_intr_mode_select()) { + case APIC_PIC: + apic_printk(APIC_VERBO

Re: [Xen-devel] [PATCH v5 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:37 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static int __init apic_intr_mode_select(void) +{ + /* Check kernel option */ + if (disable_apic) { + pr_info("APIC disabled via kernel command line\n"); + re

[Xen-devel] [seabios baseline-only test] 71624: regressions - FAIL

2017-07-02 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71624 seabios real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71624/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-winxpsp3 17 guest-start/win

[Xen-devel] [xtf test] 111339: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111339 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111339/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-5 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-3

[Xen-devel] [PATCH v2 1/2] tools/libxc: add interface for GNTTABOP_query_size

2017-07-02 Thread Dongli Zhang
This patch adds new interface for GNTTABOP_query_size in libxc to help query the current grant table frames and maximum grant table frames for a specific domain. Signed-off-by: Dongli Zhang --- Changed since v1: * Change %d to %u in ERROR() --- tools/libxc/include/xenctrl.h | 1 + tools/libx

[Xen-devel] [PATCH v2 2/2] tools: utility to dump guest grant table info

2017-07-02 Thread Dongli Zhang
As both xen-netfront and xen-blkfront support multi-queue, they would consume a lot of grant table references when there are many paravirtual devices and vcpus assigned to guest. Guest domU might panic or hang due to grant allocation failure when nr_grant_frames in guest has reached its max value.

[Xen-devel] [xtf test] 111334: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111334 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111334/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-5 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-3

[Xen-devel] [linux-4.9 test] 111294: regressions - FAIL

2017-07-02 Thread osstest service owner
flight 111294 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/111294/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 6 xen-build fail in 111228 REGR. vs. 111054 Tests which are faili

[Xen-devel] [seabios test] 111330: tolerable FAIL - PUSHED

2017-07-02 Thread osstest service owner
flight 111330 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/111330/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-localmigrate/x10 fail like 110421 test-amd64-i386-xl-qemuu-win7-amd64 17 g

Re: [Xen-devel] [PATCH v2 4/4] vsmc: psci: remove 64 bit mode check

2017-07-02 Thread Julien Grall
Hi, On 06/30/2017 10:19 PM, Stefano Stabellini wrote: On Thu, 22 Jun 2017, Volodymyr Babchuk wrote: PSCI handling code had helper routine that checked calling convention. It does not needed anymore, because: - Generic handler checks that 64 bit calls can be made only by 64 bit guests.

Re: [Xen-devel] [PATCH v2 4/4] vsmc: psci: remove 64 bit mode check

2017-07-02 Thread Julien Grall
On 07/02/2017 08:34 PM, Julien Grall wrote: Hi Volodymyr On 06/22/2017 05:25 PM, Volodymyr Babchuk wrote: PSCI handling code had helper routine that checked calling convention. It does not needed anymore, because: - Generic handler checks that 64 bit calls can be made only by 64 bit gu

Re: [Xen-devel] [PATCH v2 4/4] vsmc: psci: remove 64 bit mode check

2017-07-02 Thread Julien Grall
Hi Volodymyr On 06/22/2017 05:25 PM, Volodymyr Babchuk wrote: PSCI handling code had helper routine that checked calling convention. It does not needed anymore, because: - Generic handler checks that 64 bit calls can be made only by 64 bit guests. - SMCCC requires that 64-bit handler s

Re: [Xen-devel] [PATCH v2 3/4] arm: traps: handle PSCI calls inside `vsmc.c`

2017-07-02 Thread Julien Grall
Hi, On 06/30/2017 10:13 PM, Stefano Stabellini wrote: On Thu, 22 Jun 2017, Volodymyr Babchuk wrote: +} +return false; +} + +/* helper function for checking arm mode 32/64 bit */ +static inline int psci_mode_check(struct domain *d, register_t fid) +{ +return !( is_64bit_domain(d)

Re: [Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus > which initializes interrupt itself. > > Touching the intr_mode_init causes unexpected results on the system. > > Bypass it in enlighten_pv system. So that's the wrong patch order then.

Re: [Xen-devel] [PATCH v5 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > Add an unconditional x86_init_ops function which defaults to the > standard function and can be overridden by the early platform code. That changelog describes WHAT the patch does, but not WHY. That's useless as we can see WHAT the patch does from the patch

Re: [Xen-devel] [PATCH v5 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > +static void __init delay_with_tsc(void) > +{ > + unsigned long long start, now; > + unsigned long ticks = jiffies; Please make that unsigned long end = jiffies + 4; ticks really means: number of ticks. But that variable is doing something

[Xen-devel] [xtf test] 111329: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111329 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111329/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-5

[Xen-devel] [qemu-mainline baseline-only test] 71623: tolerable trouble: blocked/broken/fail/pass

2017-07-02 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71623 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71623/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-rtds 9 debian-install

Re: [Xen-devel] [PATCH v5 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > static inline int apic_force_enable(unsigned long addr) > diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c > index 0601054..9bf7e95 100644 > --- a/arch/x86/kernel/apic/apic.c > +++ b/arch/x86/kernel/apic/apic.c > @@ -1198,6 +1198,10 @@

Re: [Xen-devel] [PATCH v5 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > -static int __init apic_intr_mode_select(void) > +static int __init apic_intr_mode_select(int *upmode) > { > /* Check kernel option */ > if (disable_apic) { > @@ -1206,12 +1208,30 @@ static int __init apic_intr_mode_select(void) > if (!smp

Re: [Xen-devel] [PATCH v5 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > /* > diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c > index 93f0cda..d6721f0 100644 > --- a/arch/x86/kernel/smpboot.c > +++ b/arch/x86/kernel/smpboot.c > @@ -1347,8 +1347,11 @@ void __init native_smp_prepare_cpus(unsigned int > max_cpus

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

2017-07-02 Thread osstest service owner
flight 111280 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/111280/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail REGR. vs. 110515 Regressions

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > +/* Init the interrupt delivery mode for the BSP */ > +void __init apic_intr_mode_init(void) > +{ > + switch (apic_intr_mode_select()) { > + case APIC_PIC: > + apic_printk(APIC_VERBOSE, KERN_INFO > + "Keep in PIC mode(

Re: [Xen-devel] [PATCH v5 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-02 Thread Thomas Gleixner
On Fri, 30 Jun 2017, Dou Liyang wrote: > +static int __init apic_intr_mode_select(void) > +{ > + /* Check kernel option */ > + if (disable_apic) { > + pr_info("APIC disabled via kernel command line\n"); > + return APIC_PIC; > + } > + > + /* Check BIOS */ > +#

Re: [Xen-devel] [PATCH v3 12/16] xen/arm: p2m: Move lpae_* helpers in lpae.h

2017-07-02 Thread Sergej Proskurin
Hi Julien, On 06/30/2017 05:54 PM, Julien Grall wrote: > lpae_* helpers can work on any LPAE translation tables. Move them in > lpae.h to allow other part of Xen to use them. > > Signed-off-by: Julien Grall > Reviewed-by: Stefano Stabellini > --- > > Cc: prosku...@sec.in.tum.de > > Change

Re: [Xen-devel] [PATCH v3 11/16] xen/arm: p2m: Rename p2m_valid, p2m_table, p2m_mapping and p2m_is_superpage

2017-07-02 Thread Sergej Proskurin
Hi Julien, On 06/30/2017 05:54 PM, Julien Grall wrote: > The helpers p2m_valid, p2m_table, p2m_mapping and p2m_is_superpage are > not specific to the stage-2 translation tables. They can also work on > any LPAE translation tables. So rename then to lpae_* and use pte.walk > to look for the value o

[Xen-devel] [xtf test] 111326: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111326 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111326/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-5

Re: [Xen-devel] [PATCH v3 10/16] xen/arm: lpae: Fix comments coding style

2017-07-02 Thread Sergej Proskurin
Hi Julien, On 06/30/2017 05:54 PM, Julien Grall wrote: > Also adding one missing full stop + fix description > > Signed-off-by: Julien Grall > Reviewed-by: Stefano Stabellini > --- > > Cc: prosku...@sec.in.tum.de > > I haven't retained Stefano's reviewed-by because of the description >

[Xen-devel] [xtf test] 111321: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111321 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111321/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-5

[Xen-devel] [xtf test] 111312: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111312 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111312/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-5

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

2017-07-02 Thread osstest service owner
flight 111265 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/111265/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stop fail blocked in 77 test-amd64-amd64-xl-qemuu-win7-amd6

[Xen-devel] [libvirt test] 111258: regressions - FAIL

2017-07-02 Thread osstest service owner
flight 111258 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/111258/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt 6 xen-install fail REGR. vs. 111209 Tests which did not suc

[Xen-devel] [xen-unstable-coverity test] 111315: regressions - ALL FAIL

2017-07-02 Thread osstest service owner
flight 111315 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/111315/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: coverity-amd646 coverity-build fail REGR. vs. 40 version t

Re: [Xen-devel] offtopic: handling patches

2017-07-02 Thread Marek Marczykowski-Górecki
On Fri, Jun 30, 2017 at 06:18:11PM +0100, Andrew Cooper wrote: > On 30/06/17 17:57, Marek Marczykowski-Górecki wrote: > > Hi, > > > > How you guys handle patches with emails? I know git am and git > > format-patch/send-email, but those tools are quite limited, especially > > when handling patch ser

[Xen-devel] [linux-3.18 test] 111255: regressions - FAIL

2017-07-02 Thread osstest service owner
flight 111255 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/111255/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemut-rhel6hvm-amd 12 guest-start/redhat.repeat fail REGR. vs. 110441 test-amd64-a

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

2017-07-02 Thread osstest service owner
flight 111249 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/111249/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-xsm 5 host-ping-check-native fail REGR. vs. 110465 test-amd64-i386-xl

[Xen-devel] [xtf test] 111305: regressions - trouble: broken/pass

2017-07-02 Thread osstest service owner
flight 111305 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111305/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 59 leak-check/check fail REGR. vs. 111074 test-xtf-amd64-amd64-5