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 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

[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

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] [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

[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] [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

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

[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

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] [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

[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] [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 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 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] 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

[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] [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] [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 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

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 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

[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

[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 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

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.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

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] [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

[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

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] [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] 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 @@

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

[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 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] 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

[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 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] [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 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

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 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 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] 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 v3 5/5] x86: use PDEP for PTE flags insertion when available

2018-08-20 Thread Jan Beulich
>>> On 18.08.18 at 03:08, wrote: > On Aug 17, 2018, at 03:24, Jan Beulich wrote: >> >> This replaces 5 instructions by a single one, further reducing code size, >> cache, and TLB footprint (in particular on systems supporting BMI2). > > This link claims that BMI2 may be less

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 05:38, wrote: > On 2018/8/17 20:28, Jan Beulich wrote: > On 17.08.18 at 09:01, wrote: >>> pci_conf_read8() needs pci mmcfg mapping to work on multiple pci segments >>> system such as HPE Superdome-Flex. >>> >>> Move acpi_mmcfg_init() call in acpi_boot_init() before calling

[Xen-devel] [xen-4.10-testing test] 126165: tolerable FAIL - PUSHED

2018-08-20 Thread osstest service owner
flight 126165 xen-4.10-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/126165/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 10 debian-hvm-install fail never pass

Re: [Xen-devel] [PATCH v2 2/2] x86/spec-ctrl: add support for modifying SSBD VIA LS_CFG MSR

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 20:45, wrote: > On Fri, Aug 17, 2018 at 12:59:28AM -0600, Jan Beulich wrote: >> >>> On 16.08.18 at 22:02, wrote: >> > On Wed, Aug 15, 2018 at 10:00:48AM -0600, Jan Beulich wrote: >> >> > +bool __read_mostly ssbd_amd_smt_en = false; >> >> > +bool __read_mostly

Re: [Xen-devel] [PATCH v5 4/8] mm: introduce a helper to get the memory type of a page

2018-08-20 Thread Jan Beulich
>>> On 17.08.18 at 18:37, wrote: > On Fri, Aug 17, 2018 at 04:31:21AM -0600, Jan Beulich wrote: >> >>> On 17.08.18 at 12:17, wrote: >> On 14.08.18 at 15:43, wrote: >> >> +switch ( e820.map[i].type ) >> >> +{ >> >> +case E820_RAM: >> >> +

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 + > -

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] 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] 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.

[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 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

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 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] tools: libxl/xl: run NUMA placement even when an hard-affinity is set

2018-08-20 Thread Wei Liu
On Fri, Aug 17, 2018 at 07:03:03PM +0200, Dario Faggioli wrote: > Right now, if either an hard or soft-affinity are explicitly specified > in a domain's config file, automatic NUMA placement is skipped. However, > automatic NUMA placement affects only the soft-affinity of the domain > which is

[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 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 04/34] x86/mm: don't reference hvm_funcs directly

2018-08-20 Thread Wei Liu
On Mon, Aug 20, 2018 at 10:28:21AM +0100, Andrew Cooper wrote: > On 17/08/2018 16:12, Wei Liu wrote: > > diff --git a/xen/include/asm-x86/hvm/hvm.h b/xen/include/asm-x86/hvm/hvm.h > > index 4f720ad..146720c 100644 > > --- a/xen/include/asm-x86/hvm/hvm.h > > +++ b/xen/include/asm-x86/hvm/hvm.h > >

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

[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

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

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

[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 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? >>> >>>

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

2018-08-20 Thread Zhenzhong Duan
On 2018/8/20 16:44, Andrew Cooper wrote: On 20/08/2018 09:30, Jan Beulich wrote: On 20.08.18 at 05:32, 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 already have done the real

Re: [Xen-devel] [PATCH 00/34] Make CONFIG_HVM work

2018-08-20 Thread Wei Liu
On Mon, Aug 20, 2018 at 10:13:07AM +0100, Andrew Cooper wrote: > On 17/08/2018 16:12, Wei Liu wrote: > > This series goes through x86 code to make CONFIG_HVM work. > > > > With this series, it is possible to build Xen with PV support only. > > > > Running `xl info` on a host with PV only Xen: > >

Re: [Xen-devel] [RFC PATCH 1/2] xen/arm: Add Amlogic S905 SoC early printk support

2018-08-20 Thread Amit Tomer
Hello, > I would prefer if no new alias are added. The same could be achieved with > CONFIG_EARLY_PRINTK=meson,0xc81004c0. > > This could be documented on the wiki. Ok. > I would prefer if we stick with the spec name. So UART_TX_REG should be > renamed UART_WFIFO_REG. Yeah right, got your

Re: [Xen-devel] Armv8-A: Not able to enable secondary CPUs in Hikey960 board

2018-08-20 Thread Omkar Bolla
Hi Julien, I tried today with your patch in xen-4.11 Still has secondary cpus problems, Please find below log after that patch in xen-4.11 Loading driver at 0x000B03B5000 EntryPoint=0x000B044907C Loading driver at 0x000B03B5000

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

2018-08-20 Thread Roger Pau Monne
Make the git proxy setup common by moving it into TestSupport and use it for both Linux and FreeBSD. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson --- Osstest/TestSupport.pm | 20 ts-build-prep-freebsd | 1 + ts-xen-build-prep | 19 --- 3 files

Re: [Xen-devel] [RFC PATCH 2/2] xen/arm: Add MESON UART driver for Amlogic S905 SoC

2018-08-20 Thread Amit Tomer
Hello, Thanks for having a look at it. > The spec does not seems to provide the offset register. Where did you find > them? Actually, looked at couple of references from u-boot and Linux. These headers are picked from there. > AFAIK, {0} is not necessary. Ok. >> + >> +#define

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

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 05:32, wrote: > Release memory allocated for drhd iommu in error path. > > Signed-off-by: Zhenzhong Duan Reviewed-by: Jan Beulich But this needs a maintainer ack, and you didn't Cc him (now done). Jan > --- a/xen/drivers/passthrough/vtd/dmar.c > +++

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

2018-08-20 Thread Jan Beulich
>>> On 19.08.18 at 04:22, 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 Goldstein Acked-by: Jan Beulich But I think you would better have Cc-ed the

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

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 07:14, wrote: > @@ -148,14 +150,14 @@ static inline void pud_clear(pud_t *pudp) > #ifdef CONFIG_SMP > static inline pte_t native_ptep_get_and_clear(pte_t *ptep) > { > - pte_t res; > + union { > + pte_t pte; > + long long val; > + } res;

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

2018-08-20 Thread Zhenzhong Duan
On 2018/8/20 16:30, Jan Beulich wrote: On 20.08.18 at 05:32, 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 already have done the real zapping in tboot_parse_dmar_table(). Is

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

2018-08-20 Thread Julien Grall
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 Grall wrote: > > > > GUEST_BUG_ON may be used in other files doing guest

[Xen-devel] Xen Security Advisory 270 v3 (CVE-2018-15471) - Linux netback driver OOB access in hash handling

2018-08-20 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xen Security Advisory CVE-2018-15471 / XSA-270 version 3 Linux netback driver OOB access in hash handling UPDATES IN VERSION 3 CVE assigned. ISSUE DESCRIPTION

[Xen-devel] Xen Security Advisory 272 v3 (CVE-2018-15470) - oxenstored does not apply quota-maxentity

2018-08-20 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xen Security Advisory CVE-2018-15470 / XSA-272 version 3 oxenstored does not apply quota-maxentity UPDATES IN VERSION 3 CVE assigned. ISSUE DESCRIPTION

[Xen-devel] Xen Security Advisory 269 v3 (CVE-2018-15468) - x86: Incorrect MSR_DEBUGCTL handling lets guests enable BTS

2018-08-20 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xen Security Advisory CVE-2018-15468 / XSA-269 version 3 x86: Incorrect MSR_DEBUGCTL handling lets guests enable BTS UPDATES IN VERSION 3 CVE assigned. ISSUE DESCRIPTION

[Xen-devel] Xen Security Advisory 268 v3 (CVE-2018-15469) - Use of v2 grant tables may cause crash on ARM

2018-08-20 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xen Security Advisory CVE-2018-15469 / XSA-268 version 3 Use of v2 grant tables may cause crash on ARM UPDATES IN VERSION 3 CVE assigned. ISSUE DESCRIPTION

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

2018-08-20 Thread Wei Liu
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 three-way return value > meaning of the

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

2018-08-20 Thread Andrew Cooper
On 20/08/2018 09:30, Jan Beulich wrote: On 20.08.18 at 05:32, 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 already have done the real zapping in

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

2018-08-20 Thread Jan Beulich
>>> On 20.08.18 at 10:40, wrote: > On 2018/8/20 16:30, Jan Beulich wrote: > On 20.08.18 at 05:32, 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 already have done

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

2018-08-20 Thread Oleksandr Andrushchenko
ping On 07/23/2018 03:27 PM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Add support for Linux grant device driver extension which allows converting existing dma-buf's into an array of grant references and vise versa. This is only implemented for Linux as other OSes have no

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

2018-08-20 Thread osstest service owner
flight 126174 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/126174/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-cubietruck 6 xen-installfail REGR. vs. 125959 Tests which did

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 10:40, Jan Beulich wrote: On 20.08.18 at 07:14, wrote: >> @@ -148,14 +150,14 @@ static inline void pud_clear(pud_t *pudp) >> #ifdef CONFIG_SMP >> static inline pte_t native_ptep_get_and_clear(pte_t *ptep) >> { >> -pte_t res; >> +union { >> +pte_t pte; >> +

  1   2   >