Re: [Xen-devel] [PATCH 1/1] cameraif: add ABI for para-virtual camera

2018-08-20 Thread Oleksandr Andrushchenko
On 08/14/2018 11:30 AM, Juergen Gross wrote: On 31/07/18 11:31, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized camera driver which extends Xen's reach multimedia capabilities even farther enabling it for video

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-08-20 Thread Oleksandr Andrushchenko
On 08/20/2018 05:40 PM, Wei Liu wrote: On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: [...] diff --git a/tools/libs/gnttab/linux.c b/tools/libs/gnttab/linux.c index 8347ddd3d9cf..9765146f7eb6 100644 --- a/tools/libs/gnttab/linux.c +++ b/tools/libs/gnttab/linux.c @@

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

2018-08-20 Thread osstest service owner
flight 126202 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/126202/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-shadow 7 xen-boot fail REGR. vs. 125898

Re: [Xen-devel] [PATCH 06/10] xen/arm: add OMAP5 kconfig

2018-08-20 Thread Andrii Anisov
Hello Stefano, On 21.08.18 02:59, Stefano Stabellini wrote: Add a kconfig option for TI OMAP5 platforms. Signed-off-by: Stefano Stabellini CC: baoz...@gmail.com -- Reviewed-by: Andrii Anisov *Andrii Anisov*

Re: [Xen-devel] [PATCH 05/10] xen/arm: add RCAR2 kconfig

2018-08-20 Thread Andrii Anisov
Hello Stefano, On 21.08.18 02:59, Stefano Stabellini wrote: Add a kconfig option for Renesas Rcar2 platforms. Signed-off-by: Stefano Stabellini CC: iurii.konovale...@globallogic.com Reviewed-by: Andrii Anisov -- *Andrii Anisov* ___ Xen-devel

[Xen-devel] [xen-4.7-testing test] 126214: regressions - FAIL

2018-08-20 Thread osstest service owner
flight 126214 xen-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/126214/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt-pair 22 guest-migrate/src_host/dst_host fail REGR. vs. 125057

[Xen-devel] [ovmf baseline-only test] 75094: tolerable FAIL

2018-08-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75094 ovmf real [real] http://osstest.xensource.com/osstest/logs/75094/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75087

Re: [Xen-devel] [PATCH v4 12/16] x86/xen: enable Hygon support to Xen

2018-08-20 Thread Boris Ostrovsky
On 08/19/2018 12:13 PM, Pu Wen wrote: > To make Xen works functionly on Hygon platforms, reuse AMD's Xen support > code path for Hygon. > > There are six core performance events counters per thread, so there are > six MSRs for these counters(0-5). Also there are four legacy PMC MSRs, > they are

[Xen-devel] [xen-4.8-testing baseline-only test] 75093: regressions - FAIL

2018-08-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75093 xen-4.8-testing real [real] http://osstest.xensource.com/osstest/logs/75093/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win10-i386 10

Re: [Xen-devel] [PATCH] tools: fix uninstall: tests/x86_emulator, Linux hotplug

2018-08-20 Thread Doug Goldstein
On Mon, Aug 20, 2018 at 11:42:30AM -0700, Christopher Clark wrote: > Fixing top-level "make uninstall": > > tools/tests/x86_emulator is missing an uninstall target, which causes > failure. Trivial to add one since it installs nothing, so do that. > > Linux hotplug uninstall returns success but

[Xen-devel] [xen-4.9-testing test] 126201: regressions - FAIL

2018-08-20 Thread osstest service owner
flight 126201 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/126201/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-pair 22 guest-migrate/src_host/dst_host fail REGR. vs. 124328 Tests

[Xen-devel] [PATCH 02/10] xen/arm: add THUNDERX kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Cavium ThunderX platforms. Signed-off-by: Stefano Stabellini CC: mja...@caviumnetworks.com CC: zi@cavium.com --- xen/arch/arm/platforms/Kconfig | 14 ++ xen/arch/arm/platforms/Makefile | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff

[Xen-devel] [PATCH 10/10] xen/arm: add VEXPRESS kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Versatile Express A15 platforms. Signed-off-by: Stefano Stabellini CC: julien.gr...@arm.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 03/10] xen/arm: add SUNXI kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for SUNXI platforms. Signed-off-by: Stefano Stabellini CC: andre.przyw...@arm.com CC: v1ne...@gmail.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 01/10] xen/arm: add XGENE kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for X-Gene platforms. Signed-off-by: Stefano Stabellini CC: psawargaon...@apm.com CC: apa...@apm.com --- xen/arch/arm/platforms/Kconfig | 12 xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 00/10] arm: add one kconfig option per platform

2018-08-20 Thread Stefano Stabellini
Hi all, This patch series introduces one kconfig option for each remaing platform under platforms/. Each kconfig option enables the required drivers in Xen. Cheers, Stefano The following changes since commit 37b7c808b3fd68c11425accb53b83c37479a2b51: automation: build with debian unstable

[Xen-devel] [PATCH 07/10] xen/arm: add MIDWAY kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Calxeda Midway platforms. Signed-off-by: Stefano Stabellini CC: andre.przyw...@arm.com --- xen/arch/arm/platforms/Kconfig | 12 xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 09/10] xen/arm: add B15 kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Broadcom B15 platforms. Signed-off-by: Stefano Stabellini CC: jfra...@broadcom.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 06/10] xen/arm: add OMAP5 kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for TI OMAP5 platforms. Signed-off-by: Stefano Stabellini CC: baoz...@gmail.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/platforms/Kconfig

[Xen-devel] [PATCH 05/10] xen/arm: add RCAR2 kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Renesas Rcar2 platforms. Signed-off-by: Stefano Stabellini CC: iurii.konovale...@globallogic.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 04/10] xen/arm: add SEATTLE kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for ARM Seattle platforms. Signed-off-by: Stefano Stabellini CC: suravee.suthikulpa...@amd.com --- xen/arch/arm/platforms/Kconfig | 12 xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 08/10] xen/arm: add EXYNOS5 kconfig

2018-08-20 Thread Stefano Stabellini
Add a kconfig option for Samsung Exynos5 platforms. Signed-off-by: Stefano Stabellini CC: julien.gr...@linaro.org CC: casion...@gmail.com CC: suriya...@gmail.com --- xen/arch/arm/platforms/Kconfig | 11 +++ xen/arch/arm/platforms/Makefile | 2 +- 2 files changed, 12 insertions(+), 1

Re: [Xen-devel] [PATCH RESEND] x86/xen: enable early use of set_fixmap in 32-bit Xen PV guest

2018-08-20 Thread Boris Ostrovsky
On 08/20/2018 11:24 AM, Juergen Gross wrote: > Commit 7b25b9cb0dad83 ("x86/xen/time: Initialize pv xen time in > init_hypervisor_platform()") moved the mapping of the shared info area > before pagetable_init(). This breaks booting as 32-bit PV guest as the > use of set_fixmap isn't possible at

Re: [Xen-devel] [PATCH] x86/xen: remove unused function xen_auto_xlated_memory_setup()

2018-08-20 Thread Boris Ostrovsky
On 08/20/2018 09:02 AM, Juergen Gross wrote: > xen_auto_xlated_memory_setup() is a leftover from PVH V1. Remove it. > > Signed-off-by: Juergen Gross > Applied to for-linus-19b. -boris ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH] xen: remove unused hypercall functions

2018-08-20 Thread Boris Ostrovsky
On 08/20/2018 09:03 AM, Juergen Gross wrote: > Remove Xen hypercall functions which are used nowhere in the kernel. > > Signed-off-by: Juergen Gross > --- Applied to for-linus-19b. -boris ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH 15/15] xen/arm: traps: Move the implementation of GUEST_BUG_ON in traps.h

2018-08-20 Thread Stefano Stabellini
On Mon, 20 Aug 2018, Julien Grall wrote: > Hi Stefano, > > On Thu, 16 Aug 2018, 19:17 Stefano Stabellini, wrote: > On Thu, 16 Aug 2018, Julien Grall wrote: > > Hi Stefano, > > > > On 08/14/2018 10:43 PM, Stefano Stabellini wrote: > > > On Mon, 16 Jul 2018, Julien

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

2018-08-20 Thread osstest service owner
flight 126195 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/126195/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 123814 build-amd64-libvirt

Re: [Xen-devel] [PATCH] build: remove tboot make targets

2018-08-20 Thread Christopher Clark
On Mon, Aug 20, 2018 at 1:38 AM, Wei Liu wrote: > On Sat, Aug 18, 2018 at 09:22:05PM -0500, Doug Goldstein wrote: >> The tboot targets are woefully out of date. These should really be >> retired because setting up tboot is more complex than the build process >> for it. >> >> Signed-off-by: Doug

[Xen-devel] [PATCH] tools: fix uninstall: tests/x86_emulator, Linux hotplug

2018-08-20 Thread Christopher Clark
Fixing top-level "make uninstall": tools/tests/x86_emulator is missing an uninstall target, which causes failure. Trivial to add one since it installs nothing, so do that. Linux hotplug uninstall returns success but doesn't actually remove what it installed. The Makefile variables are

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

2018-08-20 Thread osstest service owner
flight 126189 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/126189/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumprun-i386 12 guest-start fail REGR. vs. 126042

[Xen-devel] [linux-3.18 baseline-only test] 75092: regressions - FAIL

2018-08-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75092 linux-3.18 real [real] http://osstest.xensource.com/osstest/logs/75092/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-vhd 10 debian-di-install

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

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

[Xen-devel] [linux-linus bisection] complete test-amd64-i386-freebsd10-i386

2018-08-20 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-freebsd10-i386 testid xen-boot 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

Re: [Xen-devel] [PATCH] xenpmd: prevent format-truncation warning with gcc 8.2 + ARM 32-bit

2018-08-20 Thread Christopher Clark
On Mon, Aug 20, 2018 at 7:21 AM, Wei Liu wrote: > On Fri, Aug 17, 2018 at 06:22:16PM -0700, Christopher Clark wrote: >> >> Prior to this change, building fails with the compiler warning: >> >> | xenpmd.c: In function 'write_battery_info_to_xenstore': >> | xenpmd.c:354:23: error: '%02x' directive

Re: [Xen-devel] [PATCH RESEND] x86/xen: enable early use of set_fixmap in 32-bit Xen PV guest

2018-08-20 Thread Juergen Gross
On 20/08/18 18:56, Boris Ostrovsky wrote: > On 08/20/2018 11:24 AM, Juergen Gross wrote: >> Commit 7b25b9cb0dad83 ("x86/xen/time: Initialize pv xen time in >> init_hypervisor_platform()") moved the mapping of the shared info area >> before pagetable_init(). This breaks booting as 32-bit PV guest

Re: [Xen-devel] [PATCH RESEND] x86/xen: enable early use of set_fixmap in 32-bit Xen PV guest

2018-08-20 Thread Boris Ostrovsky
On 08/20/2018 11:24 AM, Juergen Gross wrote: > Commit 7b25b9cb0dad83 ("x86/xen/time: Initialize pv xen time in > init_hypervisor_platform()") moved the mapping of the shared info area > before pagetable_init(). This breaks booting as 32-bit PV guest as the > use of set_fixmap isn't possible at

[Xen-devel] [PATCH] xen: cpupool: forbid to split cores among different pools

2018-08-20 Thread Dario Faggioli
On a system with hyperthreading, we currently allow putting cpus that are SMT siblings in different cpupools. This is bad for a number of reasons. For instance, the schedulers can't know whether or not a core is fully idle or not, if the threads of such core are in different pools. This right now

[Xen-devel] [xen-unstable test] 126184: regressions - trouble: broken/fail/pass

2018-08-20 Thread osstest service owner
flight 126184 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/126184/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xen-xsm-freebsd broken build-amd64-xen-xsm-freebsd 5

Re: [Xen-devel] [Xen-users] Future of 32-bit PV support

2018-08-20 Thread Hans van Kranenburg
On 08/17/2018 06:09 AM, Juergen Gross wrote: > On 17/08/18 00:33, Andy Smith wrote: >> Hi Juergen, >> >> [...] >> If so, could the final removal of 32-bit PV in the Linux kernel be >> held off until there is: >> >> 1) a kernel shipping in Debian stable, Ubuntu LTS and CentOS that >>boots

Re: [Xen-devel] [PATCH] MAINTAINERS: add myself as a reviewer for x86 patches

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 17:25, wrote: > Signed-off-by: Wei Liu Acked-by: Jan Beulich And thanks for all the help you've provided here already, plus all the reviews to come. Jan ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] Future of 32-bit PV support

2018-08-20 Thread Juergen Gross
On 20/08/18 17:31, Manuel Bouyer wrote: > On Thu, Aug 16, 2018 at 08:17:13AM +0200, Juergen Gross wrote: >> In the Xen x86 community call we have been discussing whether anyone >> really is depending on 32-bit PV guests. We'd like to evaluate whether >> anyone would see problems with: >> >> -

Re: [Xen-devel] Future of 32-bit PV support

2018-08-20 Thread Manuel Bouyer
On Thu, Aug 16, 2018 at 08:17:13AM +0200, Juergen Gross wrote: > In the Xen x86 community call we have been discussing whether anyone > really is depending on 32-bit PV guests. We'd like to evaluate whether > anyone would see problems with: > > - deprecating 32-bit PV guest support in Xen,

[Xen-devel] [PATCH] MAINTAINERS: add myself as a reviewer for x86 patches

2018-08-20 Thread Wei Liu
Signed-off-by: Wei Liu --- Since I'm changing x86 code all over the place, I'd better keep up with what's going on. --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f28d0e1ee0..1970100b37 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -440,6

[Xen-devel] [PATCH] MAINTAINERS: add myself as a reviewer for x86 patches

2018-08-20 Thread Wei Liu
Signed-off-by: Wei Liu --- Since I'm changing x86 code all over the place, I'd better keep up with what's going on. --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f28d0e1ee0..1970100b37 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -440,6

[Xen-devel] [PATCH RESEND] x86/xen: enable early use of set_fixmap in 32-bit Xen PV guest

2018-08-20 Thread Juergen Gross
Commit 7b25b9cb0dad83 ("x86/xen/time: Initialize pv xen time in init_hypervisor_platform()") moved the mapping of the shared info area before pagetable_init(). This breaks booting as 32-bit PV guest as the use of set_fixmap isn't possible at this time on 32-bit. This can be worked around by

Re: [Xen-devel] [PATCH] libxl: Handle deprecation of QEMU's -usbdevice

2018-08-20 Thread Anthony PERARD
On Mon, Aug 20, 2018 at 03:32:58PM +0100, Wei Liu wrote: > On Wed, Jul 25, 2018 at 11:43:29AM +0100, Anthony PERARD wrote: > > On Wed, Jul 25, 2018 at 09:38:20AM +0100, Wei Liu wrote: > > > How does libvirt handle QEMU option deprecation? > > > > I don't think they handle it very well. I think

Re: [Xen-devel] [PATCH v4 11/32] libxl_dm: Add libxl__qemu_qmp_path()

2018-08-20 Thread Wei Liu
On Fri, Jul 27, 2018 at 03:05:53PM +0100, Anthony PERARD wrote: > ... which generate the path to a QMP socket that libxl uses. > > Signed-off-by: Anthony PERARD Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH v4 09/32] libxl_qmp: Remove unused yajl_ctx from handler

2018-08-20 Thread Wei Liu
On Fri, Jul 27, 2018 at 03:05:51PM +0100, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD > Acked-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH 2/2] x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear

2018-08-20 Thread Juergen Gross
On 20/08/18 15:26, Thomas Gleixner wrote: > On Mon, 20 Aug 2018, Juergen Gross wrote: >> In case adding about 6 cycles for native_ptep_get_and_clear() is believed >> to be too bad I can modify the patch to add a paravirt function for that >> purpose in order to add the overhead for Xen guests only

Re: [Xen-devel] [PATCH v4 08/32] libxl: Add libxl__prepare_sockaddr_un() helper

2018-08-20 Thread Wei Liu
On Fri, Jul 27, 2018 at 03:05:50PM +0100, Anthony PERARD wrote: > There is going to be a few more users that want to use UNIX socket, this > helper is to prepare the `struct sockaddr_un` and check that the path > isn't too long. > > Also start to use it in libxl_qmp.c. > > Signed-off-by: Anthony

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

2018-08-20 Thread osstest service owner
flight 126250 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/126250/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 131818ba5a83d1e8f3f1b4c041200755fff64abb baseline version: ovmf

Re: [Xen-devel] [PATCH v4 07/32] libxl_qmp: Move struct sockaddr_un variable to qmp_open()

2018-08-20 Thread Wei Liu
On Fri, Jul 27, 2018 at 03:05:49PM +0100, Anthony PERARD wrote: > This variable is only used once, no need to keep it in the handler. > > Also fix coding style (remove space after sizeof). > And allow strncpy to use all the space in sun_path. > > Signed-off-by: Anthony PERARD Acked-by: Wei Liu

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

2018-08-20 Thread osstest service owner
flight 126187 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/126187/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumprun-amd64 12 guest-startfail REGR. vs. 125183

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-08-20 Thread Wei Liu
On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: [...] > diff --git a/tools/libs/gnttab/linux.c b/tools/libs/gnttab/linux.c > index 8347ddd3d9cf..9765146f7eb6 100644 > --- a/tools/libs/gnttab/linux.c > +++ b/tools/libs/gnttab/linux.c > @@ -1,5 +1,6 @@ > /* > * Copyright

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

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

Re: [Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Roger Pau Monné
On Mon, Aug 20, 2018 at 03:04:37PM +0100, Ian Jackson wrote: > Roger Pau Monné writes ("Re: [PATCH 2/2] osstest: configure git proxy for > FreeBSD"): > > On Mon, Aug 20, 2018 at 11:53:17AM +0100, Ian Jackson wrote: > > > Roger Pau Monne writes ("[PATCH 2/2] osstest: configure git proxy for > > >

Re: [Xen-devel] [PATCH] libxl: Handle deprecation of QEMU's -usbdevice

2018-08-20 Thread Wei Liu
On Wed, Jul 25, 2018 at 11:43:29AM +0100, Anthony PERARD wrote: > On Wed, Jul 25, 2018 at 09:38:20AM +0100, Wei Liu wrote: > > On Thu, Jul 19, 2018 at 06:29:29PM +0100, Anthony PERARD wrote: > > > -usbdevice is deprecated as of QEMU 2.10. > > > > > > This patch replace the few options documented

[Xen-devel] [freebsd-master test] 126247: tolerable FAIL - PUSHED

2018-08-20 Thread osstest service owner
flight 126247 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/126247/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: build-amd64-xen-freebsd 7 xen-build-freebsdfail never pass version targeted for testing:

Re: [Xen-devel] [PATCH] tools: libxl/xl: run NUMA placement even when an hard-affinity is set

2018-08-20 Thread Dario Faggioli
On Mon, 2018-08-20 at 11:14 +0100, Wei Liu wrote: > On Fri, Aug 17, 2018 at 07:03:03PM +0200, Dario Faggioli wrote: > > @@ -27,6 +27,8 @@ > > > > #include "_paths.h" > > > > +//#define DEBUG 1 > > + > > Stray changes here? > > You can use NDEBUG instead. > I found this in one other place

Re: [Xen-devel] [PATCH] xenpmd: prevent format-truncation warning with gcc 8.2 + ARM 32-bit

2018-08-20 Thread Wei Liu
On Fri, Aug 17, 2018 at 06:22:16PM -0700, Christopher Clark wrote: > xenpmd writes battery information to xenstore, including a string with a > formatted hex value calculated from summing the lengths of four strings, > plus some constants. > > Each of the four strings has a maximum length of 31

Re: [Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH 2/2] osstest: configure git proxy for FreeBSD"): > On Mon, Aug 20, 2018 at 11:53:17AM +0100, Ian Jackson wrote: > > Roger Pau Monne writes ("[PATCH 2/2] osstest: configure git proxy for > > FreeBSD"): > > > Signed-off-by: Roger Pau Monné > > > > Acked-by:

Re: [Xen-devel] [PATCH 2/2] x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear

2018-08-20 Thread Thomas Gleixner
On Mon, 20 Aug 2018, Juergen Gross wrote: > In case adding about 6 cycles for native_ptep_get_and_clear() is believed > to be too bad I can modify the patch to add a paravirt function for that > purpose in order to add the overhead for Xen guests only (in fact the > overhead for Xen guests will be

Re: [Xen-devel] [PATCH] x86/xen: enable early use of set_fixmap in 32-bit Xen PV guest

2018-08-20 Thread Thomas Gleixner
On Fri, 17 Aug 2018, Juergen Gross wrote: > Commit 7b25b9cb0dad83 ("x86/xen/time: Initialize pv xen time in > init_hypervisor_platform()") moved the mapping of the shared info area > before pagetable_init(). This breaks booting as 32-bit PV guest as the > use of set_fixmap isn't possible at this

[Xen-devel] [xen-unstable baseline-only test] 75091: regressions - FAIL

2018-08-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75091 xen-unstable real [real] http://osstest.xensource.com/osstest/logs/75091/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-i386-pvgrub 10 debian-di-install

Re: [Xen-devel] [PATCH 08/34] x86: enclose hvm_op and dm_op in CONFIG_HVM in PV hypercall table

2018-08-20 Thread Wei Liu
On Mon, Aug 20, 2018 at 05:59:38AM -0600, Jan Beulich wrote: > >>> On 17.08.18 at 17:12, wrote: > > --- a/xen/arch/x86/pv/hypercall.c > > +++ b/xen/arch/x86/pv/hypercall.c > > @@ -68,7 +68,9 @@ const hypercall_table_t pv_hypercall_table[] = { > > #endif > > HYPERCALL(event_channel_op), > >

Re: [Xen-devel] [PATCH 19/34] x86: check HVM before trying to get ioreq server

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -4382,6 +4382,10 @@ int arch_acquire_resource(struct domain *d, unsigned > int type, > unsigned int i; > > rc = -EINVAL; > +if ( !is_hvm_domain(d) ) > +break; > + > +

Re: [Xen-devel] [PATCH] x86/mm: re-arrange get_page_from_le() vs pv_l1tf_check_le

2018-08-20 Thread Wei Liu
On Mon, Aug 20, 2018 at 05:37:32AM -0600, Jan Beulich wrote: > >>> On 20.08.18 at 11:59, wrote: > > On Fri, Aug 17, 2018 at 12:42:31AM -0600, Jan Beulich wrote: > >> Restore symmetry between get_page_from_le(): pv_l1tf_check_le is > >> uniformly invoked from outside of them. They're no longer

Re: [Xen-devel] [PATCH 18/34] x86/amd: skip OSVW function calls if !CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > The two functions are not needed when HVM is not supported in > hypervisor. > > Note that using hvm_enabled won't work because early_microcode_init > gets to cpu_request_microcode before hvm_enabled is set in presmp init > call stage. > > Signed-off-by: Wei

Re: [Xen-devel] [PATCH 17/34] x86/vmce: enclose HVM load / save code in CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > Signed-off-by: Wei Liu Acked-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH] xen: remove unused hypercall functions

2018-08-20 Thread Juergen Gross
Remove Xen hypercall functions which are used nowhere in the kernel. Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/hypercall.h | 118 --- 1 file changed, 118 deletions(-) diff --git a/arch/x86/include/asm/xen/hypercall.h

Re: [Xen-devel] [PATCH 16/34] x86/hvm: enclose hvm_enabled and hvm_funcs in CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > This helps to take advantage of dead code elimination. Turn > hvm_enabled into proper bool while at it. > > Providing an empty hvm_funcs resolves a lot of undefined references to > it in the header. It is safe to do so because those functions / macros > are not

[Xen-devel] [PATCH] x86/xen: remove unused function xen_auto_xlated_memory_setup()

2018-08-20 Thread Juergen Gross
xen_auto_xlated_memory_setup() is a leftover from PVH V1. Remove it. Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 31 --- arch/x86/xen/xen-ops.h | 1 - 2 files changed, 32 deletions(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index

Re: [Xen-devel] [PATCH 31/34] xen: refuse to create HVM guests when !CONFIG_HVM

2018-08-20 Thread Andrew Cooper
On 17/08/2018 16:12, Wei Liu wrote: > Signed-off-by: Wei Liu > --- > xen/common/domain.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/xen/common/domain.c b/xen/common/domain.c > index 171d25e..a22df12 100644 > --- a/xen/common/domain.c > +++

Re: [Xen-devel] [PATCH 15/34] x86/nestedhvm: make it build with !CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: The title isn't very consistent within itself: Nested-HVM code is certainly not to be built without CONFIG_HVM. > @@ -70,7 +74,18 @@ unsigned long *nestedhvm_vcpu_iomap_get(bool_t ioport_80, > bool_t ioport_ed); > > void nestedhvm_vmcx_flushtlb(struct

Re: [Xen-devel] [PATCH 14/34] x86/pt: add HVM check to XEN_DOMCTL_unbind_pt_irq

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > Its counterpart is HVM only. Add the check to help dead code > elimination to figure out the call to pt_irq_destroy_bind is not > needed when HVM is not enabled. > > Signed-off-by: Wei Liu Acked-by: Jan Beulich And strictly speaking this would make more

Re: [Xen-devel] [PATCH 12/34] x86/pt: only call some functions for HVM guests

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: For the subject, do you perhaps mean "call some functions for HVM guests only"? Otherwise, putting emphasis on "some", the sense gets sort of inverted from what I think you mean. > --- a/xen/arch/x86/hvm/vmsi.c > +++ b/xen/arch/x86/hvm/vmsi.c > @@ -561,7 +561,9

Re: [Xen-devel] [PATCH 11/34] xen/pt: io.c contains HVM only code

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > --- a/xen/drivers/passthrough/Makefile > +++ b/xen/drivers/passthrough/Makefile > @@ -4,6 +4,8 @@ subdir-$(CONFIG_X86) += x86 > subdir-$(CONFIG_ARM) += arm > > obj-y += iommu.o > -obj-$(CONFIG_X86) += io.o > +ifeq ($(CONFIG_X86),y) > +obj-$(CONFIG_HVM) +=

Re: [Xen-devel] [PATCH 10/34] x86: stub out has_* testing for emulation flags

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > Most are all HVM only. Provide stubs for !CONFIG_HVM. > > One exception is PIT emulation, which is available to both PV and HVM. > > Signed-off-by: Wei Liu > --- > xen/include/asm-x86/domain.h | 24 +++- > 1 file changed, 23

Re: [Xen-devel] [PATCH 13/34] x86/pt: split out HVM functions from vtd.c

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > --- /dev/null > +++ b/xen/drivers/passthrough/vtd/x86/hvm.c > @@ -0,0 +1,77 @@ > +/* > + * Copyright (c) 2008, Intel Corporation. > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU

Re: [Xen-devel] [PATCH 09/34] x86: guard HAS_VPCI with CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > VPCI is only useful for PVH / HVM guests. Ideally CONFIG_HVM should > imply !PV_SHIM_EXCLUSIVE, but we still want to build PV_SHIM_EXCLUSIVE > with CONFIG_HVM at this stage because a lot of things are still > entangled. Hmm, yes, this would probably not work

Re: [Xen-devel] [PATCH 08/34] x86: enclose hvm_op and dm_op in CONFIG_HVM in PV hypercall table

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > --- a/xen/arch/x86/pv/hypercall.c > +++ b/xen/arch/x86/pv/hypercall.c > @@ -68,7 +68,9 @@ const hypercall_table_t pv_hypercall_table[] = { > #endif > HYPERCALL(event_channel_op), > COMPAT_CALL(physdev_op), > +#ifdef CONFIG_HVM >

Re: [Xen-devel] [PATCH 07/34] x86: only call memory_type_changed for HVM guests

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > --- a/xen/arch/x86/domctl.c > +++ b/xen/arch/x86/domctl.c > @@ -416,7 +416,7 @@ long arch_do_domctl( > ret = ioports_permit_access(d, fp, fp + np - 1); > else > ret = ioports_deny_access(d, fp, fp + np - 1); > -if (

Re: [Xen-devel] [PATCH 05/34] xen: is_hvm_domain should evaluate to 0 when !CONFIG_HVM

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 17:12, wrote: > Since it is defined in common header file, introduce CONFIG_HVM to > Arm to avoid breakage. > > Signed-off-by: Wei Liu > --- > xen/arch/arm/Kconfig| 3 +++ > xen/include/xen/sched.h | 6 ++ > 2 files changed, 9 insertions(+) > > diff --git

Re: [Xen-devel] [PATCH v2 1/2] dmar: iommu mem leak fix

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 12:42, wrote: > Release memory allocated for drhd iommu in error path. > > -v2: fixup wrong parameter hiden due to my removing -Werror This line belongs ... > Signed-off-by: Zhenzhong Duan > --- ... here, so it won't end up in the commit message. Still Reviewed-by: Jan

Re: [Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH 2/2] osstest: configure git proxy for FreeBSD"): > On Mon, Aug 20, 2018 at 11:53:17AM +0100, Ian Jackson wrote: > > Do you want me to push these to pretest soon ? > > If you could, yes please. I'm hoping this will unblock the FreeBSD > build, or at least get

Re: [Xen-devel] [PATCH] x86/mm: re-arrange get_page_from_le() vs pv_l1tf_check_le

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 11:59, wrote: > On Fri, Aug 17, 2018 at 12:42:31AM -0600, Jan Beulich wrote: >> Restore symmetry between get_page_from_le(): pv_l1tf_check_le is >> uniformly invoked from outside of them. They're no longer getting called >> for non-present PTEs. This way the slightly odd

Re: [Xen-devel] [PATCH v2 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 11:38, wrote: > On 2018/8/20 15:45, Jan Beulich wrote: > On 20.08.18 at 05:38, wrote: >>> I'm thinking about moving below piece of code earlier too, and I checked >>> pci_mmcfg_check_hostbridge() carefully, it's secure, what do you think >>> about that? >>> >>>

[Xen-devel] 答复: [PATCH v2 2/2] x86/dmar: zap DMAR signature for dom0 once in TBOOT case

2018-08-20 Thread Zhenzhong Duan
Please ignore this patch, looks description is wrong, I'll resend, sorry for noise. Zhenzhong - zhenzhong.d...@oracle.com wrote: > When TBOOT enabled, acpi_parse_dmar() zap a copy of DMAR table rather > than the real table, so make it controled by config option based on > the > fact that we

Re: [Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Roger Pau Monné
On Mon, Aug 20, 2018 at 11:53:17AM +0100, Ian Jackson wrote: > Roger Pau Monne writes ("[PATCH 2/2] osstest: configure git proxy for > FreeBSD"): > > Signed-off-by: Roger Pau Monné > > Acked-by: Ian Jackson > > Thanks. > > Do you want me to push these to pretest soon ? If you could, yes

Re: [Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH 2/2] osstest: configure git proxy for FreeBSD"): > Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson Thanks. Do you want me to push these to pretest soon ? Ian. ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 1/2] osstest: make git proxy setup common

2018-08-20 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH 1/2] osstest: make git proxy setup common"): > By moving it into TestSupport. No functional change. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

[Xen-devel] [PATCH 1/2] osstest: make git proxy setup common

2018-08-20 Thread Roger Pau Monne
By moving it into TestSupport. No functional change. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson --- Osstest/TestSupport.pm | 20 ts-xen-build-prep | 19 --- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Osstest/TestSupport.pm

[Xen-devel] [PATCH 2/2] osstest: configure git proxy for FreeBSD

2018-08-20 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson --- ts-build-prep-freebsd | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-build-prep-freebsd b/ts-build-prep-freebsd index e3220fa8..0ed30be4 100755 --- a/ts-build-prep-freebsd +++ b/ts-build-prep-freebsd @@ -38,6 +38,7 @@ sub

[Xen-devel] [PATCH v2 2/2] x86/dmar: zap DMAR signature for dom0 once in TBOOT case

2018-08-20 Thread Zhenzhong Duan
When TBOOT enabled, acpi_parse_dmar() zap a copy of DMAR table rather than the real table, so make it controled by config option based on the fact that we already have done the real zapping in tboot_parse_dmar_table(). As said above, acpi_parse_dmar() doesn't zaps APCI DMAR signature in real TXT

[Xen-devel] [PATCH v2 1/2] dmar: iommu mem leak fix

2018-08-20 Thread Zhenzhong Duan
Release memory allocated for drhd iommu in error path. -v2: fixup wrong parameter hiden due to my removing -Werror Signed-off-by: Zhenzhong Duan --- xen/drivers/passthrough/vtd/dmar.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xen/drivers/passthrough/vtd/dmar.c

Re: [Xen-devel] [PATCH] osstest: setup git proxy for FreeBSD

2018-08-20 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH] osstest: setup git proxy for FreeBSD"): > Make the git proxy setup common by moving it into TestSupport and use > it for both Linux and FreeBSD. Can you please split the code motion from the functional change ? Thanks, Ian.

Re: [Xen-devel] [PATCH] tools/tests: fix an xs-test.c issue

2018-08-20 Thread Ian Jackson
Wei Liu writes ("[PATCH] tools/tests: fix an xs-test.c issue"): > The ret variable can be used uninitialised when iters is 0. Initialise > ret at the beginning to fix this issue. Acked-by: Ian Jackson ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH] tools/kdd: work around gcc 8.1 bug

2018-08-20 Thread Ian Jackson
Wei Liu writes ("[PATCH] tools/kdd: work around gcc 8.1 bug"): > Gcc 8.1 has a bug that causes kdd fail to build. Rewrite the code to > work around that bug. Acked-by: Ian Jackson Thanks, Ian. ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH 1/2] tools: update ipxe changeset

2018-08-20 Thread Ian Jackson
Wei Liu writes ("[PATCH 1/2] tools: update ipxe changeset"): > This placates gcc 8.1. The commit comes from ipxe master branch as of > July 25, 2018. Fine, whatever. FTR, I don't think it is useful to ask for an ack of this kind of patch, assuming the commit is indeed from ipxe master. (And if

Re: [Xen-devel] [PATCH 2/2] xenpmd: make 32 bit gcc 8.1 non-debug build work

2018-08-20 Thread Ian Jackson
Wei Liu writes ("[PATCH 2/2] xenpmd: make 32 bit gcc 8.1 non-debug build work"): > 32 bit gcc 8.1 non-debug build yields: ... > /* write 9 dwords (so 9*4) + length of 4 strings + 4 null terminators */ > -snprintf(val, 3, "%02x", > - (unsigned int)(9*4 + > -

  1   2   >