[Xen-devel] [xen-unstable test] 131583: tolerable FAIL

2018-12-26 Thread osstest service owner
flight 131583 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/131583/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-examine4 memdisk-try-append fail in 131564 pass in 131583 test-amd64-i386-libvirt-qemuu-de

[Xen-devel] [ovmf test] 131592: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131592 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131592/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

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

2018-12-26 Thread osstest service owner
flight 131580 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/131580/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-examine 8 reboot fail REGR. vs. 128858 test-amd64-i386-qemu

[Xen-devel] [ovmf test] 131591: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131591 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131591/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

[Xen-devel] [ovmf test] 131590: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131590 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131590/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

[Xen-devel] [ovmf test] 131588: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131588 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131588/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

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

2018-12-26 Thread osstest service owner
flight 131578 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/131578/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-amd64-pvgrub 7 xen-bootfail REGR. vs. 125898 test-amd64-amd64-ru

[Xen-devel] [PATCH AUTOSEL 4.14 18/59] x86/mm: Fix guard hole handling

2018-12-26 Thread Sasha Levin
From: "Kirill A. Shutemov" [ Upstream commit 16877a5570e0c5f4270d5b17f9bab427bcae9514 ] There is a guard hole at the beginning of the kernel address space, also used by hypervisors. It occupies 16 PGD entries. This reserved range is not defined explicitely, it is calculated relative to other en

[Xen-devel] [PATCH AUTOSEL 4.14 19/59] x86/dump_pagetables: Fix LDT remap address marker

2018-12-26 Thread Sasha Levin
From: "Kirill A. Shutemov" [ Upstream commit 254eb5505ca0ca749d3a491fc6668b6c16647a99 ] The LDT remap placement has been changed. It's now placed before the direct mapping in the kernel virtual address space for both paging modes. Change address markers order accordingly. Fixes: d52888aa2753 (

[Xen-devel] [PATCH AUTOSEL 4.19 31/97] x86/dump_pagetables: Fix LDT remap address marker

2018-12-26 Thread Sasha Levin
From: "Kirill A. Shutemov" [ Upstream commit 254eb5505ca0ca749d3a491fc6668b6c16647a99 ] The LDT remap placement has been changed. It's now placed before the direct mapping in the kernel virtual address space for both paging modes. Change address markers order accordingly. Fixes: d52888aa2753 (

[Xen-devel] [PATCH AUTOSEL 4.19 30/97] x86/mm: Fix guard hole handling

2018-12-26 Thread Sasha Levin
From: "Kirill A. Shutemov" [ Upstream commit 16877a5570e0c5f4270d5b17f9bab427bcae9514 ] There is a guard hole at the beginning of the kernel address space, also used by hypervisors. It occupies 16 PGD entries. This reserved range is not defined explicitely, it is calculated relative to other en

Re: [Xen-devel] [GIT PULL] xen: features and fixes for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 19:28:23 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-4.21-rc1-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/460023a5d1d2aa0f733b6708b2fae5ea9f9dfec0 Thank you! -- Deet-doot-dot, I

Re: [Xen-devel] [Qemu-devel] [RFC v2 0/4] QEMU changes to do PVH boot

2018-12-26 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1545422632-2-1-git-send-email-liam.merw...@oracle.com/ Hi, This series seems to have some coding style problems. See output below for more information: Message-id: 1545422632-2-1-git-send-email-liam.merw...@oracle.com Type: series Subject: [Qemu-d

[Xen-devel] [ovmf test] 131586: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131586 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131586/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

[Xen-devel] [freebsd-master test] 131585: all pass - PUSHED

2018-12-26 Thread osstest service owner
flight 131585 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/131585/ Perfect :-) All tests in this flight passed as required version targeted for testing: freebsd 5234db76104dc41f94e4899413ba19062c03ddce baseline version: freebsd 13391961c77

Re: [Xen-devel] [PATCH v5 0/9] Use vm_insert_range

2018-12-26 Thread Souptick Joarder
On Mon, Dec 24, 2018 at 8:51 PM Russell King - ARM Linux wrote: > > Having discussed with Matthew offlist, I think we've come to the > following conclusion - there's a number of drivers that buggily > ignore vm_pgoff. > > So, what I proposed is: > > static int __vm_insert_range(struct vm_struct *v

[Xen-devel] [linux-4.19 test] 131567: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131567 linux-4.19 real [real] http://logs.test-lab.xenproject.org/osstest/logs/131567/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-shadow7 xen-boot fail REGR. vs. 129313 test-amd64-amd64-pai

Re: [Xen-devel] [PATCH 01/15] x86/cpu: Create Hygon Dhyana architecture support file

2018-12-26 Thread Pu Wen
On 2018/12/21 18:20, Andrew Cooper wrote: >> +static unsigned int __initdata opt_cpuid_mask_l7s0_eax = ~0u; >> +integer_param("cpuid_mask_l7s0_eax", opt_cpuid_mask_l7s0_eax); >> +static unsigned int __initdata opt_cpuid_mask_l7s0_ebx = ~0u; >> +integer_param("cpuid_mask_l7s0_ebx", opt_cpuid_ma

[Xen-devel] [RFC v2 16/16] gic: separate ppi processing

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov PPI are pcpu private, so their processing is not concurrent and do not need pcpu shared flags and correspondent lockings. So avoid odd bits sets, checks and locks. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic.c| 8 ++-- xen/arch/arm/irq.c| 32 +

[Xen-devel] [RFC v2 04/16] gic: drop interrupts enabling on interrupts processing

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov This reduces the number of context switches in case we have coming guest interrupts from different sources at a high rate. What is likely for multimedia use-cases. Having irqs unlocked here makes us go through trap path again in case we have a new guest interrupt arrived (even

[Xen-devel] [RFC v2 01/16] gic:gic-vgic: separate GIV3 code more thoroughly

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov This reduces some code and conditions in an IRQ processing path, reducing IRQ latency for a build supported GICV2 only. Signed-off-by: Andrii Anisov --- Its a patch [1] with a better message and removed build errors. Comments from Andre are not addressed yet. [1] https://l

[Xen-devel] [RFC v2 05/16] gic-vgic: skip irqs locking in gic_restore_pending_irqs()

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov This function is called under IRQs disabled already, so drop additional flags save and restore. Signed-off-by: Andrii Anisov --- This patch is a part of [1] and already sent to the list [2]. [1] https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg03293.html [2]

[Xen-devel] [RFC v2 13/16] hack: arm/domain: simplify context restore from idle vcpu

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Simplify context restore from idle vcpu to the one ran before it. This improves low cpu load but high irq rate use-cases. Signed-off-by: Andrii Anisov --- xen/arch/arm/domain.c | 21 +++-- xen/include/xen/sched.h | 1 + 2 files changed, 12 insertions(+),

[Xen-devel] [RFC v2 09/16] xen/arm: Re-enable interrupt later in the trap path

2018-12-26 Thread Andrii Anisov
From: Julien Grall This makes function enter_hypervisor_head() being executed with irqs locked. This also give a fine side effect - it assures that LRs are cleared prior to any IRQs processing, which leads to a better (faster) IRQs processing. Signed-off-by: Julien Grall [Andrii: add a justific

[Xen-devel] [RFC v2 12/16] gic-v2: avoid HCR reading for GICv2

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Because the HCR value is only changed by the hypervisor, we can rely on a cached value and do not do peripheral register reads for this register. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-v2.c | 43 +-- xen/arch/arm/gic-v3

[Xen-devel] [RFC v2 02/16] gic-vgic:vgic: avoid excessive conversions

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Avoid excessive conversions between `pending_irq` and irq number and priority. This is a tiny but pure optimization. Also it aligns a `gic_raise_guest_irq()` function interface to its current implementation in the meaning that it is removed a clearly ignored priority argument

[Xen-devel] [RFC v2 07/16] hack:vgic: move irq_to_pending out of lock

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov For GICV2 pending_irq allocation is not concurrent, so reduce some code under lock. This code is not supposed to work with GICv3 Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-v3-its.c | 2 ++ xen/arch/arm/gic-v3-lpi.c | 2 ++ xen/arch/arm/gic-v3.c | 2 ++ xen/arch/

[Xen-devel] [RFC v2 10/16] gic-vgic: skip irqs locking in vgic_sync_from_lrs

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov After the patch "xen/arm: Re-enable interrupt later in the trap path" this function is called with irqs already locked. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-vgic.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/gic-vgic.

[Xen-devel] [RFC v2 11/16] gic-v2: Write HCR only on change

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov This saves one write to peripheral HCR register per hypervisor entry for most cases. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-v2.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index 1a744c5

[Xen-devel] [RFC v2 03/16] gic:vgic:gic-vgic: introduce non-atomic bitops

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov All bit operations for gic, vgic and gic-vgic are performed under spinlocks, so there is no need for atomic bit ops here, they only introduce excessive call to functions used more expensive exclusive ARM instructions. Signed-off-by: Andrii Anisov --- This patch was not chan

[Xen-devel] [RFC v2 08/16] gic-vgic:vgic: do not keep disabled IRQs in any of queues

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Do not put already disabled IRQs into any of queues, and remove an IRQ from all queues on disable. Insert the IRQ into queues on enable if needed. This also allows simplification of under-lock decission of events needed delivery. Signed-off-by: Andrii Anisov --- xen/arch/ar

[Xen-devel] [RFC v2 00/16] Old GIC (gic-vgic) optimizations for GICV2

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov This patch series is an attempt to reduce IRQ latency with the old GIC implementation (gic-vgic). These patches originally based on XEN 4.10 release. The motivation was to improve benchmark results of a system given to a customer for evaluation. This patch series is tailored f

[Xen-devel] [RFC v2 06/16] vgic: move pause_flags check out of vgic spinlock

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Pause_flags is not related to vgic spinlock, so reduce code under lock. Signed-off-by: Andrii Anisov --- Comments from Julien [1] are not addressed yet. [1] https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg03306.html --- xen/arch/arm/vgic.c | 13 ++

[Xen-devel] [RFC v2 15/16] gic: vgic: align frequently accessed data by cache line size

2018-12-26 Thread Andrii Anisov
From: Andrii Anisov Cache line size assumed 64 byte as for H3. Align the `struct pending_irq` and allocate lrs shadow aligned to cache line size. Signed-off-by: Andrii Anisov --- xen/arch/arm/domain.c| 4 xen/arch/arm/vgic.c | 9 + xen/include/asm-arm/config.h | 2

[Xen-devel] [ovmf test] 131582: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131582 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131582/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm

[Xen-devel] [xen-unstable test] 131564: tolerable FAIL - PUSHED

2018-12-26 Thread osstest service owner
flight 131564 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/131564/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-libvirt-pair 10 xen-boot/src_host fail in 131537 pass in 131564 test-armhf-armhf-xl-rtds

[Xen-devel] [ovmf test] 131581: regressions - FAIL

2018-12-26 Thread osstest service owner
flight 131581 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/131581/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 129475 build-i386-xsm