[Xen-devel] Pending patches for 4.11?

2018-05-21 Thread Juergen Gross
Are there any patches for 4.11 still pending? Are any important patches missing my Release-ack? I'd like to have a final rc this Friday and hope OSStest will catch up in order to have an on time release early June. Juergen ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v2 07/10] arm: make it possible to disable the SMMU driver

2018-05-21 Thread Jan Beulich
>--- a/xen/drivers/passthrough/Kconfig >+++ b/xen/drivers/passthrough/Kconfig >@@ -1,3 +1,11 @@ > >config HAS_PASSTHROUGH >bool >+ >+config SMMUv2 >+ bool "ARM SMMUv1 and v2 driver" >+ default y >+ depends on ARM Anticipating further additions here, I would prefer the "if ARM" form

Re: [Xen-devel] [PATCH v2 06/10] xen: remove HAS_ prefix from UART Kconfig options

2018-05-21 Thread Jan Beulich
>>> Stefano Stabellini 05/22/18 2:53 AM >>> >UART drivers are now selectable by the user. To mark the change, remove >the HAS_ prefix. Same comment as on patch 3. Jan ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject

Re: [Xen-devel] [PATCH v2 05/10] arm: make it possible to enable/disable UART drivers

2018-05-21 Thread Jan Beulich
>>> Stefano Stabellini 05/22/18 2:53 AM >>> >All the UART drivers are silent options. Add one line descriptions so >that can be de/selected via menuconfig. > >Signed-off-by: Stefano Stabellini Please don't forget to Cc maintainers. >--- a/xen/drivers/char/Kconfig >+++ b/xen/drivers/char/Kconfi

Re: [Xen-devel] [PATCH v2 03/10] Rename HAS_MEM_ACCESS to MEM_ACCESS

2018-05-21 Thread Jan Beulich
>>> Stefano Stabellini 05/22/18 2:53 AM >>> >HAS_MEM_ACCESS has become selectable by the user on ARM32 and ARM64. To >mark the change, rename the option from HAS_MEM_ACCESS to MEM_ACCESS. I have a different suggestion, a model used (iirc) in a couple of places in Linux: The feature controlling o

Re: [Xen-devel] [RFC 3/3] xen/gntdev: Add support for Linux dma buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/22/2018 12:31 AM, Dongwon Kim wrote: Still need more time to review the whole code changes Take your time, I just wanted to make sure that all interested parties are in the discussion, so we all finally have what we all want, not a thing covering only my use-cases but I noticed one thin

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/21/2018 11:36 PM, Boris Ostrovsky wrote: On 05/21/2018 03:13 PM, Oleksandr Andrushchenko wrote: On 05/21/2018 09:53 PM, Boris Ostrovsky wrote: On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushc

Re: [Xen-devel] [PATCH 3/6] arm: make it possible to disable the SMMU driver

2018-05-21 Thread Jan Beulich
>>> Stefano Stabellini 05/21/18 10:35 PM >>> >On Tue, 24 Apr 2018, Julien Grall wrote: >> On 04/20/2018 10:39 AM, Jan Beulich wrote: >> > > > > On 19.04.18 at 17:44, wrote: >> > > On 18/04/18 23:15, Stefano Stabellini wrote: >> > > > --- a/xen/drivers/passthrough/Kconfig >> > > > +++ b/xen/driver

Re: [Xen-devel] [PATCH v3 4/6] ALSA: xen-front: Implement handling of shared buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/21/2018 11:26 PM, Takashi Iwai wrote: On Thu, 17 May 2018 08:26:16 +0200, Takashi Iwai wrote: On Tue, 15 May 2018 08:02:08 +0200, Oleksandr Andrushchenko wrote: On 05/15/2018 09:01 AM, Takashi Iwai wrote: On Tue, 15 May 2018 07:46:38 +0200, Oleksandr Andrushchenko wrote: On 05/14/2018 1

Re: [Xen-devel] [xen-unstable test] 122968: regressions - FAIL

2018-05-21 Thread Juergen Gross
On 22/05/18 01:59, osstest service owner wrote: > flight 122968 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/122968/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-amd64-xl-qemut-stubdom-

[Xen-devel] [linux-4.9 test] 122969: tolerable FAIL - PUSHED

2018-05-21 Thread osstest service owner
flight 122969 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/122969/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 17 guest-stopfail like 122564 test-amd64-i386-xl-qemut-win7-amd64 17

[Xen-devel] [RFC PATCH v2 04/12] drivers/iommu/amd_iommu: update usage of address zone modifiers

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_DMA, __GFP_HIGHMEM and __GFP_DMA32 sh

[Xen-devel] [RFC PATCH v2 11/12] include/linux/highmem: update usage of movableflags

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye GFP_HIGHUSER_MOVABLE doesn't equal to GFP_HIGHUSER | __GFP_MOVABLE, modify it to adapt patch of getting rid of GFP_ZONE_TABLE/BAD. Signed-off-by: Huaisheng Ye Cc: Kate Stewart Cc: Greg Kroah-Hartman Cc: Thomas Gleixner Cc: Philippe Ombredanne --- include/linux/highmem.h

[Xen-devel] [RFC PATCH v2 00/12] get rid of GFP_ZONE_TABLE/BAD

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Replace GFP_ZONE_TABLE and GFP_ZONE_BAD with encoded zone number. Delete ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. The encoding method is XOR. Get zone number from enum zone_ty

[Xen-devel] [RFC PATCH v2 02/12] arch/x86/kernel/amd_gart_64: update usage of address zone modifiers

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_DMA, __GFP_HIGHMEM and __GFP_DMA32 sh

[Xen-devel] [RFC PATCH v2 12/12] arch/x86/include/asm/page.h: update usage of movableflags

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye GFP_HIGHUSER_MOVABLE doesn't equal to GFP_HIGHUSER | __GFP_MOVABLE, modify it to adapt patch of getting rid of GFP_ZONE_TABLE/BAD. Signed-off-by: Huaisheng Ye Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Kate Stewart Cc: Greg Kroah-Hartman Cc: x...@kernel

[Xen-devel] [RFC PATCH v2 05/12] include/linux/dma-mapping: update usage of address zone modifiers

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_DMA, __GFP_HIGHMEM and __GFP_DMA32 sh

[Xen-devel] [RFC PATCH v2 08/12] drivers/block/zram/zram_drv: update usage of address zone modifiers

2018-05-21 Thread Huaisheng HS1 Ye
Use __GFP_ZONE_MOVABLE to replace (__GFP_HIGHMEM | __GFP_MOVABLE). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_ZONE_MOVABLE contains encoded ZONE_MOVABLE and __GFP_MOVABLE fl

[Xen-devel] [RFC PATCH v2 03/12] arch/x86/kernel/pci-calgary_64: update usage of address zone modifiers

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_DMA, __GFP_HIGHMEM and __GFP_DMA32 sh

[Xen-devel] [RFC PATCH v2 10/12] mm/zsmalloc: update usage of address zone modifiers

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MOVABLE to replace (__GFP_HIGHMEM | __GFP_MOVABLE). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_ZONE_MOVABLE contains encoded ZONE_MOVABLE

[Xen-devel] [RFC PATCH v2 01/12] include/linux/gfp.h: get rid of GFP_ZONE_TABLE/BAD

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Replace GFP_ZONE_TABLE and GFP_ZONE_BAD with encoded zone number. Delete ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. The encoding method is XOR. Get zone number from enum zone_ty

[Xen-devel] [RFC PATCH v2 06/12] drivers/xen/swiotlb-xen: update usage of address zone modifiers

2018-05-21 Thread Huaisheng HS1 Ye
Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM). In function xen_swiotlb_alloc_coherent, it is obvious that __GFP_DMA32 is not the expecting zone type. ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for st

[Xen-devel] [RFC PATCH v2 09/12] mm/vmpressure: update usage of address zone modifiers

2018-05-21 Thread Huaisheng HS1 Ye
Use __GFP_ZONE_MOVABLE to replace (__GFP_HIGHMEM | __GFP_MOVABLE). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_ZONE_MOVABLE contains encoded ZONE_MOVABLE and __GFP_MOVABLE fl

[Xen-devel] [PATCH v4 0/2] PVH GDT fixes

2018-05-21 Thread Boris Ostrovsky
Fix stack canary handling (in the first patch) and re-index PVH GDT to make it explicit that the GDT PVH-specific v4: * Load %gs after base address is calculated * Increase stack canary segment size to 48 bytes for long mode. Boris Ostrovsky (2): xen/PVH: Set up GS segment for stack canary xe

[Xen-devel] [RFC PATCH v2 07/12] fs/btrfs/extent_io: update usage of address zone modifiers

2018-05-21 Thread Huaisheng HS1 Ye
Use __GFP_ZONE_MASK to replace (__GFP_DMA32 | __GFP_HIGHMEM). In function alloc_extent_state, it is obvious that __GFP_DMA is not the expecting zone type. ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing e

[Xen-devel] [PATCH v4 2/2] xen/PVH: Make GDT selectors PVH-specific

2018-05-21 Thread Boris Ostrovsky
We don't need to share PVH GDT layout with other GDTs, especially since we now have a PVH-speciific entry (for stack canary segment). Define PVH's own selectors. (As a side effect of this change we are also fixing improper reference to __KERNEL_CS) Signed-off-by: Boris Ostrovsky --- arch/x86/x

[Xen-devel] [PATCH v4 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-21 Thread Boris Ostrovsky
We are making calls to C code (e.g. xen_prepare_pvh()) which may use stack canary (stored in GS segment). Signed-off-by: Boris Ostrovsky --- arch/x86/xen/xen-pvh.S | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/arch/x86/xen/xen-pvh.S b/arch/x86/xen

[Xen-devel] [PATCH v2 02/10] arm: make it possible to disable more kconfig options

2018-05-21 Thread Stefano Stabellini
Make it possible to disable the following existing kconfig options: HAS_GICV3 HAS_MEM_ACCESS Today they are silent option. This patch adds one line descriptions and make them de/selectable. Also, do not select VIDEO. Signed-off-by: Stefano Stabellini --- Changes in v2: - make HAS_GICv3 dep

[Xen-devel] [PATCH v2 08/10] arm: add a small kconfig for Renesas RCar H3

2018-05-21 Thread Stefano Stabellini
This is a reference tiny kconfig for Renesas RCar. In terms of schedulers, it selects credit and NULL only. It enables all the ARM64 errata. Signed-off-by: Stefano Stabellini CC: artem_myga...@epam.com CC: volodymyr_babc...@epam.com --- This patch is untested on Renesas RCar, please test! Als

[Xen-devel] [PATCH v2 06/10] xen: remove HAS_ prefix from UART Kconfig options

2018-05-21 Thread Stefano Stabellini
UART drivers are now selectable by the user. To mark the change, remove the HAS_ prefix. Suggested-by: Julien Grall Signed-off-by: Stefano Stabellini CC: andrew.coop...@citrix.com CC: george.dun...@eu.citrix.com CC: ian.jack...@eu.citrix.com CC: jbeul...@suse.com CC: julien.gr...@arm.com CC: kon

[Xen-devel] [PATCH v2 05/10] arm: make it possible to enable/disable UART drivers

2018-05-21 Thread Stefano Stabellini
All the UART drivers are silent options. Add one line descriptions so that can be de/selected via menuconfig. Signed-off-by: Stefano Stabellini --- Changes in v2: - make HAS_EHCI depend on x86 --- xen/drivers/char/Kconfig | 17 + 1 file changed, 9 insertions(+), 8 deletions(-)

[Xen-devel] [PATCH v2 01/10] arm: remove the ARM HDLCD driver

2018-05-21 Thread Stefano Stabellini
The ARM HDLCD driver is unused. The device itself can only be found on Virtual Express boards that are for early development only. Remove the driver. Suggested-by: Julien Grall Signed-off-by: Stefano Stabellini --- Changes in v2: - patch added --- xen/arch/arm/Kconfig | 1 - xen/driv

[Xen-devel] [PATCH v2 04/10] arm: rename HAS_GICV3 to GICV3

2018-05-21 Thread Stefano Stabellini
HAS_GICV3 has become selectable by the user. To mark the change, rename the option from HAS_GICV3 to GICV3. Suggested-by: Julien Grall Signed-off-by: Stefano Stabellini --- Actually, I don't have an opinion on KConfig names. I am happy to keep as this or rename to something else. Changes in v2

[Xen-devel] [PATCH v2 07/10] arm: make it possible to disable the SMMU driver

2018-05-21 Thread Stefano Stabellini
Introduce a Kconfig option for the ARM SMMUv1 and SMMUv2 driver. Signed-off-by: Stefano Stabellini CC: jbeul...@suse.com --- Changes in v2: - rename HAS_SMMUv2 to SMMUv2 - move SMMUv2 to xen/drivers/passthrough/Kconfig --- xen/drivers/passthrough/Kconfig | 8 xen/drivers/passthrou

[Xen-devel] [PATCH v2 10/10] xen: add cloc target

2018-05-21 Thread Stefano Stabellini
Add a Xen build target to count the lines of code of the source files built. Uses `cloc' to do the job. With Xen on ARM taking off in embedded, IoT, and automotive, we are seeing more and more uses of Xen in constrained environments. Users and system integrators want the smallest Xen and Dom0 conf

[Xen-devel] [PATCH v2 0/10] arm: more kconfig configurability and small default configs

2018-05-21 Thread Stefano Stabellini
Hi all, This patch series is the first step toward building a small certifiable Xen hypervisor for ARM boards. First, the series makes a few changes to allow disabling more kconfig options: most of them already exist but cannot be disabled. Then, it introduces a reference kconfig for Renesas RCa

[Xen-devel] [PATCH v2 03/10] Rename HAS_MEM_ACCESS to MEM_ACCESS

2018-05-21 Thread Stefano Stabellini
HAS_MEM_ACCESS has become selectable by the user on ARM32 and ARM64. To mark the change, rename the option from HAS_MEM_ACCESS to MEM_ACCESS. Suggested-by: Julien Grall Signed-off-by: Stefano Stabellini CC: andrew.coop...@citrix.com CC: george.dun...@eu.citrix.com CC: ian.jack...@eu.citrix.com C

[Xen-devel] [PATCH v2 09/10] arm: add a small kconfig for qemu-system-aarch64

2018-05-21 Thread Stefano Stabellini
Disable erratas because they don't apply to QEMU's software emulated CPUs. Arbitrarily choose a limit of 4 CPUs. Select the credit and NULL schedulers only. Signed-off-by: Stefano Stabellini --- Changes in v2: - only add required symbols, let the defauls take care of the rest --- xen/arch/arm/

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

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

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

2018-05-21 Thread osstest service owner
flight 122968 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/122968/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm 16 guest-localmigrate/x10 fail REGR. vs. 12

Re: [Xen-devel] [PATCH 0/6] arm: more kconfig configurability and small default configs

2018-05-21 Thread Stefano Stabellini
On Mon, 23 Apr 2018, Andrii Anisov wrote: > Hello Stefano, > > I'm really glad to see this series. > > In the list of platform-specific bits you are trying to make selectable, you > missed platform support code itself. Moreover, as it is said in your follow-up > emails, set of UART, IOMMU, GIC is

Re: [Xen-devel] [PATCH 6/6] xen: add cloc target

2018-05-21 Thread Stefano Stabellini
On Fri, 20 Apr 2018, Jan Beulich wrote: > >>> On 20.04.18 at 01:22, wrote: > > On Thu, 19 Apr 2018, Jan Beulich wrote: > >> >>> On 19.04.18 at 00:15, wrote: > >> > Add a Xen build target to count the lines of code of the source files > >> > built. Uses `cloc' to do the job. > >> > > >> > Generat

Re: [Xen-devel] [RFC 3/3] xen/gntdev: Add support for Linux dma buffers

2018-05-21 Thread Dongwon Kim
Still need more time to review the whole code changes but I noticed one thing. We've been using the term "hyper_dmabuf" for hypervisor-agnostic linux dmabuf solution and we are planning to call any of our future solution for other hypervisors the same name. So having same name for this xen-specifi

Re: [Xen-devel] [PATCH 3/6] arm: make it possible to disable the SMMU driver

2018-05-21 Thread Stefano Stabellini
On Tue, 24 Apr 2018, Julien Grall wrote: > On 04/20/2018 10:39 AM, Jan Beulich wrote: > > > > > On 19.04.18 at 17:44, wrote: > > > On 18/04/18 23:15, Stefano Stabellini wrote: > > > > --- a/xen/drivers/passthrough/Kconfig > > > > +++ b/xen/drivers/passthrough/Kconfig > > > > @@ -1,3 +1,5 @@ > > >

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 03:13 PM, Oleksandr Andrushchenko wrote: > On 05/21/2018 09:53 PM, Boris Ostrovsky wrote: >> On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: >>> On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: > On 05/19/2018 01:04

Re: [Xen-devel] [PATCH v3 4/6] ALSA: xen-front: Implement handling of shared buffers

2018-05-21 Thread Takashi Iwai
On Thu, 17 May 2018 08:26:16 +0200, Takashi Iwai wrote: > > On Tue, 15 May 2018 08:02:08 +0200, > Oleksandr Andrushchenko wrote: > > > > On 05/15/2018 09:01 AM, Takashi Iwai wrote: > > > On Tue, 15 May 2018 07:46:38 +0200, > > > Oleksandr Andrushchenko wrote: > > >> On 05/14/2018 11:28 PM, Takash

Re: [Xen-devel] [PATCH 2/6] arm: make it possible to enable/disable UART drivers

2018-05-21 Thread Stefano Stabellini
On Mon, 21 May 2018, Stefano Stabellini wrote: > On Thu, 19 Apr 2018, Julien Grall wrote: > > Hi Stefano, > > > > Please CC "THE REST" maintainers here. > > > > On 18/04/18 23:15, Stefano Stabellini wrote: > > > All the UART drivers are silent options. Add one line descriptions so > > > that can

Re: [Xen-devel] [PATCH 2/6] arm: make it possible to enable/disable UART drivers

2018-05-21 Thread Stefano Stabellini
On Thu, 19 Apr 2018, Julien Grall wrote: > Hi Stefano, > > Please CC "THE REST" maintainers here. > > On 18/04/18 23:15, Stefano Stabellini wrote: > > All the UART drivers are silent options. Add one line descriptions so > > that can be de/selected via menuconfig. > > > > Signed-off-by: Stefano

Re: [Xen-devel] [PATCH 1/6] arm: make it possible to disable more kconfig options

2018-05-21 Thread Stefano Stabellini
On Thu, 19 Apr 2018, Julien Grall wrote: > Hi Stefano, > > On 18/04/18 23:15, Stefano Stabellini wrote: > > Make it possible to disable the following existing kconfig options: > >HAS_GICV3 > >HAS_ARM_HDLCD > >HAS_MEM_ACCESS > > > > Today they are silent option. This patch adds one lin

Re: [Xen-devel] [Qemu-devel] [PULL 00/15] xen-20180521-tag

2018-05-21 Thread no-reply
00/15] xen-20180521-tag === TEST SCRIPT BEGIN === #!/bin/bash set -e git submodule update --init dtc # Let docker tests dump environment info export SHOW_ENV=1 export J=8 time make docker-test-mingw@fedora === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 Switched to a new

[Xen-devel] [PULL 08/15] xen_backend: add grant table helpers

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant This patch adds grant table helper functions to the xen_backend code to localize error reporting and use of xen_domid. The patch also defers the call to xengnttab_open() until just before the initialise method in XenDevOps is invoked. This method is responsible for mapping the

[Xen-devel] [PULL 13/15] xen_backend: make the xen_feature_grant_copy flag private

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant There is no longer any use of this flag outside of the xen_backend code. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 2 +- include/hw/xen/xen_backend.h | 1 - 2 files changed, 1 insertion(+), 2 d

[Xen-devel] [PULL 14/15] xen_disk: use a single entry iovec

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Since xen_disk now always copies data to and from a guest there is no need to maintain a vector entry corresponding to every page of a request. This means there is less per-request state to maintain so the ioreq structure can shrink significantly. Signed-off-by: Paul Durrant

[Xen-devel] [PULL 10/15] xen: remove other open-coded use of libxengnttab

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Now that helpers are available in xen_backend, use them throughout all Xen PV backends. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/9pfs/xen-9p-backend.c | 32 +++- hw/char/xen_console.c| 9

[Xen-devel] [PULL 04/15] xen_pt: Present the size of 64 bit BARs correctly

2018-05-21 Thread Stefano Stabellini
From: Ross Lagerwall The full size of the BAR is stored in the lower PCIIORegion.size. The upper PCIIORegion.size is 0. Calculate the size of the upper half correctly from the lower half otherwise the size read by the guest will be incorrect. Signed-off-by: Ross Lagerwall Acked-by: Anthony PER

[Xen-devel] [PULL 01/15] xen-pvdevice: Introduce a simplistic xen-pvdevice save state

2018-05-21 Thread Stefano Stabellini
From: Igor Druzhinin This should help to avoid problems with accessing the device after migration/resume without PV drivers by migrating its PCI configuration space state. Without an explicitly defined state record it resets every time a VM migrates which confuses the OS and makes every access to

[Xen-devel] [PULL 07/15] xen: add a meaningful declaration of grant_copy_segment into xen_common.h

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Currently the xen_disk source has to carry #ifdef exclusions to compile against Xen older then 4.8. This is a bit messy so this patch lifts the definition of struct xengnttab_grant_copy_segment and adds it into the pre-4.8 compat area in xen_common.h, which allows xen_disk to b

[Xen-devel] [PULL 12/15] xen_disk: remove use of grant map/unmap

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Now that the (native or emulated) xen_be_copy_grant_refs() helper is always available, the xen_disk code can be significantly simplified by removing direct use of grant map and unmap operations. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stab

[Xen-devel] [PULL 00/15] xen-20180521-tag

2018-05-21 Thread Stefano Stabellini
ttp/people/sstabellini/qemu-dm.git tags/xen-20180521-tag for you to fetch changes up to f03df99f09ee0ca27ea2298a1b77438e7999044d: xen_disk: be consistent with use of xendev and blkdev->xendev (2018-05-18 11:13:01 -0700) X

[Xen-devel] [PULL 05/15] xen-hvm: create separate function for ioreq server initialization

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant The code is sufficiently substantial that it improves code readability to put it in a new function called by xen_hvm_init() rather than having it inline. Signed-off-by: Paul Durrant Reviewed-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen-hvm.c | 7

[Xen-devel] [PULL 06/15] All the xen stable APIs define handle types of the form:

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant xen_handle and some define additional handle types of the form: xen__handle Examples of these are xenforeignmemory_handle and xenforeignmemory_resource_handle. Both of these types will be misparsed by checkpatch if they appear as the first token in a line since, as types de

[Xen-devel] [PULL 15/15] xen_disk: be consistent with use of xendev and blkdev->xendev

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Certain functions in xen_disk are called with a pointer to xendev (struct XenDevice *). They then use container_of() to acces the surrounding blkdev (struct XenBlkDev) but then in various places use &blkdev->xendev when use of the original xendev pointer is shorter to express a

[Xen-devel] [PULL 02/15] xen/pt: use address_space_memory object for memory region hooks

2018-05-21 Thread Stefano Stabellini
From: Igor Druzhinin Commit 99605175c (xen-pt: Fix PCI devices re-attach failed) introduced a subtle bug. As soon as the guest switches off Bus Mastering on the device it immediately causes all the BARs be unmapped due to the DMA address space of the device being changed. This is undesired behavi

[Xen-devel] [PULL 03/15] configure: Add explanation for --enable-xen-pci-passthrough

2018-05-21 Thread Stefano Stabellini
From: Anthony PERARD Signed-off-by: Anthony PERARD Reviewed-by: Markus Armbruster Signed-off-by: Stefano Stabellini --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 59f91ab..a8498ab 100755 --- a/configure +++ b/configure @@ -1588,7

[Xen-devel] [PULL 09/15] xen_disk: remove open-coded use of libxengnttab

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Now that helpers are present in xen_backend, this patch removes open-coded calls to libxengnttab from the xen_disk code. This patch also fixes one whitspace error in the assignment of the XenDevOps initialise method. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Sign

[Xen-devel] [PULL 11/15] xen_backend: add an emulation of grant copy

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Not all Xen environments support the xengnttab_grant_copy() operation. E.g. where the OS is FreeBSD or Xen is older than 4.8.0. This patch introduces an emulation of that operation using xengnttab_map_domain_grant_refs() and memcpy() for those environments. Signed-off-by: Pau

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/21/2018 09:53 PM, Boris Ostrovsky wrote: On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: On 05/17/2018 04:26 AM, Oleksandr Andrushc

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

2018-05-21 Thread osstest service owner
flight 122966 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/122966/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-xsm 5 host-ping-check-native fail REGR. vs. 122855 test-armhf-armhf-exa

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: > On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: >> On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: >>> On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: On 05/17/2018 04:26 AM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andr

Re: [Xen-devel] [PATCH v2 04/10] x86/HVM/SVM: Add AVIC initialization code

2018-05-21 Thread Natarajan, Janakarajan
On 5/16/2018 10:29 AM, Jan Beulich wrote: On 07.05.18 at 23:07, wrote: --- /dev/null +++ b/xen/arch/x86/hvm/svm/avic.c @@ -0,0 +1,190 @@ +/* + * avic.c: implements AMD Advanced Virtual Interrupt Controller (AVIC) support + * Copyright (c) 2018, Advanced Micro Devices, Inc. + * + * This program

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: On 05/17/2018 04:26 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko A commit message would be useful. Sure, v1 will have it

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread George Dunlap
On Mon, May 21, 2018 at 5:28 PM, George Dunlap wrote: > On Mon, May 21, 2018 at 5:17 PM, Andrew Cooper > wrote: >> On 21/05/18 16:48, George Dunlap wrote: >>> On Fri, May 18, 2018 at 5:19 PM, Marek Marczykowski >>> wrote: On Fri, May 18, 2018 at 09:54:37AM -0600, Jan Beulich wrote:

Re: [Xen-devel] [PATCHv3] xen: Add EFI_LOAD_OPTION support

2018-05-21 Thread Tamas K Lengyel
On Thu, May 17, 2018 at 11:42 AM, Tamas K Lengyel wrote: > On Thu, May 17, 2018 at 2:03 AM, Jan Beulich wrote: > On 07.02.18 at 17:00, wrote: >>> This patch as-is correctly tells the two possible formats apart. I >>> tested and Xen boots correctly both from the Shell and from the >>> firmwar

Re: [Xen-devel] ViryaOS: proposal for a new Xen Project sub-project

2018-05-21 Thread Stefano Stabellini
On Mon, 21 May 2018, Roger Pau Monné wrote: > This looks interesting IMO. Just one small nit. > > On Thu, May 17, 2018 at 03:31:40PM -0700, Stefano Stabellini wrote: > > ## Hardware Support > > > > ViryaOS will support as many hardware platforms as possible, x86 and ARM > > It might be good to m

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: > On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: >> On 05/17/2018 04:26 AM, Oleksandr Andrushchenko wrote: >>> From: Oleksandr Andrushchenko >> >> A commit message would be useful. > Sure, v1 will have it >> >>> Signed-off-by: Oleksandr Andrus

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread George Dunlap
On Mon, May 21, 2018 at 5:17 PM, Andrew Cooper wrote: > On 21/05/18 16:48, George Dunlap wrote: >> On Fri, May 18, 2018 at 5:19 PM, Marek Marczykowski >> wrote: >>> On Fri, May 18, 2018 at 09:54:37AM -0600, Jan Beulich wrote: >>> On 18.05.18 at 17:33, wrote: > Yes, I'm happy to help with

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread Andrew Cooper
On 21/05/18 16:48, George Dunlap wrote: > On Fri, May 18, 2018 at 5:19 PM, Marek Marczykowski > wrote: >> On Fri, May 18, 2018 at 09:54:37AM -0600, Jan Beulich wrote: >> On 18.05.18 at 17:33, wrote: Yes, I'm happy to help with that. As I've said, the basic test is very simple (rtcwa

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread George Dunlap
On Fri, May 18, 2018 at 5:19 PM, Marek Marczykowski wrote: > On Fri, May 18, 2018 at 09:54:37AM -0600, Jan Beulich wrote: >> >>> On 18.05.18 at 17:33, wrote: >> > Yes, I'm happy to help with that. As I've said, the basic test is very >> > simple (rtcwake command) and already very useful. The fact

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

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

Re: [Xen-devel] [PATCH] xen: Add fake_s3 command-line option for testing

2018-05-21 Thread George Dunlap
On 05/21/2018 03:28 PM, Andrew Cooper wrote: > On 21/05/18 15:16, George Dunlap wrote: >> Most server-class hardware doesn't support ACPI S3 suspend; but most >> bugs we'll run across won't need actual S3 to trigger. Add a >> command-line parameter for a "fake" S3, which will do everything >> duri

Re: [Xen-devel] [RFC PATCH v2 05/12] include/linux/dma-mapping: update usage of address zone modifiers

2018-05-21 Thread Christoph Hellwig
On Mon, May 21, 2018 at 11:20:26PM +0800, Huaisheng Ye wrote: > From: Huaisheng Ye > > Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). > > ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP > bitmasks, the bottom three bits of GFP mask is reserved fo

Re: [Xen-devel] [PATCH] xen: Add fake_s3 command-line option for testing

2018-05-21 Thread Andrew Cooper
On 21/05/18 15:16, George Dunlap wrote: > Most server-class hardware doesn't support ACPI S3 suspend; but most > bugs we'll run across won't need actual S3 to trigger. Add a > command-line parameter for a "fake" S3, which will do everything > during suspend/restore except actually calling into the

[Xen-devel] [PATCH] xen: Add fake_s3 command-line option for testing

2018-05-21 Thread George Dunlap
Most server-class hardware doesn't support ACPI S3 suspend; but most bugs we'll run across won't need actual S3 to trigger. Add a command-line parameter for a "fake" S3, which will do everything during suspend/restore except actually calling into the ACPI S3 handler. Signed-off-by: Ben Guthro Si

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread George Dunlap
On Mon, May 21, 2018 at 2:57 PM, Ian Jackson wrote: > Dario Faggioli writes ("Re: [Xen-devel] Test for osstest, features used in > Qubes OS"): >> On Mon, 2018-05-21 at 12:04 +0100, George Dunlap wrote: >> > What if we 1) have two versions of the test -- "Fake suspend" and >> > "Real Suspend"; 2)

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread Ian Jackson
Dario Faggioli writes ("Re: [Xen-devel] Test for osstest, features used in Qubes OS"): > On Mon, 2018-05-21 at 12:04 +0100, George Dunlap wrote: > > What if we 1) have two versions of the test -- "Fake suspend" and > > "Real Suspend"; 2) only run "Real suspend" on hardware specifically > > marked

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

2018-05-21 Thread osstest service owner
flight 122965 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/122965/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 17 guest-start.2 fail in 122884 REGR. vs. 122565 Tests which are fail

[Xen-devel] [xen-unstable-smoke test] 123024: regressions - FAIL

2018-05-21 Thread osstest service owner
flight 123024 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/123024/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl 6 xen-install fail REGR. vs. 122959 Tests which

Re: [Xen-devel] ViryaOS: proposal for a new Xen Project sub-project

2018-05-21 Thread Roger Pau Monné
This looks interesting IMO. Just one small nit. On Thu, May 17, 2018 at 03:31:40PM -0700, Stefano Stabellini wrote: > ## Hardware Support > > ViryaOS will support as many hardware platforms as possible, x86 and ARM It might be good to mention "x86 (amd64)", and likewise in the bullet list below.

Re: [Xen-devel] xen vtd : set msi guest_masked 0 by default

2018-05-21 Thread Roger Pau Monné
On Mon, May 21, 2018 at 12:46:19PM +0100, David Woodhouse wrote: > On Tue, 2016-01-26 at 09:34 +0800, Jianzhong,Chang wrote: > > There are some problems when msi guest_masked is set to 1 by default. > > When guest os is windows 2008 r2 server, > > the device(eg X540-AT2 vf) is not initialized corre

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread Dario Faggioli
On Mon, 2018-05-21 at 12:04 +0100, George Dunlap wrote: > On Thu, May 17, 2018 at 4:12 PM, Ian Jackson > wrote: > > That's not entirely trivial then, especially for you, unless you > > want > > to set up your own osstest production instance. However, I can > > probably do the osstest-machinery wo

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread Dario Faggioli
On Thu, 2018-05-17 at 16:12 +0100, Ian Jackson wrote: > Marek Marczykowski-Górecki writes ("Re: Test for osstest, features > used in Qubes OS"): > > On Thu, May 17, 2018 at 01:26:30PM +0100, Ian Jackson wrote: > > > Is it likely that this will depend on non-buggy host firmware > > > ? If so > > >

Re: [Xen-devel] xen vtd : set msi guest_masked 0 by default

2018-05-21 Thread David Woodhouse
On Tue, 2016-01-26 at 09:34 +0800, Jianzhong,Chang wrote: > There are some problems when msi guest_masked is set to 1 by default. > When guest os is windows 2008 r2 server, > the device(eg X540-AT2 vf) is not initialized correctly. > Host will always receive message like this :"VF Reset msg receive

Re: [Xen-devel] Test for osstest, features used in Qubes OS

2018-05-21 Thread George Dunlap
On Thu, May 17, 2018 at 4:12 PM, Ian Jackson wrote: > Marek Marczykowski-Górecki writes ("Re: Test for osstest, features used in > Qubes OS"): >> On Thu, May 17, 2018 at 01:26:30PM +0100, Ian Jackson wrote: >> > Is it likely that this will depend on non-buggy host firmware ? If so >> > then we n

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

2018-05-21 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74733 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74733/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 7ebad830d6ab61f0395f6f4bae4156664bbd8086 baseline v

[Xen-devel] [distros-debian-sid test] 74732: tolerable FAIL

2018-05-21 Thread Platform Team regression test user
flight 74732 distros-debian-sid real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74732/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-i386-sid-netboot-pvgrub 10 debian-di-install fail like 74714 test-armhf-armhf-armhf-sid-n

Re: [Xen-devel] [PATCH for-next 2/5] ipxe: produce a single binary from its build

2018-05-21 Thread Wei Liu
On Fri, May 18, 2018 at 09:38:01AM -0600, Jan Beulich wrote: > >>> On 15.05.18 at 20:22, wrote: > > --- a/tools/firmware/etherboot/Makefile > > +++ b/tools/firmware/etherboot/Makefile > > @@ -18,11 +18,15 @@ D=ipxe > > T=ipxe.tar.gz > > > > ROMS = $(addprefix $D/src/bin/, $(addsuffix .rom, $(E

Re: [Xen-devel] [PATCH for-4.11 v3.5 1/2] doc: correct livepatch.markdown syntax

2018-05-21 Thread Wei Liu
On Fri, May 18, 2018 at 06:35:07PM +0100, Andrew Cooper wrote: > Sorry - it appears I mess the CC list up here.  CC'ing "The Rest" for > this combined fixup and cleanup patch for livepatch.markdown, for > inclusion into 4.11 Acked-by: Wei Liu (I haven't reviewed the content in detail) Wei. ___

Re: [Xen-devel] [PATCH v1] libxl: always call qemus xen-save-devices-state in suspend/resume

2018-05-21 Thread Wei Liu
On Fri, May 18, 2018 at 09:09:10PM +0200, Olaf Hering wrote: > Am Fri, 18 May 2018 18:01:42 +0100 > schrieb Wei Liu : > > > You don't need to test if the guest is HVM anymore. You only need to > > know if QEMU upstream is running. > > libxl__domain_suspend_device_model handles qemu-xen and qemu-x

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

2018-05-21 Thread osstest service owner
flight 122962 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/122962/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 122801 test-armhf-armhf-libvirt-raw 13 saveresto

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

2018-05-21 Thread osstest service owner
flight 122960 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/122960/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow 16 guest-localmigrate/x10 fail REGR. vs. 1225

  1   2   >