Re: [Xen-devel] [PATCH v9 6/7] tools/libxc: add support of injecting MC# to specified CPUs

2017-07-12 Thread Haozhong Zhang
On 07/12/17 09:25 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Jul 12, 2017 at 10:04:39AM +0800, Haozhong Zhang wrote: > > 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

Re: [Xen-devel] [PATCH 05/15] xen: p2m: new 'p2m_epc' type for EPC mapping

2017-07-12 Thread Huang, Kai
On 7/13/2017 12:21 AM, George Dunlap wrote: On Jul 12, 2017, at 1:01 PM, Andrew Cooper wrote: On 09/07/17 10:12, Kai Huang wrote: A new 'p2m_epc' type is added for EPC mapping type. Two wrapper functions set_epc_p2m_entry and clear_epc_p2m_entry are also added for further use. Other grou

Re: [Xen-devel] [PATCH 08/15] xen: x86: add SGX cpuid handling support.

2017-07-12 Thread Huang, Kai
On 7/12/2017 10:56 PM, Andrew Cooper wrote: On 09/07/17 10:10, Kai Huang wrote: This patch adds SGX to cpuid handling support. In init_guest_cpuid, for raw_policy and host_policy, physical EPC info is reported, but for pv_max_policy and hvm_max_policy EPC is hidden, as for particular domain,

Re: [Xen-devel] [PATCH v13 13/23] x86: refactor psr: CDP: implement CPU init flow.

2017-07-12 Thread Jan Beulich
>>> "Jan Beulich" 07/13/17 7:24 AM >>> Yi Sun 07/13/17 5:04 AM >>> >>On 17-07-12 13:52:35, Jan Beulich wrote: >>> >>> Yi Sun 07/06/17 4:07 AM >>> >>> >This patch implements the CPU init flow for CDP. The flow is almost >>> >same as L3 CAT. >>> > >>> >Note: CDP does NOT work until you apply

Re: [Xen-devel] [PATCH v13 13/23] x86: refactor psr: CDP: implement CPU init flow.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/13/17 5:04 AM >>> >On 17-07-12 13:52:35, Jan Beulich wrote: >> >>> Yi Sun 07/06/17 4:07 AM >>> >> >This patch implements the CPU init flow for CDP. The flow is almost >> >same as L3 CAT. >> > >> >Note: CDP does NOT work until you apply the later patches of CDP. >> >"x86: refactor ps

Re: [Xen-devel] [PATCH v13 12/23] x86: refactor psr: L3 CAT: set value: implement write msr flow.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/13/17 5:00 AM >>> >On 17-07-12 13:37:02, Jan Beulich wrote: >> >>> Yi Sun 07/06/17 4:07 AM >>> >> >v13: >> >- use 'skip_prior_features'. >> >- add 'const' for some variables. >> >> You didn't go quite far enough with this: >> >> >+struct cos_write_info >> >+{ >> >+unsigned

Re: [Xen-devel] Lots of new warnings with gcc-7.1.1

2017-07-12 Thread Mauro Carvalho Chehab
Em Tue, 11 Jul 2017 15:35:15 -0700 Linus Torvalds escreveu: > [ Very random list of maintainers and mailing lists, at least > partially by number of warnings generated by gcc-7.1.1 that is then > correlated with the get_maintainers script ] Under drivers/media, I fixed a bunch of gcc 7.1 warning

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

2017-07-12 Thread osstest service owner
flight 111732 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/111732/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-pair 16 debian-install/dst_host fail in 111703 pass in 111732 test-armhf-armhf-xl 16 guest-st

Re: [Xen-devel] [PATCH 04/15] xen: mm: add ioremap_cache

2017-07-12 Thread Huang, Kai
On 7/12/2017 7:13 PM, Julien Grall wrote: On 07/12/2017 02:52 AM, Huang, Kai wrote: Hi Julien, Hello Kai, Please avoid top-posting. Sorry. Will avoid in the future :) Thanks for pointing out. I'll move to x86 specific. I've cc-ed all maintainers reported by ./scripts/get_maintainer

Re: [Xen-devel] [PATCH 04/15] xen: mm: add ioremap_cache

2017-07-12 Thread Huang, Kai
On 7/12/2017 6:17 PM, Jan Beulich wrote: Julien Grall 07/11/17 10:15 PM >>> On 07/09/2017 09:10 AM, Kai Huang wrote: Currently Xen only has non-cacheable version of ioremap. Although EPC is reported as reserved memory in e820 but it can be mapped as cacheable. This patch adds ioremap_cache (

Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Huang, Kai
On 7/13/2017 6:54 AM, Jan Beulich wrote: Andrew Cooper 07/12/17 1:12 PM >>> On 09/07/17 10:09, Kai Huang wrote: If ENCLS VMEXIT is not present then we cannot support SGX virtualization. This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter 'sgx' is also added to manually

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

2017-07-12 Thread osstest service owner
flight 111726 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/111726/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-examine 7 reboot fail REGR. vs. 111677 test-amd64-amd64-pai

Re: [Xen-devel] [PATCH v13 16/23] x86: L2 CAT: implement CPU init flow.

2017-07-12 Thread Yi Sun
On 17-07-12 14:09:40, Jan Beulich wrote: > >>> Yi Sun 07/06/17 4:07 AM >>> > >This patch implements the CPU init flow for L2 CAT. > > > >Note: L2 CAT does NOT work until you apply the later patches of L2 CAT. > >"x86: L2 CAT: implement get hw info flow." > >"x86: L2 CAT: implement get value flow."

Re: [Xen-devel] [PATCH v13 13/23] x86: refactor psr: CDP: implement CPU init flow.

2017-07-12 Thread Yi Sun
On 17-07-12 13:52:35, Jan Beulich wrote: > >>> Yi Sun 07/06/17 4:07 AM >>> > >This patch implements the CPU init flow for CDP. The flow is almost > >same as L3 CAT. > > > >Note: CDP does NOT work until you apply the later patches of CDP. > >"x86: refactor psr: CDP: implement get hw info flow." > >

[Xen-devel] [linux-linus bisection] complete test-amd64-amd64-xl-credit2

2017-07-12 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-credit2 testid guest-saverestore 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.xen.org/qemu-xen-tradit

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Lu Baolu
Hi, On 07/13/2017 09:39 AM, Dou Liyang wrote: > Hi, Lu > > At 07/13/2017 09:17 AM, Lu Baolu wrote: >> Hi, >> >> On 07/12/2017 04:02 PM, Dou Liyang wrote: >>> Hi, Lu >>> >>> At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: > Hi, > > On 05/03/20

Re: [Xen-devel] [PATCH v13 12/23] x86: refactor psr: L3 CAT: set value: implement write msr flow.

2017-07-12 Thread Yi Sun
On 17-07-12 13:37:02, Jan Beulich wrote: > >>> Yi Sun 07/06/17 4:07 AM >>> > >v13: > >- use 'skip_prior_features'. > >- add 'const' for some variables. > > You didn't go quite far enough with this: > > >+struct cos_write_info > >+{ > >+unsigned int cos; > >+struct feat_node *feature;

Re: [Xen-devel] [PATCH v9 7/7] tools/xen-mceinj: add support of injecting LMCE

2017-07-12 Thread Haozhong Zhang
On 07/12/17 09:26 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Jul 12, 2017 at 10:04:40AM +0800, Haozhong Zhang wrote: > > 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). > > > > Sig

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Dou Liyang
Hi, Lu At 07/13/2017 09:17 AM, Lu Baolu wrote: Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On 05/03/2017 06:38 AM, Boris Ostrovsky wrote: On 03/21/2017 04:01 AM, Lu Baolu wrote: Add a simp

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Lu Baolu
Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: > Hi, Lu > > At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: >> On 05/05/2017 01:41 AM, Lu Baolu wrote: >>> Hi, >>> >>> On 05/03/2017 06:38 AM, Boris Ostrovsky wrote: On 03/21/2017 04:01 AM, Lu Baolu wrote: > Add a simple udelay calibration in

[Xen-devel] [xen-unstable test] 111722: tolerable FAIL

2017-07-12 Thread osstest service owner
flight 111722 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/111722/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-rtds 12 guest-start fail in 111693 pass in 111722 test-amd64-amd64-rumprun-amd64 1

Re: [Xen-devel] [PATCH v1 3/3] xen/livepatch/ARM32: Don't crash on livepatches loaded with wrong alignment.

2017-07-12 Thread Jan Beulich
>>> "Jan Beulich" 07/11/17 10:07 PM >>> >What you may want to consider is silently padding sections to a multiple >of their specified alignment. I actually think now that it was a bad idea to suggest this, in particular in this context. If you followed that road, you'd end up with a random align

Re: [Xen-devel] Problem with commit bf22ff45bed664aefb5c4e43029057a199b7070c

2017-07-12 Thread Thomas Gleixner
On Wed, 12 Jul 2017, Thomas Gleixner wrote: > On Mon, 10 Jul 2017, Juergen Gross wrote: > > It is based on suspend/resume framework. The main work to be done > > additionally is to disconnect from the pv-backends at save time and > > connect to the pv-backends again at restore time. > > > > The ma

Re: [Xen-devel] [PATCH v13 16/23] x86: L2 CAT: implement CPU init flow.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:07 AM >>> >This patch implements the CPU init flow for L2 CAT. > >Note: L2 CAT does NOT work until you apply the later patches of L2 CAT. >"x86: L2 CAT: implement get hw info flow." >"x86: L2 CAT: implement get value flow." >"x86: L2 CAT: implement set value flow." Same comm

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

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:07 AM >>> >--- a/xen/arch/x86/psr.c >+++ b/xen/arch/x86/psr.c >@@ -373,12 +373,21 @@ static bool l3_cdp_get_feat_info(const struct feat_node >*feat, >return true; >} > >+static void l3_cdp_write_msr(unsigned int cos, uint32_t val, enum cbm_type >type) >+{ >+wrmsr

Re: [Xen-devel] [PATCH v13 13/23] x86: refactor psr: CDP: implement CPU init flow.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:07 AM >>> >This patch implements the CPU init flow for CDP. The flow is almost >same as L3 CAT. > >Note: CDP does NOT work until you apply the later patches of CDP. >"x86: refactor psr: CDP: implement get hw info flow." >"x86: refactor psr: CDP: implement set value callback f

Re: [Xen-devel] [PATCH v13 12/23] x86: refactor psr: L3 CAT: set value: implement write msr flow.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:07 AM >>> >v13: >- use 'skip_prior_features'. >- add 'const' for some variables. You didn't go quite far enough with this: >+struct cos_write_info >+{ >+unsigned int cos; >+struct feat_node *feature; >+const uint32_t *val; With this, ... >static int write_

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

2017-07-12 Thread osstest service owner
flight 111724 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/111724/ 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 111523 REGR. vs. 110441 Tes

Re: [Xen-devel] [PATCH v13 09/23] x86: refactor psr: L3 CAT: set value: assemble features value array.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:07 AM >>> >Only can one COS ID be used by one domain at one time. That means all enabled >features' COS registers at this COS ID are valid for this domain at that time. > >When user updates a feature's value, we need make sure all other features' >values are not affected. So,

Re: [Xen-devel] [PATCH v13 08/23] x86: refactor psr: L3 CAT: set value: implement framework.

2017-07-12 Thread Jan Beulich
>>> Yi Sun 07/06/17 4:08 AM >>> >As set value flow is the most complicated one in psr, it will be >divided to some patches to make things clearer. This patch >implements the set value framework to show a whole picture firstly. > >It also changes domctl interface to make it more general. > >To make

Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Jan Beulich
>>> Andrew Cooper 07/12/17 1:12 PM >>> >On 09/07/17 10:09, Kai Huang wrote: >> If ENCLS VMEXIT is not present then we cannot support SGX virtualization. >> This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter >> 'sgx' is also added to manually enable/disable SGX. >> >> Signed-

Re: [Xen-devel] [PATCH v4] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Tamas K Lengyel
On Wed, Jul 12, 2017 at 11:21 AM, Petre Pircalabu wrote: > If case of a vm_event with the emulate_flags set, if the instruction > cannot be emulated, the monitor should be notified instead of directly > injecting a hw exception. > This behavior can be used to re-execute an instruction not supporte

Re: [Xen-devel] [PATCH v4] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Razvan Cojocaru
On 07/12/2017 08:21 PM, Petre Pircalabu wrote: > If case of a vm_event with the emulate_flags set, if the instruction > cannot be emulated, the monitor should be notified instead of directly > injecting a hw exception. > This behavior can be used to re-execute an instruction not supported by > the

[Xen-devel] [PATCH v4] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Petre Pircalabu
If case of a vm_event with the emulate_flags set, if the instruction cannot be emulated, the monitor should be notified instead of directly injecting a hw exception. This behavior can be used to re-execute an instruction not supported by the emulator using the real processor (e.g. altp2m) instead o

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

2017-07-12 Thread osstest service owner
flight 111718 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/111718/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 111662 test-armhf-armhf-libvirt-xsm 14 saveresto

Re: [Xen-devel] [PATCH v3 04/11] libxl: add generic function to add device

2017-07-12 Thread Oleksandr Grytsov
On Tue, Jul 4, 2017 at 12:41 PM, Oleksandr Grytsov wrote: >>> >> > > I don't see exiting device ported to the new framework, why? >>> >> > >>> >> > Good question. I think it is a little dangerous and may introduce >>> >> > regression. >>> >> > But definitely it should be done. I can do these chan

Re: [Xen-devel] [PATCH v3] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Tamas K Lengyel
On Wed, Jul 12, 2017 at 2:43 AM, Petre Pircalabu wrote: > If case of a vm_event with the emulate_flags set, if the instruction > cannot be emulated, the monitor should be notified instead of directly > injecting a hw exception. > This behavior can be used to re-execute an instruction not supported

Re: [Xen-devel] Problem with commit bf22ff45bed664aefb5c4e43029057a199b7070c

2017-07-12 Thread Thomas Gleixner
On Mon, 10 Jul 2017, Juergen Gross wrote: > On 07/07/17 19:11, Thomas Gleixner wrote: > > On Fri, 7 Jul 2017, Thomas Gleixner wrote: > > > >> On Fri, 7 Jul 2017, Juergen Gross wrote: > >> > >>> Commit bf22ff45bed664aefb5c4e43029057a199b7070c ("genirq: Avoid > >>> unnecessary low level irq function

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

2017-07-12 Thread osstest service owner
flight 111714 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/111714/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qcow2 7 xen-boot fail REGR. vs. 110515 test-amd64-amd64-xl

[Xen-devel] [OSSTEST PATCH v12 19/21] ts-openstack-tempest: Use target_cmd_subunit

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD --- ts-openstack-tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index ae3662f..f6b655f 100755 --- a/ts-openstack-tempest +++ b/ts-openstack-tempest @@ -53,10 +53,10 @@ sub tempest() { m

[Xen-devel] [OSSTEST PATCH v12 18/21] TestSupport: Implement target_cmd_subunit a subunit stream parser into substeps

2017-07-12 Thread Anthony PERARD
target_cmd_subunit can be used like target_cmd, but the command would needs to output a subunit v1 stream, which will be parsed and turned into osstest substeps. The command can be `| subunit-2to1` in order to turn a subunit v2 stream into v1. Currently, time is not taken into account, and all sub

[Xen-devel] [OSSTEST PATCH v12 20/21] Create a flight to test OpenStack with xen-unstable and libvirt

2017-07-12 Thread Anthony PERARD
This patch creates a flight "openstack-ocata", with those jobs: build-amd64 build-amd64-libvirt build-amd64-pvops build-amd64-xsm build-arm64 build-arm64-libvirt build-arm64-pvops build-arm64-xsm build-armhf build-armhf-libvirt build-armhf-pvops build-armhf-xsm test-amd64-

[Xen-devel] [OSSTEST PATCH v12 16/21] ts-logs-capture: Capture OpenStack logs

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-logs-capture | 6 ++ 1 file changed, 6 insertions(+) diff --git a/ts-logs-capture b/ts-logs-capture index 061a118..0e3d267 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -171,6 +171,12 @@ sub fetch_logs_host () {

[Xen-devel] [OSSTEST PATCH v12 14/21] ts-openstack-tempest: Update list of skipped tests

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD --- ts-openstack-tempest | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index b95043a..ae3662f 100755 --- a/ts-openstack-tempest +++ b/ts-openstack-tempest @@ -31,23 +31,20 @@ sub t

[Xen-devel] [OSSTEST PATCH v12 13/21] ts-openstack-tempest: Fix tempest invocation

2017-07-12 Thread Anthony PERARD
./run_tempest.sh is deprecated. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-tempest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index 82e9a71..b95043a 100755 --- a/ts-openstack-tempest +++ b/ts-openst

[Xen-devel] [OSSTEST PATCH v12 12/21] ts-openstack-deploy: Ignore libvirt-python version and use latest

2017-07-12 Thread Anthony PERARD
Devstack is going to try to install a specific version of libvirt-python (currently 2.5.0) but this fail with libvirt installed by osstest. Remove the requirement and use the latest available instead. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 15 +

[Xen-devel] [OSSTEST PATCH v12 11/21] ts-openstack-deploy: Apply a Tempest patch

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 9 + 1 file changed, 9 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index f677513..befe3d3 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -137,6 +137,15 @@ END <

[Xen-devel] [OSSTEST PATCH v12 15/21] ts-openstack-deploy: Move logs to /var/log/openstack

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 00f262f..e7c94a5 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -58,7 +58,7 @@ DEST=$buil

[Xen-devel] [OSSTEST PATCH v12 10/21] ts-openstack-deploy: Increase open fd limit for RabbitMQ

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD --- ts-openstack-deploy | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 2107760..f677513 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -130,6 +130,13 @@ END osstest ALL=(ALL) NOPASSWD:ALL De

[Xen-devel] [OSSTEST PATCH v12 17/21] ts-openstack-deploy: Increase devstack timeout

2017-07-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index e7c94a5..875c4a7 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -169,7 +169,7 @@ sub depl

[Xen-devel] [OSSTEST PATCH v12 21/21] make-flight: Increase dom0_mem for openstack flight

2017-07-12 Thread Anthony PERARD
With 4G for dom0_mem, a host running devstack is using about 1.5G of swap. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- make-flight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-flight b/make-flight index 3771b16..16fe062 100755 --- a/make-flight +++ b/make

[Xen-devel] [OSSTEST PATCH v12 05/21] ts-openstack-deploy: set CURL_CA_BUNDLE

2017-07-12 Thread Anthony PERARD
From: Ian Jackson This overrides pip's attempt to specify a specific certificate bundle, and is necessary if we have a MITM SSL proxy. The security implications are not ideal, because the MITM proxy will allow any X.509 cert from any CA, whereas pip would only allow an expected cert. But we got

[Xen-devel] [OSSTEST PATCH v12 02/21] ts-openstack-tempest: Run Tempest to check OpenStack

2017-07-12 Thread Anthony PERARD
This script runs the OpenStack integration test suite, Tempest. Signed-off-by: Anthony PERARD Acked-by: Ian Campbell Acked-by: Ian Jackson --- sg-run-job | 1 + ts-openstack-tempest | 65 2 files changed, 66 insertions(+) create

[Xen-devel] [OSSTEST PATCH v12 07/21] ts-openstack-deploy: Try to disable use of SYSTEMD

2017-07-12 Thread Anthony PERARD
There is USE_SYSTEMD off by default, but it is now turned on if USE_SCREEN if off. Try to keep use of systemd disabled. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-ope

[Xen-devel] [OSSTEST PATCH v12 00/21] Have OpenStack tested on top of xen's master and libvirt's master.

2017-07-12 Thread Anthony PERARD
Now powered with subunit-to-substep engine. The Tempest test names reported via subunit are in the form: tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,id-bdbb5441-9204-419d-a225-b4fdbfb1a1a8,image,network,volume] so very long. Sometime, it in the

[Xen-devel] [OSSTEST PATCH v12 01/21] ts-openstack-deploy: Deploy OpenStack on a host with devstack

2017-07-12 Thread Anthony PERARD
This script installs any necessary packages and clones all of the OpenStack trees which are used by devstack to deploy OpenStack. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- sg-run-job | 5 ++ ts-openstack-deploy | 148

[Xen-devel] [OSSTEST PATCH v12 04/21] TestSupport: provide target_https_mitm_proxy_cert_path

2017-07-12 Thread Anthony PERARD
From: Ian Jackson Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 6e19b28..7215156 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -64,6 +64,7 @@ BEGIN {

[Xen-devel] [OSSTEST PATCH v12 06/21] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called

2017-07-12 Thread Anthony PERARD
This is part of commit "ts-openstack-deploy: set CURL_CA_BUNDLE" but also allow pip to work when it is called via sudo without preserving the existing environment variables. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 1 + 1 file changed, 1 insertion(+) diff -

[Xen-devel] [OSSTEST PATCH v12 09/21] ts-openstack-deploy: Switch to Neutron for network

2017-07-12 Thread Anthony PERARD
nova-network is not supported anymore and Neutron is the default. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 1349009..2107760 100755 --- a/

[Xen-devel] [OSSTEST PATCH v12 03/21] ts-openstack-deploy: Set http proxy

2017-07-12 Thread Anthony PERARD
From: Ian Jackson This allows ./stack.sh to access the global internet. CC: Anthony PERARD Signed-off-by: Ian Jackson --- ts-openstack-deploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 6f061eb..d2971f5 100755 --- a/ts-openstack-deplo

[Xen-devel] [OSSTEST PATCH v12 08/21] ts-kernel-build: Enable network related modules for Neutron

2017-07-12 Thread Anthony PERARD
Those options/modules are needed to run OpenStack Neutron with Open vSwitch. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-kernel-build | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index 94e67a4..0bcd340 10

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

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

Re: [Xen-devel] [PATCH v3 03/11] libxl: add generic function to get and free device list

2017-07-12 Thread Wei Liu
On Wed, Jul 12, 2017 at 04:43:23PM +0300, Oleksandr Grytsov wrote: > On Wed, Jul 12, 2017 at 12:51 PM, Wei Liu wrote: > > On Mon, Jul 10, 2017 at 03:26:12PM +0300, Oleksandr Grytsov wrote: > >> It means for each device where getting device list is required there will > >> be > >> GC_INIT(ctc) > >

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

2017-07-12 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71684 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71684/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win10-i386 10 windows

Re: [Xen-devel] [edk2] OVMF Secure Boot variable storage issue

2017-07-12 Thread Konrad Rzeszutek Wilk
On Thu, Jul 06, 2017 at 02:55:27PM -0400, Jason Dickens wrote: > Thanks for the response Bill. If I should recognize your name, I'm sorry, > I'm bad with names, but I have been doing a lot of work with Wind River > recently (and in the past) so its possible I should. > > Actually, I should have me

Re: [Xen-devel] Lots of new warnings with gcc-7.1.1

2017-07-12 Thread Arnd Bergmann
On Wed, Jul 12, 2017 at 3:10 PM, Greg Kroah-Hartman wrote: > On Tue, Jul 11, 2017 at 03:35:15PM -0700, Linus Torvalds wrote: >> [ Very random list of maintainers and mailing lists, at least >> partially by number of warnings generated by gcc-7.1.1 that is then >> correlated with the get_maintainer

Re: [Xen-devel] [PATCH v3 03/11] libxl: add generic function to get and free device list

2017-07-12 Thread Oleksandr Grytsov
On Wed, Jul 12, 2017 at 12:51 PM, Wei Liu wrote: > On Mon, Jul 10, 2017 at 03:26:12PM +0300, Oleksandr Grytsov wrote: >> It means for each device where getting device list is required there will be >> GC_INIT(ctc) >> >> libxl__device_list(gc, ...) >> >> GC_FREE >> >> instead of just: >> >> libxl__

Re: [Xen-devel] Lots of new warnings with gcc-7.1.1

2017-07-12 Thread Arnd Bergmann
On Wed, Jul 12, 2017 at 5:41 AM, Linus Torvalds wrote: > > We also have about a bazillion > > warning: ‘*’ in boolean context, suggest ‘&&’ instead > > warnings in drivers/ata/libata-core.c, all due to a single macro that > uses a pattern that gcc-7.1.1 doesn't like. The warning looks a bit >

Re: [Xen-devel] [PATCH v9 7/7] tools/xen-mceinj: add support of injecting LMCE

2017-07-12 Thread Konrad Rzeszutek Wilk
On Wed, Jul 12, 2017 at 10:04:40AM +0800, Haozhong Zhang wrote: > 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 J

Re: [Xen-devel] [PATCH v9 6/7] tools/libxc: add support of injecting MC# to specified CPUs

2017-07-12 Thread Konrad Rzeszutek Wilk
On Wed, Jul 12, 2017 at 10:04:39AM +0800, Haozhong Zhang wrote: > 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 provi

Re: [Xen-devel] Lots of new warnings with gcc-7.1.1

2017-07-12 Thread Greg Kroah-Hartman
On Tue, Jul 11, 2017 at 03:35:15PM -0700, Linus Torvalds wrote: > [ Very random list of maintainers and mailing lists, at least > partially by number of warnings generated by gcc-7.1.1 that is then > correlated with the get_maintainers script ] > > So I upgraded one of my boxes to F26, which upgra

[Xen-devel] [xen-unstable-smoke test] 111733: tolerable trouble: broken/pass - PUSHED

2017-07-12 Thread osstest service owner
flight 111733 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/111733/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 1 build-check(1) blocked n/a test-amd64-amd64-libvirt 13 mig

Re: [Xen-devel] [PATCH 05/15] xen: p2m: new 'p2m_epc' type for EPC mapping

2017-07-12 Thread George Dunlap
> On Jul 12, 2017, at 1:01 PM, Andrew Cooper wrote: > > On 09/07/17 10:12, Kai Huang wrote: >> A new 'p2m_epc' type is added for EPC mapping type. Two wrapper functions >> set_epc_p2m_entry and clear_epc_p2m_entry are also added for further use. > > Other groups in Intel have been looking to re

Re: [Xen-devel] [PATCH 5/25] Xen/doc: Add Xen virtual IOMMU doc

2017-07-12 Thread Lan Tianyu
On 2017年07月12日 15:26, Julien Grall wrote: > Hi, > > On 07/12/2017 04:09 AM, Lan Tianyu wrote: >> On 2017年07月08日 00:08, Julien Grall wrote: Because we now just have onE vIOMMU, all virtual interrupt will be bound to it. If need to support mult-vIOMMU, we can add device-scope fie

Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:09, Kai Huang wrote: If ENCLS VMEXIT is not present then we cannot support SGX virtualization. This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter 'sgx' is also added to manually enable/disable SGX. Signed-off-by: Kai Huang At a minimum, you also need to m

Re: [Xen-devel] [PATCH 01/15] xen: x86: expose SGX to HVM domain in CPU featureset

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:04, Kai Huang wrote: Expose SGX in CPU featureset for HVM domain. SGX will not be supported for PV domain, as ENCLS (which SGX driver in guest essentially runs) must run in ring 0, while PV kernel runs in ring 3. Theoretically we can support SGX in PV domain via either emulating #G

Re: [Xen-devel] [PATCH 15/15] xen: tools: expose EPC in ACPI table

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:16, Kai Huang wrote: On physical machine EPC is exposed in ACPI table via "INT0E0C". Although EPC can be discovered by CPUID but Windows driver requires EPC to be exposed in ACPI table as well. This patch exposes EPC in ACPI table. :( diff --git a/tools/libacpi/dsdt.asl b/tools

Re: [Xen-devel] [PATCH 05/15] xen: p2m: new 'p2m_epc' type for EPC mapping

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:12, Kai Huang wrote: A new 'p2m_epc' type is added for EPC mapping type. Two wrapper functions set_epc_p2m_entry and clear_epc_p2m_entry are also added for further use. Other groups in Intel have been looking to reduce the number of p2m types we have, so we can use more hardware

Re: [Xen-devel] [PATCH 08/15] xen: x86: add SGX cpuid handling support.

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:10, Kai Huang wrote: This patch adds SGX to cpuid handling support. In init_guest_cpuid, for raw_policy and host_policy, physical EPC info is reported, but for pv_max_policy and hvm_max_policy EPC is hidden, as for particular domain, it's EPC base and size are from tookstack, and i

Re: [Xen-devel] [PATCH] tools/libxl: Fix a segment fault when mmio_hole is set in hvm.cfg

2017-07-12 Thread Wei Liu
On Thu, Jul 13, 2017 at 10:03:39AM +0800, Xiong Zhang wrote: > When valid mmio_hole is set in hvm.cfg, segment fault happens at accessing > localents pointer. > > Because the size of localents pointer isn't enough to store appended > mmio_hole_size parameter. > > Signed-off-by: Xiong Zhang Acke

Re: [Xen-devel] [PATCH v3 04/11] libxl: add generic function to add device

2017-07-12 Thread Wei Liu
On Mon, Jul 10, 2017 at 03:41:28PM +0300, Oleksandr Grytsov wrote: > On Fri, Jul 7, 2017 at 1:56 PM, Oleksandr Grytsov wrote: > > On Fri, Jul 7, 2017 at 1:32 PM, Wei Liu wrote: > >> On Fri, Jul 07, 2017 at 01:29:39PM +0300, Oleksandr Grytsov wrote: > >> > Actually my the first patch probably was

[Xen-devel] [PATCH] tools/libxl: Fix a segment fault when mmio_hole is set in hvm.cfg

2017-07-12 Thread Xiong Zhang
When valid mmio_hole is set in hvm.cfg, segment fault happens at accessing localents pointer. Because the size of localents pointer isn't enough to store appended mmio_hole_size parameter. Signed-off-by: Xiong Zhang --- tools/libxl/libxl_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

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

2017-07-12 Thread osstest service owner
flight 111703 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/111703/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 16 debian-install/dst_host fail REGR. vs. 111403 test-armhf-armhf-

Re: [Xen-devel] [PATCH v3 03/11] libxl: add generic function to get and free device list

2017-07-12 Thread Wei Liu
On Mon, Jul 10, 2017 at 03:26:12PM +0300, Oleksandr Grytsov wrote: > It means for each device where getting device list is required there will be > GC_INIT(ctc) > > libxl__device_list(gc, ...) > > GC_FREE > > instead of just: > > libxl__device_list(ctx, ...); I think this is worth it because w

Re: [Xen-devel] [PATCH v3 03/11] libxl: add generic function to get and free device list

2017-07-12 Thread Wei Liu
On Mon, Jul 10, 2017 at 03:22:19PM +0300, Oleksandr Grytsov wrote: > On Thu, Jul 6, 2017 at 6:29 PM, Wei Liu wrote: > > On Tue, Jun 27, 2017 at 01:03:19PM +0300, Oleksandr Grytsov wrote: > >> From: Oleksandr Grytsov > >> > >> Add libxl__device_list, libxl__device_list_free. > >> Device list is cr

Re: [Xen-devel] [PATCH v3] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Wei Liu
On Wed, Jul 12, 2017 at 11:43:42AM +0300, Petre Pircalabu wrote: > If case of a vm_event with the emulate_flags set, if the instruction > cannot be emulated, the monitor should be notified instead of directly > injecting a hw exception. > This behavior can be used to re-execute an instruction not s

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

2017-07-12 Thread osstest service owner
flight 111727 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/111727/ 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

[Xen-devel] [distros-debian-squeeze test] 71683: regressions - trouble: broken/fail/pass

2017-07-12 Thread Platform Team regression test user
flight 71683 distros-debian-squeeze real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71683/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-i386-squeeze-netboot-pygrub 7 xen-boot fail REGR. vs. 71643 Tests

Re: [Xen-devel] [PATCH v2] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Petre Ovidiu PIRCALABU
Hi Tamas, I have corrected it and resent the patch.  Thank-you very much for pointing it out, Petre On Ma, 2017-07-11 at 23:41 -0600, Tamas K Lengyel wrote: > On Tue, Jul 11, 2017 at 8:53 AM, Petre Pircalabu > wrote: > > > > If case of a vm_event with the emulate_flags set, if the > > instruct

[Xen-devel] [PATCH v3] x86/monitor: Notify monitor if an emulation fails.

2017-07-12 Thread Petre Pircalabu
If case of a vm_event with the emulate_flags set, if the instruction cannot be emulated, the monitor should be notified instead of directly injecting a hw exception. This behavior can be used to re-execute an instruction not supported by the emulator using the real processor (e.g. altp2m) instead o

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

2017-07-12 Thread osstest service owner
flight 111706 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/111706/ 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 111523 REGR. vs. 110441 Tes

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Dou Liyang
Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On 05/03/2017 06:38 AM, Boris Ostrovsky wrote: On 03/21/2017 04:01 AM, Lu Baolu wrote: Add a simple udelay calibration in x86 architecture-specific boot-time initializations. This will get a wor

Re: [Xen-devel] [PATCH] xen/pvcalls: NULL dereference in error handling

2017-07-12 Thread Stefano Stabellini
On Wed, 12 Jul 2017, Dan Carpenter wrote: > We accidentally dereference "map" when it's NULL. > > Fixes: b535e2b9b78a ("xen/pvcalls: implement connect command") > Signed-off-by: Dan Carpenter Thanks! Reviewed-by: Stefano Stabellini > diff --git a/drivers/xen/pvcalls-back.c b/drivers/xen/pvca

Re: [Xen-devel] [PATCH 5/25] Xen/doc: Add Xen virtual IOMMU doc

2017-07-12 Thread Julien Grall
Hi, On 07/12/2017 04:09 AM, Lan Tianyu wrote: On 2017年07月08日 00:08, Julien Grall wrote: Because we now just have onE vIOMMU, all virtual interrupt will be bound to it. If need to support mult-vIOMMU, we can add device-scope field(sbdf array or some thing like that) in the structure and specify

[Xen-devel] [PATCH] xen/pvcalls: NULL dereference in error handling

2017-07-12 Thread Dan Carpenter
We accidentally dereference "map" when it's NULL. Fixes: b535e2b9b78a ("xen/pvcalls: implement connect command") Signed-off-by: Dan Carpenter diff --git a/drivers/xen/pvcalls-back.c b/drivers/xen/pvcalls-back.c index d6c4c4aecb41..01b690e1e555 100644 --- a/drivers/xen/pvcalls-back.c +++ b/driver

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

2017-07-12 Thread osstest service owner
flight 111715 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/111715/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b1fe2029fa2f473922fb830a2e33c5ae0c0ae20d baseline version: ovmf e508e069a809ba895230e

Re: [Xen-devel] [PATCH 04/15] xen: mm: add ioremap_cache

2017-07-12 Thread Julien Grall
On 07/12/2017 02:52 AM, Huang, Kai wrote: Hi Julien, Hello Kai, Please avoid top-posting. Thanks for pointing out. I'll move to x86 specific. I've cc-ed all maintainers reported by ./scripts/get_maintainer.pl, looks this script doesn't report all maintainers. Sorry. I'll add ARM mainta

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

2017-07-12 Thread osstest service owner
flight 111693 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/111693/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-cubietruck 6 xen-installfail in 111664 pass in 111693 test-armhf-armhf-xl-xsm 7