Re: [PATCH V1 3/6] xen/virtio: Add option to restrict memory access under Xen

2022-04-23 Thread Oleksandr
On 23.04.22 02:00, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Juergen Gross Introduce Xen grant DMA-mapping layer which contains special DMA-mapping routines for providing grant references as DMA addresses to be used by frontends (e.g. vi

Re: [PATCH V7 1/2] libxl: Add support for Virtio disk configuration

2022-04-23 Thread Oleksandr
On 22.04.22 12:41, Roger Pau Monné wrote: Hello Roger On Fri, Apr 08, 2022 at 09:21:04PM +0300, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko This patch adds basic support for configuring and assisting virtio-mmio based virtio-disk backend (emualator) which is intended to run out

[ovmf test] 169641: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169641 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169641/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

Re: [PATCH V1 3/6] xen/virtio: Add option to restrict memory access under Xen

2022-04-23 Thread Juergen Gross
On 23.04.22 09:05, Oleksandr wrote: On 23.04.22 02:00, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Juergen Gross Introduce Xen grant DMA-mapping layer which contains special DMA-mapping routines for providing grant references as DMA addre

[ovmf test] 169642: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169642 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169642/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169643: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169643 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169643/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169644: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169644 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169644/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169646: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169646 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169646/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[xen-unstable test] 169635: tolerable FAIL - PUSHED

2022-04-23 Thread osstest service owner
flight 169635 xen-unstable real [real] flight 169645 xen-unstable real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/169635/ http://logs.test-lab.xenproject.org/osstest/logs/169645/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armh

[ovmf test] 169647: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169647 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169647/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169648: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169648 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169648/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[GIT PULL] xen: branch for v5.18-rc4

2022-04-23 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.18-rc4-tag xen: branch for v5.18-rc4 It contains a simple cleanup patch and a refcount fix for Xen on Arm. Thanks. Juergen arch/arm/xen/enlighten.c | 9 +++-- drivers/xen/gn

[libvirt test] 169640: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169640 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/169640/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-amd64-libvirt

[linux-linus test] 169638: tolerable FAIL - PUSHED

2022-04-23 Thread osstest service owner
flight 169638 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/169638/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stopfail like 169627 test-armhf-armhf-libvirt 16 saver

[ovmf test] 169649: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169649 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169649/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169650: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169650 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169650/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

Re: [PATCH V1 1/6] arm/xen: Introduce xen_setup_dma_ops()

2022-04-23 Thread Oleksandr
On 23.04.22 01:59, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko This patch introduces new helper and places it in new header. The helper's purpose is to assign any Xen specific DMA ops in a single place. For now, we d

Re: [PATCH V1 4/6] dt-bindings: Add xen, dev-domid property description for xen-grant DMA ops

2022-04-23 Thread Oleksandr
On 23.04.22 02:00, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Introduce Xen specific binding for the virtualized device (e.g. virtio) to be used by Xen grant DMA-mapping layer in the subsequent commit. This binding i

[ovmf test] 169651: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169651 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169651/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

Re: [PATCH V1 5/6] xen/grant-dma-ops: Retrieve the ID of backend's domain for DT devices

2022-04-23 Thread Oleksandr
On 23.04.22 02:00, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Use the presence of recently introduced "xen,dev-domid" property in the device node as a clear indicator of enabling Xen grant mappings scheme for that dev

Re: [PATCH V1 3/6] xen/virtio: Add option to restrict memory access under Xen

2022-04-23 Thread Oleksandr
On 23.04.22 12:10, Juergen Gross wrote: Hello Juergen On 23.04.22 09:05, Oleksandr wrote: On 23.04.22 02:00, Stefano Stabellini wrote: Hello Stefano On Fri, 22 Apr 2022, Oleksandr Tyshchenko wrote: From: Juergen Gross Introduce Xen grant DMA-mapping layer which contains special DMA-

Re: [PATCH V1 1/6] arm/xen: Introduce xen_setup_dma_ops()

2022-04-23 Thread Christoph Hellwig
On Fri, Apr 22, 2022 at 07:50:58PM +0300, Oleksandr Tyshchenko wrote: > +#ifndef _ASM_ARM_XEN_OPS_H > +#define _ASM_ARM_XEN_OPS_H > + > +#include > + > +static inline void xen_setup_dma_ops(struct device *dev) > +{ > +#ifdef CONFIG_XEN > + if (xen_swiotlb_detect()) > + dev->dma_ops

Re: [PATCH V1 3/6] xen/virtio: Add option to restrict memory access under Xen

2022-04-23 Thread Christoph Hellwig
Please split this into one patch that creates grant-dma-ops, and another that sets up the virtio restricted access helpers. > + > +#ifdef CONFIG_ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS > +int arch_has_restricted_virtio_memory_access(void) > +{ > + return (xen_has_restricted_virtio_memory_acce

Re: [PATCH V1 6/6] arm/xen: Assign xen-grant DMA ops for xen-grant DMA devices

2022-04-23 Thread Christoph Hellwig
On Fri, Apr 22, 2022 at 07:51:03PM +0300, Oleksandr Tyshchenko wrote: > static inline void xen_setup_dma_ops(struct device *dev) > { > #ifdef CONFIG_XEN > - if (xen_swiotlb_detect()) > + if (arch_has_restricted_virtio_memory_access() && > + xen_is_grant_dma_device(dev

[ovmf test] 169653: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169653 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169653/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[PATCH] swiotlb-xen: fix DMA_ATTR_NO_KERNEL_MAPPING on arm

2022-04-23 Thread Christoph Hellwig
swiotlb-xen uses very different ways to allocate coherent memory on x86 vs arm. On the former it allocates memory from the page allocator, while on the later it reuses the dma-direct allocator the handles the complexities of non-coherent DMA on arm platforms. Unfortunately the complexities of try

[ovmf test] 169655: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169655 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169655/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[PATCH] xen/mm: page_alloc fix duplicated order shift operation in the loop

2022-04-23 Thread Paran Lee
It doesn't seem necessary to do that duplicate calculation of order shift 2^@order in the loop. In addition, I fixed type of total_avail_pages from long to unsigned long. because when total_avail_pages static variable substitute in functions of page alloc local variable, type of local variables is

[ovmf test] 169656: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169656 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169656/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169657: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169657 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169657/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

Re: [GIT PULL] xen: branch for v5.18-rc4

2022-04-23 Thread pr-tracker-bot
The pull request you sent on Sat, 23 Apr 2022 15:08:06 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.18-rc4-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b51bd23c614bc5a8a905d258133246e78d611df1 Thank you! -- Deet-doot-dot, I

[ovmf test] 169658: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169658 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169658/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169659: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169659 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169659/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169660: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169660 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169660/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169661: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169661 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169661/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[linux-linus test] 169654: tolerable FAIL - PUSHED

2022-04-23 Thread osstest service owner
flight 169654 linux-linus real [real] flight 169662 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/169654/ http://logs.test-lab.xenproject.org/osstest/logs/169662/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-arm64-

[ovmf test] 169663: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169663 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169663/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169665: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169665 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169665/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169667: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169667 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169667/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

[ovmf test] 169668: regressions - FAIL

2022-04-23 Thread osstest service owner
flight 169668 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/169668/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm