[linux-linus test] 162420: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162420 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/162420/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemuu-rhel6hvm-intel 7 xen-install fail REGR. vs. 152332 test-amd64-i386-qem

[libvirt test] 162427: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162427 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/162427/ 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

[xen-unstable-smoke test] 162432: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162432 xen-unstable-smoke real [real] flight 162437 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162432/ http://logs.test-lab.xenproject.org/osstest/logs/162437/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

[xen-unstable-smoke test] 162441: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162441 xen-unstable-smoke real [real] flight 162444 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162441/ http://logs.test-lab.xenproject.org/osstest/logs/162444/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

[xen-unstable test] 162422: tolerable FAIL

2021-06-06 Thread osstest service owner
flight 162422 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/162422/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-xl-rtds 18 guest-start/debian.repeatfail like 162330 test-amd64-amd64-xl-qemut-win7-amd64

[ovmf test] 162436: tolerable FAIL - PUSHED

2021-06-06 Thread osstest service owner
flight 162436 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/162436/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-ovmf-amd64 12 debian-hvm-install fail like 162371 test-amd64-amd64-xl-qemuu-ovmf-amd64 12 debi

[qemu-mainline test] 162429: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162429 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/162429/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-freebsd11-amd64 16 guest-saverestore fail REGR. vs. 152631 test-amd64-am

[xen-unstable-smoke test] 162446: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162446 xen-unstable-smoke real [real] flight 162450 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162446/ http://logs.test-lab.xenproject.org/osstest/logs/162450/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

[xen-unstable-smoke test] 162453: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162453 xen-unstable-smoke real [real] flight 162459 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162453/ http://logs.test-lab.xenproject.org/osstest/logs/162459/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

[linux-linus test] 162433: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162433 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/162433/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemuu-rhel6hvm-intel 7 xen-install fail REGR. vs. 152332 test-amd64-i386-qem

[xen-unstable-smoke test] 162461: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162461 xen-unstable-smoke real [real] flight 162467 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162461/ http://logs.test-lab.xenproject.org/osstest/logs/162467/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

[qemu-mainline test] 162454: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162454 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/162454/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-freebsd11-amd64 16 guest-saverestore fail REGR. vs. 152631 test-amd64-am

[qemu-mainline bisection] complete test-amd64-i386-xl-qemuu-ovmf-amd64

2021-06-06 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-xl-qemuu-ovmf-amd64 testid debian-hvm-install Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: ovmf git://xenbits.xen.org/osstest/ovmf.git Tree: qemu git://xen

[PATCH V2 0/9] Domain on Static Allocation

2021-06-06 Thread Penny Zheng
Static Allocation refers to system or sub-system(domains) for which memory areas are pre-defined by configuration using physical address ranges. Those pre-defined memory, -- Static Memory, as parts of RAM reserved in the beginning, shall never go to heap allocator or boot allocator for any use. Th

[PATCH 2/9] xen/arm: introduce PGC_reserved

2021-06-06 Thread Penny Zheng
In order to differentiate pages of static memory, from those allocated from heap, this patch introduces a new page flag PGC_reserved to tell. Signed-off-by: Penny Zheng --- changes v2: - remove unused reserved field in struct page_info - remove unused helper page_get_reserved_owner and page_set_r

[PATCH 1/9] xen/arm: introduce domain on Static Allocation

2021-06-06 Thread Penny Zheng
Static Allocation refers to system or sub-system(domains) for which memory areas are pre-defined by configuration using physical address ranges. Those pre-defined memory, -- Static Memory, as parts of RAM reserved in the beginning, shall never go to heap allocator or boot allocator for any use. Do

[PATCH 3/9] xen/arm: introduce CONFIG_STATIC_ALLOCATION

2021-06-06 Thread Penny Zheng
For now, since the feature of Domain on Static Allocation is only supported on ARM Architecture, this commit introduces new CONFIG_STATIC_ALLOCATION to avoid bringing dead codes in other archs. Signed-off-by: Penny Zheng --- changes v2: - new commit --- xen/arch/arm/Kconfig | 3 +++ 1 file chang

[PATCH 4/9] xen/arm: static memory initialization

2021-06-06 Thread Penny Zheng
This patch introduces static memory initialization, during system RAM boot up. New func init_staticmem_pages is responsible for static memory initialization. Helper free_staticmem_pages is the equivalent of free_heap_pages, to free nr_mfns pages of static memory. This commit defines a new helper

[PATCH 5/9] xen: introduce assign_pages_nr

2021-06-06 Thread Penny Zheng
Introduce new interface assign_pages_nr to deal with when page number is not in a power-of-two, which will save the trouble each time user needs to split the size in a power of 2 to use assign_pages. Signed-off-by: Penny Zheng --- changes v2: - introduce new interface assign_pages_nr --- xen/com

[PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-06-06 Thread Penny Zheng
alloc_staticmem_pages aims to allocate nr_mfns contiguous pages of static memory. And it is the equivalent of alloc_heap_pages for static memory. Here only covers allocating at specified starting address. For each page, it shall check if the page is reserved(PGC_reserved) and free. It shall also d

[PATCH 8/9] xen/arm: check `xen,static-mem` property during domain construction

2021-06-06 Thread Penny Zheng
This commit checks `xen,static-mem` device tree property in /domUx node, to determine whether domain is on Static Allocation, when constructing domain during boot-up. Right now, the implementation of allocate_static_memory is missing, and will be introduced later. It just BUG() out at the moment.

[PATCH 7/9] xen/arm: take care of concurrency on static memory allocation

2021-06-06 Thread Penny Zheng
In the future, user may want to allocate static memory at runtime, and it is quite important to get the code protected from concurrent access. Re-use heap_lock to protect concurrent access in alloc_staticmem_pages. Signed-off-by: Penny Zheng --- changes v2: - new commit --- xen/common/page_allo

[PATCH 9/9] xen/arm: introduce allocate_static_memory

2021-06-06 Thread Penny Zheng
This commit introduces allocate_static_memory to allocate static memory as guest RAM for Domain on Static Allocation. It uses alloc_domstatic_pages to allocate pre-configured static memory banks for this domain, and uses guest_physmap_add_page to set up P2M table. These pre-defiend static memory r

[xen-unstable-smoke test] 162470: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162470 xen-unstable-smoke real [real] flight 162478 xen-unstable-smoke real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/162470/ http://logs.test-lab.xenproject.org/osstest/logs/162478/ Regressions :-( Tests which did not succeed and are blocking, including tests which co

Re: [PATCH v8 00/15] Restricted DMA

2021-06-06 Thread Claire Chang
On Sat, Jun 5, 2021 at 1:48 AM Will Deacon wrote: > > Hi Claire, > > On Thu, May 27, 2021 at 08:58:30PM +0800, Claire Chang wrote: > > This series implements mitigations for lack of DMA access control on > > systems without an IOMMU, which could result in the DMA accessing the > > system memory at

Re: [PATCH 10/30] ps3disk: use blk_mq_alloc_disk

2021-06-06 Thread Geoff Levand
Hi Christoph, On 6/1/21 11:53 PM, Christoph Hellwig wrote: > Use the blk_mq_alloc_disk API to simplify the gendisk and request_queue > allocation. > > drivers/block/ps3disk.c | 36 ++-- > 1 file changed, 14 insertions(+), 22 deletions(-) I tested your alloc_disk-

[linux-linus test] 162463: regressions - FAIL

2021-06-06 Thread osstest service owner
flight 162463 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/162463/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemut-rhel6hvm-intel 7 xen-install fail REGR. vs. 152332 test-amd64-i386-xl-

Re: [PATCH 3/9] xen/arm: introduce CONFIG_STATIC_ALLOCATION

2021-06-06 Thread Jan Beulich
On 07.06.2021 04:43, Penny Zheng wrote: > --- a/xen/arch/arm/Kconfig > +++ b/xen/arch/arm/Kconfig > @@ -278,6 +278,9 @@ config ARM64_ERRATUM_1286807 > > If unsure, say Y. > > +config STATIC_ALLOCATION > +def_bool y > + > endmenu > > config ARM64_HARDEN_BRANCH_PREDICTOR Nit: Whi

Re: [PATCH] MAINTAINERS: adjust x86/mm/shadow maintainers

2021-06-06 Thread Jan Beulich
On 03.06.2021 15:08, Tim Deegan wrote: > Better reflect reality: Andrew and Jan are active maintainers > and I review patches. Keep myself as a reviewer so I can help > with historical context &c. > > Signed-off-by: Tim Deegan Largely for formal reasons Acked-by: Jan Beulich > --- MAINTAINERS

Re: [PATCH 2/2] Remove leading underscores from Xen defines

2021-06-06 Thread Thomas Huth
On 05/06/2021 19.50, Ahmed Abouzied wrote: Identifiers with leading underscores followed by capital letters or underscores are reserved for C standards. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369 Signed-off-by: Ahmed Abouzied --- include/hw/xen/interface/grant_table.h | 4 +

Re: [RFC PATCH V3 01/11] x86/HV: Initialize GHCB page in Isolation VM

2021-06-06 Thread Christoph Hellwig
On Sun, May 30, 2021 at 11:06:18AM -0400, Tianyu Lan wrote: > + if (ms_hyperv.ghcb_base) { > + rdmsrl(MSR_AMD64_SEV_ES_GHCB, ghcb_gpa); > + > + ghcb_va = ioremap_cache(ghcb_gpa, HV_HYP_PAGE_SIZE); > + if (!ghcb_va) > + return -ENOMEM; Can

Re: [RFC PATCH V3 08/11] swiotlb: Add bounce buffer remap address setting function

2021-06-06 Thread Christoph Hellwig
On Sun, May 30, 2021 at 11:06:25AM -0400, Tianyu Lan wrote: > From: Tianyu Lan > > For Hyper-V isolation VM with AMD SEV SNP, the bounce buffer(shared memory) > needs to be accessed via extra address space(e.g address above bit39). > Hyper-V code may remap extra address space outside of swiotlb.

Re: [RFC PATCH V3 09/11] HV/IOMMU: Enable swiotlb bounce buffer for Isolation VM

2021-06-06 Thread Christoph Hellwig
Honestly, we really need to do away with the concept of hypervisor- specific swiotlb allocations and just add a hypervisor hook to remap the "main" buffer. That should remove a lot of code and confusion not just for Xen but also any future addition like hyperv.

Re: [RFC PATCH V3 11/11] HV/Storvsc: Add Isolation VM support for storvsc driver

2021-06-06 Thread Christoph Hellwig
On Sun, May 30, 2021 at 11:06:28AM -0400, Tianyu Lan wrote: > + for (i = 0; i < request->hvpg_count; i++) > + dma_unmap_page(&device->device, > + > request->dma_range[i].dma, > +

Re: [RFC PATCH V3 10/11] HV/Netvsc: Add Isolation VM support for netvsc driver

2021-06-06 Thread Christoph Hellwig
On Sun, May 30, 2021 at 11:06:27AM -0400, Tianyu Lan wrote: > + if (hv_isolation_type_snp()) { > + pfns = kcalloc(buf_size / HV_HYP_PAGE_SIZE, sizeof(unsigned > long), > +GFP_KERNEL); > + for (i = 0; i < buf_size / HV_HYP_PAGE_SIZE; i++) > +