[Xen-devel] [xen-4.4-testing test] 102718: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102718 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102718/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 11 guest-start fail REGR. vs. 102521 test-amd64-i386

Re: [Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread Thomas Toka
ii xen-hypervisor-4.8-amd644.8.0~rc5-1 amd64 Xen Hypervisor on AMD64 xentop shows: Xen 4.8.0-rc We could not fix this with stable packages, so we are trying now to catch it by using latest software and the help of xen-devel. Symptoms are the same in

Re: [Xen-devel] [PATCH KERNEL] xen/events: use xen_vcpu_id mapping for EVTCHNOP_status

2016-11-29 Thread Juergen Gross
On 23/11/16 13:38, Vitaly Kuznetsov wrote: > EVTCHNOP_status hypercall returns Xen's idea of vcpu id so we need to > compare it against xen_vcpu_id mapping, not the Linux cpu id. > > Suggested-by: Radim Krcmar > Signed-off-by: Vitaly Kuznetsov Applied to xen/tip.git for-linus-4.10 Juergen __

Re: [Xen-devel] [PATCH 1/2] x86: Make E820_X_MAX unconditionally larger than E820MAX

2016-11-29 Thread Ingo Molnar
* Alex Thorlton wrote: > It's really not necessary to limit E820_X_MAX to 128 in the non-EFI > case. This commit drops E820_X_MAX's dependency on CONFIG_EFI, so that > E820_X_MAX is always at least slightly larger than E820MAX. > > The real motivation behind this is actually to prevent some is

Re: [Xen-devel] [PATCH v3.1 07/15] xen/x86: do the PCI scan unconditionally

2016-11-29 Thread Tian, Kevin
> From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: Tuesday, November 29, 2016 8:58 PM > > On Tue, Nov 29, 2016 at 05:47:42AM -0700, Jan Beulich wrote: > > >>> On 29.11.16 at 13:33, wrote: > > > On Thu, Nov 03, 2016 at 07:54:24AM -0400, Boris Ostrovsky wrote: > > >> > > >> > > >> On 11/

Re: [Xen-devel] Patch set from XSA-157 (CVE-2015-8551 & CVE-2015-8552) missing in 3.10 and incomplete in 3.18 and 4.1 stable tree

2016-11-29 Thread Willy Tarreau
Hi Thomas, On Wed, Nov 30, 2016 at 01:42:25AM +0100, Thomas Deutschmann wrote: > Hi, > > the patch set from XSA-157 [1] is missing from > > - linux-3.10 (...) Thank you for both of these, I'm queueing these for the next 3.10. Willy ___ Xen-devel mai

[Xen-devel] [qemu-upstream-4.5-testing test] 102714: regressions - trouble: blocked/broken/fail/pass

2016-11-29 Thread osstest service owner
flight 102714 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102714/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken REGR. vs. 99725 test-

Re: [Xen-devel] [PATCH 2/2] xen/x86: Increase xen_e820_map to E820_X_MAX possible entries

2016-11-29 Thread Juergen Gross
On 30/11/16 04:24, Alex Thorlton wrote: > On systems with sufficiently large e820 tables, and several IOAPICs, it > is possible for the XENMEM_machine_memory_map callback (and its > counterpart, XENMEM_memory_map) to attempt to return an e820 table with > more than 128 entries. This callback adds

[Xen-devel] [PATCH RFC 2/2] xen-swiotlb: Provide size aligned DMA addresses.

2016-11-29 Thread Konrad Rzeszutek Wilk
The dma_alloc_coherent() API specifies that: [...] The CPU virtual address and the DMA address are both guaranteed to be aligned to the smallest PAGE_SIZE order which is greater than or equal to the requested size. This invariant exists (for example) to guarantee that if you allocate a chunk whic

[Xen-devel] [PATCH RFC 1/2] xen/page_alloc: Add size_align parameter to provide MFNs which are size aligned.

2016-11-29 Thread Konrad Rzeszutek Wilk
This is to support the requirement that exists in PV dom0 when doing DMA requests: "dma_alloc_coherent() [...] The CPU virtual address and the DMA address are both guaranteed to be aligned to the smallest PAGE_SIZE order which is greater than or equal to the requested size. This invariant exists

[Xen-devel] [PATCH RFC] Add size alignment to page allocator.

2016-11-29 Thread Konrad Rzeszutek Wilk
Hey! Please see the two RFC patches to add in the XENMEM_exchange hypercall another argument to get MFNs which are size aligned. The use case is also attached - which is to provide the framework for dma_alloc_coherent which sets certain guarantees that were not provided by Linux Xen-SWIOTLB lead

[Xen-devel] [ovmf test] 102715: all pass - PUSHED

2016-11-29 Thread osstest service owner
flight 102715 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102715/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf ff9a1358b3ff98b1c3a9b4b584fca71653a1c9fe baseline version: ovmf 2b2efe33eaceb3fd2b5c6

[Xen-devel] [PATCH 2/2] xen/x86: Increase xen_e820_map to E820_X_MAX possible entries

2016-11-29 Thread Alex Thorlton
On systems with sufficiently large e820 tables, and several IOAPICs, it is possible for the XENMEM_machine_memory_map callback (and its counterpart, XENMEM_memory_map) to attempt to return an e820 table with more than 128 entries. This callback adds entries to the BIOS-provided e820 table to accou

[Xen-devel] [PATCH 1/2] x86: Make E820_X_MAX unconditionally larger than E820MAX

2016-11-29 Thread Alex Thorlton
It's really not necessary to limit E820_X_MAX to 128 in the non-EFI case. This commit drops E820_X_MAX's dependency on CONFIG_EFI, so that E820_X_MAX is always at least slightly larger than E820MAX. The real motivation behind this is actually to prevent some issues in the Xen kernel, where the XE

[Xen-devel] [RFC PATCH v2] xen/x86: Increase xen_e820_map to E820_X_MAX possible entries

2016-11-29 Thread Alex Thorlton
Here's the second round of my patches to fix up the problems that we're seeing with the XENMEM_machine_memory_map hypercall. These few simple changes, to give xen_e820_map some extra space, get things working fine on our large machine. This version of the patchset adds a patch to remove the #ifde

[Xen-devel] [qemu-upstream-4.5-testing baseline-only test] 68123: regressions - FAIL

2016-11-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 68123 qemu-upstream-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68123/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-pygrub 6 xe

[Xen-devel] [xen-4.7-testing test] 102711: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102711 xen-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102711/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-debianhvm-amd64 9 debian-hvm-install fail REGR. vs. 102536 test-amd6

Re: [Xen-devel] [PATCH v3 01/15] docs: L2 Cache Allocation Technology (CAT) feature document.

2016-11-29 Thread Yi Sun
On 16-11-29 13:22:41, Dario Faggioli wrote: > On Tue, 2016-11-29 at 12:52 +0800, Yi Sun wrote: > > On 16-11-25 18:39:41, Dario Faggioli wrote: > > > On Tue, 2016-10-25 at 11:40 +0800, Yi Sun wrote: > > > > +* xl interfaces: > > > > + > > > > +  1. `psr-cat-show [OPTIONS] domain-id`: > > > > + > > >

Re: [Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-11-29 Thread George Dunlap
On Tue, Nov 29, 2016 at 4:18 AM, Ronald Rojas wrote: > Created basic Makfele for the Golang xenlight > project so that the project is built and > installed. A template template is alo added. Thanks Ronald! Not a bad first submission, but a lot of things that need tightening up. First, the norma

[Xen-devel] [xen-4.6-testing test] 102712: tolerable FAIL - PUSHED

2016-11-29 Thread osstest service owner
flight 102712 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102712/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds 15 guest-start/debian.repeat fail blocked in 102551 test-armhf-armhf-libvirt

[Xen-devel] Patch set from XSA-155 (CVE-2015-8550) missing in 3.10 and incomplete in 3.18 and 4.1 stable tree

2016-11-29 Thread Thomas Deutschmann
Hi, the patch set from XSA-155 [1] is missing from - linux-3.10 and is incomplete in - linux-3.18 - linux-4.1 See XSA-155 [1] or linux-4.4. for a complete list: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?qt=grep&q=XSA155&h=linux-4.4.y Compare against linux-3.18

[Xen-devel] Patch set from XSA-157 (CVE-2015-8551 & CVE-2015-8552) missing in 3.10 and incomplete in 3.18 and 4.1 stable tree

2016-11-29 Thread Thomas Deutschmann
Hi, the patch set from XSA-157 [1] is missing from - linux-3.10 and is incomplete in - linux-3.18 - linux-4.1 See XSA-157 [1] or linux-4.4. for a complete list: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?qt=grep&q=XSA-157&h=linux-4.4.y Compare against linux-3.1

[Xen-devel] [xen-4.5-testing baseline-only test] 68122: tolerable FAIL

2016-11-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 68122 xen-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68122/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-xtf-amd64-amd64-3 20 xtf/test-hvm32-invlpg~shad

[Xen-devel] [DOC v1] Xen transport for 9pfs

2016-11-29 Thread Stefano Stabellini
# Xen transport for 9pfs version 1 ## Background 9pfs is a network filesystem protocol developed for Plan 9. 9pfs is very simple and describes a series of commands and responses. It is completely independent from the communication channels, in fact many clients and servers support multiple chann

Re: [Xen-devel] [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Laura Abbott
On 11/29/2016 02:26 PM, Boris Ostrovsky wrote: > On 11/29/2016 01:55 PM, Laura Abbott wrote: >> __pa_symbol is the correct macro to use on kernel >> symbols. Switch to this from __pa. >> >> Signed-off-by: Laura Abbott >> --- >> Found during a sweep of the kernel. Untested. >> --- >> drivers/xen/x

Re: [Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-11-29 Thread George Dunlap
On Tue, Nov 29, 2016 at 6:19 PM, Wei Liu wrote: > On Mon, Nov 28, 2016 at 12:18:03PM -0500, Ronald Rojas wrote: >> diff --git a/tools/Makefile b/tools/Makefile >> index 71515b4..b89f06b 100644 >> --- a/tools/Makefile >> +++ b/tools/Makefile >> @@ -11,6 +11,7 @@ SUBDIRS-y += misc >> SUBDIRS-y += e

[Xen-devel] [xen-4.5-testing test] 102710: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102710 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102710/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt13 saverestore-support-check fail REGR. vs. 101275 Tests which are

Re: [Xen-devel] [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Boris Ostrovsky
On 11/29/2016 01:55 PM, Laura Abbott wrote: > __pa_symbol is the correct macro to use on kernel > symbols. Switch to this from __pa. > > Signed-off-by: Laura Abbott > --- > Found during a sweep of the kernel. Untested. > --- > drivers/xen/xenbus/xenbus_dev_backend.c | 2 +- > drivers/xen/xenfs/xe

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

2016-11-29 Thread osstest service owner
flight 102719 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/102719/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 1

Re: [Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread Juergen Schinker
> > > xenversion: It happened with 4.4.1 from Debian Jessie, then we upgraded the > Hypervisor to 4.8-rc from Debian Stretch. Symptoms are the same. > > So now its > > (d11) HVM Loader > > (d11) Detected Xen v4.8.0-rc > > Debian Strech has now 4.8.0.rc5-1 and I think it's very stable

Re: [Xen-devel] Kernel panic on Xen virtualisation in Debian

2016-11-29 Thread Ingo Jürgensmann
Am 29.11.2016 um 10:08 schrieb Wei Liu : >> http://paste.debian.net/895464/ > Entry not found -- maybe it expired... Sorry. Here it is: Nov 14 09:19:52 31.172.31.251 [39677.027813] BUG: unable to handle kernel Nov 14 09:19:52 31.172.31.251 at 880002b4c06e Nov 14 09:19:52 31.172.31.251 [396

Re: [Xen-devel] [PATCH] arm/acpi: hide watchdog timer in GTDT table for dom0

2016-11-29 Thread Andrew Cooper
On 29/11/16 12:09, Roger Pau Monne wrote: > On Tue, Nov 29, 2016 at 04:44:18AM -0700, Jan Beulich wrote: > On 29.11.16 at 12:38, wrote: >>> On Tue, Nov 29, 2016 at 03:40:37AM -0700, Jan Beulich wrote: >>> On 29.11.16 at 03:59, wrote: > Either we have to hide the watchdog timer section

[Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread Thomas Toka
Hi, vps_stop.sh does: - Get vserver ids from db and then stops this in a for loop - then: for id in $vserver; do xl destroy vmanager"$id" done xenversion: It happened with 4.4.1 from Debian Jessie, then we upgraded the Hypervisor to 4.8-rc from Debian Stretch. Symptoms are the same. So now its

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

2016-11-29 Thread osstest service owner
flight 102717 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/102717/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 1

Re: [Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread IP-Projects - Support
Another try: root@v34:~# xl list NameID Mem VCPUs State Time(s) Domain-0 0 2048 2 r- 600.6 (null) 37 0 1 --p--d 6.6 (null)

[Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread IP-Projects - Support
Sorry for html mail again.. Next will be plain text.. Mit freundlichen Grüßen Thomas Toka - Second Level Support - IP-Projects GmbH & Co. KG Am Vogelherd 14 D - 97295 Waldbrunn Telefon: 09306 - 76499-0 FAX: 09306 - 76499-15 E-Mail: i...@ip-projects.de Geschäftsführer: Michael Schinzel Regis

[Xen-devel] [distros-debian-snapshot test] 68120: tolerable FAIL

2016-11-29 Thread Platform Team regression test user
flight 68120 distros-debian-snapshot real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68120/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-armhf-daily-netboot-pygrub 9 debian-di-install fail like 68078 test-amd64-am

Re: [Xen-devel] [RFD] OP-TEE (and probably other TEEs) support

2016-11-29 Thread Volodymyr Babchuk
Hi Julien, On 29 November 2016 at 20:55, Julien Grall wrote: > Hi Volodymyr, > > On 29/11/16 17:40, Volodymyr Babchuk wrote: >> >> On 29 November 2016 at 18:02, Julien Grall wrote: >>> >>> On 29/11/16 15:27, Volodymyr Babchuk wrote: On 28 November 2016 at 22:10, Julien Grall wrote:

Re: [Xen-devel] [PATCH] libxl: invert xc and domain model resume calls in xc_domain_resume()

2016-11-29 Thread Stefano Stabellini
On Tue, 29 Nov 2016, Juergen Gross wrote: > On 29/11/16 08:34, Wei Liu wrote: > > On Mon, Nov 28, 2016 at 02:53:57PM +0100, Cédric Bosdonnat wrote: > >> Resume is sometimes silently failing for HVM guests. Getting the > >> xc_domain_resume() and libxl__domain_resume_device_model() in the > >> rever

[Xen-devel] [qemu-upstream-4.7-testing test] 102709: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102709 qemu-upstream-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102709/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt13 saverestore-support-check fail REGR. vs. 100711 test-

Re: [Xen-devel] [PATCH] arm/acpi: hide watchdog timer in GTDT table for dom0

2016-11-29 Thread Stefano Stabellini
On Mon, 28 Nov 2016, Shanker Donthineni wrote: > Either we have to hide the watchdog timer section in GTDT or emulate > watchdog timer block for dom0. Otherwise, system gets panic when > dom0 accesses its MMIO registers. The current XEN doesn't support > virtualization of watchdog timer, so hide th

Re: [Xen-devel] [PATCH] arm/acpi: hide watchdog timer in GTDT table for dom0

2016-11-29 Thread Stefano Stabellini
On Tue, 29 Nov 2016, Roger Pau Monne wrote: > On Tue, Nov 29, 2016 at 06:07:36AM -0700, Jan Beulich wrote: > > >>> On 29.11.16 at 13:09, wrote: > > > On Tue, Nov 29, 2016 at 04:44:18AM -0700, Jan Beulich wrote: > > >> >>> On 29.11.16 at 12:38, wrote: > > >> > On Tue, Nov 29, 2016 at 03:40:37AM -0

Re: [Xen-devel] [RFD] OP-TEE (and probably other TEEs) support

2016-11-29 Thread Julien Grall
Hi Volodymyr, On 29/11/16 17:40, Volodymyr Babchuk wrote: On 29 November 2016 at 18:02, Julien Grall wrote: On 29/11/16 15:27, Volodymyr Babchuk wrote: On 28 November 2016 at 22:10, Julien Grall wrote: On 28/11/16 18:09, Volodymyr Babchuk wrote: On 28 November 2016 at 18:14, Julien Grall

[Xen-devel] [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Laura Abbott
__pa_symbol is the correct macro to use on kernel symbols. Switch to this from __pa. Signed-off-by: Laura Abbott --- Found during a sweep of the kernel. Untested. --- drivers/xen/xenbus/xenbus_dev_backend.c | 2 +- drivers/xen/xenfs/xenstored.c | 2 +- 2 files changed, 2 insertions(+),

[Xen-devel] [PATCHv4 00/10] CONFIG_DEBUG_VIRTUAL for arm64

2016-11-29 Thread Laura Abbott
Hi, This is v4 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly expanded on __pa_symbol conversion with a few new sites found. There's also some reworking done to avoid calling __va too early. __va relies on having memstart_addr set so very early code in early_fixmap_init and earl

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 08:30 PM, Dario Faggioli wrote: On Tue, 2016-11-29 at 19:27 +0200, Oleksandr Andrushchenko wrote: On 11/29/2016 07:05 PM, Jan Beulich wrote: If you document it as padding, you can't easily use it later on for some extension. Why not? I would be more careful about reserved, rather

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Dario Faggioli
On Tue, 2016-11-29 at 19:27 +0200, Oleksandr Andrushchenko wrote: > On 11/29/2016 07:05 PM, Jan Beulich wrote: > > If you document it as padding, you can't easily use it later on for > > some extension. > Why not? I would be more careful about reserved, rather than padding. > Reserved means that it

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

2016-11-29 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 68121 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68121/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 2b2efe33eaceb3fd2b5c6859dcb5151970dc797b baseline v

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-29 Thread Stefano Stabellini
On Tue, 29 Nov 2016, Artem Mygaiev wrote: > Hi Julien > > On 29.11.16 16:27, Julien Grall wrote: > > Hi Artem, > > > > On 29/11/16 14:21, Artem Mygaiev wrote: > >> Lars, the project is approved by Coverity. Scan has found some issues in > >> xen/arch/arm on master, part of them are false positives

[Xen-devel] [qemu-upstream-4.6-testing test] 102708: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102708 qemu-upstream-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102708/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt 13 saverestore-support-check fail REGR. vs. 99723 test-

[Xen-devel] PV and HVM domains left as zombies with grants [was: Re: AW: Payed Xen Admin]

2016-11-29 Thread Dario Faggioli
On Tue, 2016-11-29 at 13:34 +, IP-Projects - Support wrote: > Hello, > > we see this i think when the vms are stopped or restarted by > customers (xl destroy vm and then recreating) or I can reprdoce this > when I stop them all by > script with a for loop with xl destroy $i . > Ok, that makes

[Xen-devel] [xen-unstable-smoke test] 102713: regressions - trouble: blocked/broken/pass

2016-11-29 Thread osstest service owner
flight 102713 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/102713/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 4 host-build-prep fail REGR. vs. 102693 Tests which

Re: [Xen-devel] [RFD] OP-TEE (and probably other TEEs) support

2016-11-29 Thread Volodymyr Babchuk
On 29 November 2016 at 18:02, Julien Grall wrote: > Hello Volodymyr, > > On 29/11/16 15:27, Volodymyr Babchuk wrote: >> >> On 28 November 2016 at 22:10, Julien Grall wrote: >>> >>> On 28/11/16 18:09, Volodymyr Babchuk wrote: On 28 November 2016 at 18:14, Julien Grall wrote: > >

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 07:05 PM, Jan Beulich wrote: On 29.11.16 at 17:55, wrote: On 11/29/2016 06:09 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: +struct xensnd_req { +uint16_t id; +uint8_t operation; +uint8_t stream_idx; +uint32_t reserved; +union { +struct xensnd_

[Xen-devel] [ANNOUNCEMENT] Xen 4.8 RC7

2016-11-29 Thread Wei Liu
Hi all Xen 4.8 RC7 is tagged. You can check it out from xen.git: git://xenbits.xen.org/xen.git 4.8.0-rc7 For you convenience, please find tarball and signature at: https://downloads.xenproject.org/release/xen/4.8.0-rc7/ Please send bug reports and test reports to xen-de...@lists.xenproject.o

[Xen-devel] [OSSTEST PATCH] rumprun: Be more optimistic in allows

2016-11-29 Thread Ian Jackson
The old rumpuserxen allow file (which wants to override the global ignore for the xenstorels.repeat failure) was no longer effective because the branch name (in the filename) was out of date. Fix that. Also no longer ignore one-off xenstorels failures in the primary branches. The failure probabi

Re: [Xen-devel] [PATCH v14] sndif: add ABI for para-virtual sound

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 17:58, wrote: > On 11/29/2016 06:06 PM, Jan Beulich wrote: > On 29.11.16 at 16:24, wrote: >>> From: Oleksandr Andrushchenko >>> >>> Hi, all! >>> >>> Please find the next version of the ABI for the PV sound >>> after addressing review comments. >> You've been asked before,

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 17:55, wrote: > On 11/29/2016 06:09 PM, Jan Beulich wrote: > On 29.11.16 at 16:24, wrote: >>> +struct xensnd_req { >>> +uint16_t id; >>> +uint8_t operation; >>> +uint8_t stream_idx; >>> +uint32_t reserved; >>> +union { >>> +struct xensnd_open_req

Re: [Xen-devel] [PATCH v14] sndif: add ABI for para-virtual sound

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 06:06 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. You've been asked before, and I feel the need to repeat: Please slow down with sending ne

Re: [Xen-devel] [PATCH v4 00/15] PVH VCPU hotplug support

2016-11-29 Thread Boris Ostrovsky
On 11/29/2016 11:43 AM, Jan Beulich wrote: On 29.11.16 at 17:40, wrote: >> On 11/29/2016 11:11 AM, Jan Beulich wrote: >> On 29.11.16 at 16:33, wrote: This series adds support for ACPI-based VCPU hotplug for unprivileged PVH guests. Changes in v4: * Replaced XEN_D

[Xen-devel] [*-testing test] 102705: regressions etc.

2016-11-29 Thread Ian Jackson
I have force pushed all four of the trees below. This is the expected libvirt regression. Ian. osstest service owner writes ("[qemu-upstream-4.5-testing test] 102705: regressions - FAIL"): > flight 102705 qemu-upstream-4.5-testing real [real] > http://logs.test-lab.xenproject.org/osstest/logs/1

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 06:09 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: +struct xensnd_req { +uint16_t id; +uint8_t operation; +uint8_t stream_idx; +uint32_t reserved; +union { +struct xensnd_open_req open; +struct xensnd_rw_req rw; +uint8_t padding[2

Re: [Xen-devel] [PATCH v2 06/19] x86/pv: Implement pv_inject_{event, page_fault, hw_exception}()

2016-11-29 Thread Andrew Cooper
On 29/11/16 16:00, Jan Beulich wrote: On 28.11.16 at 12:13, wrote: >> The existing propagate_page_fault() is fairly similar to >> pv_inject_page_fault(), although it has a return value. Only a single caller >> makes use of the return value, and non-NULL is only returned if the passed >> cr2

Re: [Xen-devel] [PATCH v4 00/15] PVH VCPU hotplug support

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 17:40, wrote: > On 11/29/2016 11:11 AM, Jan Beulich wrote: > On 29.11.16 at 16:33, wrote: >>> This series adds support for ACPI-based VCPU hotplug for unprivileged >>> PVH guests. >>> >>> Changes in v4: >>> * Replaced XEN_DOMCTL_set_avail_vcpus with XEN_DOMCTL_acpi_access,

Re: [Xen-devel] [PATCH v2 17/19] x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back

2016-11-29 Thread Andrew Cooper
On 29/11/16 16:36, Jan Beulich wrote: On 29.11.16 at 17:30, wrote: >> On 29/11/16 16:24, Jan Beulich wrote: >> On 28.11.16 at 12:13, wrote: @@ -3012,7 +3018,10 @@ void hvm_task_switch( &tss.back_link, sizeof(tss.back_link), >> 0, >>

Re: [Xen-devel] [PATCH v4 00/15] PVH VCPU hotplug support

2016-11-29 Thread Boris Ostrovsky
On 11/29/2016 11:11 AM, Jan Beulich wrote: On 29.11.16 at 16:33, wrote: >> This series adds support for ACPI-based VCPU hotplug for unprivileged >> PVH guests. >> >> Changes in v4: >> * Replaced XEN_DOMCTL_set_avail_vcpus with XEN_DOMCTL_acpi_access, >> toolstack is expected to issue two AC

Re: [Xen-devel] [PATCH v2 17/19] x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 17:30, wrote: > On 29/11/16 16:24, Jan Beulich wrote: > On 28.11.16 at 12:13, wrote: >>> @@ -3012,7 +3018,10 @@ void hvm_task_switch( >>>&tss.back_link, >>> sizeof(tss.back_link), > 0, >>>&pfi

Re: [Xen-devel] [PATCH v2 17/19] x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back

2016-11-29 Thread Andrew Cooper
On 29/11/16 16:24, Jan Beulich wrote: On 28.11.16 at 12:13, wrote: >> @@ -3012,7 +3018,10 @@ void hvm_task_switch( >>&tss.back_link, >> sizeof(tss.back_link), 0, >>&pfinfo); >> if ( rc == HVMCOPY_bad_gva

Re: [Xen-devel] [PATCH v2 17/19] x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back

2016-11-29 Thread Jan Beulich
>>> On 28.11.16 at 12:13, wrote: > @@ -3012,7 +3018,10 @@ void hvm_task_switch( >&tss.back_link, sizeof(tss.back_link), > 0, >&pfinfo); > if ( rc == HVMCOPY_bad_gva_to_gfn ) > +{ > +hvm_in

[Xen-devel] [ovmf test] 102707: all pass - PUSHED

2016-11-29 Thread osstest service owner
flight 102707 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102707/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 2b2efe33eaceb3fd2b5c6859dcb5151970dc797b baseline version: ovmf 8ae17140476861efa642d

Re: [Xen-devel] [PATCH v4 00/15] PVH VCPU hotplug support

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 16:33, wrote: > This series adds support for ACPI-based VCPU hotplug for unprivileged > PVH guests. > > Changes in v4: > * Replaced XEN_DOMCTL_set_avail_vcpus with XEN_DOMCTL_acpi_access, > toolstack is expected to issue two ACPI "writes" to trigger the hotplug > * Moved pm1a

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-29 Thread Julien Grall
On 29/11/16 15:09, Artem Mygaiev wrote: Hi Julien On 29.11.16 16:27, Julien Grall wrote: Hi Artem, On 29/11/16 14:21, Artem Mygaiev wrote: Lars, the project is approved by Coverity. Scan has found some issues in xen/arch/arm on master, part of them are false positives. Perfect. It would b

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 16:24, wrote: > +struct xensnd_req { > +uint16_t id; > +uint8_t operation; > +uint8_t stream_idx; > +uint32_t reserved; > +union { > +struct xensnd_open_req open; > +struct xensnd_rw_req rw; > +uint8_t padding[24]; > +} op; > +}; >

Re: [Xen-devel] [PATCH v14] sndif: add ABI for para-virtual sound

2016-11-29 Thread Jan Beulich
>>> On 29.11.16 at 16:24, wrote: > From: Oleksandr Andrushchenko > > Hi, all! > > Please find the next version of the ABI for the PV sound > after addressing review comments. You've been asked before, and I feel the need to repeat: Please slow down with sending new versions. Give people time t

Re: [Xen-devel] [RFD] OP-TEE (and probably other TEEs) support

2016-11-29 Thread Julien Grall
Hello Volodymyr, On 29/11/16 15:27, Volodymyr Babchuk wrote: On 28 November 2016 at 22:10, Julien Grall wrote: On 28/11/16 18:09, Volodymyr Babchuk wrote: On 28 November 2016 at 18:14, Julien Grall wrote: On 24/11/16 21:10, Volodymyr Babchuk wrote: I mean, is there any command that will af

Re: [Xen-devel] [PATCH v2 11/19] x86/emul: Avoid raising faults behind the emulators back

2016-11-29 Thread Jan Beulich
>>> On 28.11.16 at 12:13, wrote: > Introduce a new x86_emul_pagefault() similar to x86_emul_hw_exception(), and > use this instead of hvm_inject_page_fault() from emulation codepaths. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich ___ Xe

Re: [Xen-devel] [PATCH v2 06/19] x86/pv: Implement pv_inject_{event, page_fault, hw_exception}()

2016-11-29 Thread Jan Beulich
>>> On 28.11.16 at 12:13, wrote: > The existing propagate_page_fault() is fairly similar to > pv_inject_page_fault(), although it has a return value. Only a single caller > makes use of the return value, and non-NULL is only returned if the passed cr2 > is non-canonical. Opencode this single cas

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-29 Thread Artem Mygaiev
Hi Julien On 29.11.16 16:27, Julien Grall wrote: > Hi Artem, > > On 29/11/16 14:21, Artem Mygaiev wrote: >> Lars, the project is approved by Coverity. Scan has found some issues in >> xen/arch/arm on master, part of them are false positives. > > Perfect. It would be interesting to know the list of

[Xen-devel] [qemu-upstream-4.5-testing test] 102705: regressions - FAIL

2016-11-29 Thread osstest service owner
flight 102705 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/102705/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt 13 saverestore-support-check fail REGR. vs. 99725 Tests

Re: [Xen-devel] [PATCH v3.1 11/15] xen/mm: introduce a function to map large chunks of MMIO

2016-11-29 Thread Roger Pau Monne
On Tue, Nov 29, 2016 at 06:00:47AM -0700, Jan Beulich wrote: > >>> On 29.11.16 at 13:41, wrote: > > On Fri, Nov 11, 2016 at 09:58:44AM -0700, Jan Beulich wrote: > >> >>> On 29.10.16 at 10:59, wrote: > >> > Current {un}map_mmio_regions implementation has a maximum number of > >> > loops > > to >

[Xen-devel] [PATCH v4 02/15] acpi: Make pmtimer optional in FADT

2016-11-29 Thread Boris Ostrovsky
PM timer is not supported by PVH guests. Signed-off-by: Boris Ostrovsky Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Jan Beulich --- tools/firmware/hvmloader/util.c | 3 ++- tools/libacpi/build.c | 5 + tools/libacpi/libacpi.h | 1 + 3 files changed, 8 insertions(+), 1 de

[Xen-devel] [PATCH v4 09/15] x86/domctl: Handle ACPI access from domctl

2016-11-29 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- Changes in v4: * New patch xen/arch/x86/hvm/acpi.c | 61 +++-- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/hvm/acpi.c b/xen/arch/x86/hvm/acpi.c index c80c464..1c205eb 100644 --- a/xen/a

[Xen-devel] [PATCH v4 13/15] pvh: Set online VCPU map to avail_vcpus

2016-11-29 Thread Boris Ostrovsky
ACPI builder marks VCPUS set in vcpu_online map as enabled in MADT. With ACPI-based CPU hotplug we only want VCPUs that are started by the guest to be marked as such. Remaining VCPUs will be set to "enable" by AML code during hotplug. Signed-off-by: Boris Ostrovsky Reviewed-by: Konrad Rzeszutek W

[Xen-devel] [PATCH v4 12/15] tools: Call XEN_DOMCTL_acpi_access on PVH VCPU hotplug

2016-11-29 Thread Boris Ostrovsky
Provide libxc interface for accessing ACPI via XEN_DOMCTL_acpi_access. When a VCPU is hot-(un)plugged to/from a PVH guest update VCPU map by writing to ACPI's XEN_ACPI_CPU_MAP register and then set GPE0 status bit in GPE0.status. Signed-off-by: Boris Ostrovsky --- Changes in v4: * New patch to

[Xen-devel] [PATCH v4 04/15] acpi: PVH guests need _E02 method

2016-11-29 Thread Boris Ostrovsky
This is the method that will get invoked on an SCI. Signed-off-by: Boris Ostrovsky Acked-by: Jan Beulich --- tools/libacpi/mk_dsdt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libacpi/mk_dsdt.c b/tools/libacpi/mk_dsdt.c index 16320a9..5765822 100644 ---

[Xen-devel] [PATCH v4 03/15] acpi: Power and Sleep ACPI buttons are not emulated for PVH guests

2016-11-29 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Jan Beulich --- tools/firmware/hvmloader/util.c | 3 ++- tools/libacpi/build.c | 2 ++ tools/libacpi/libacpi.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/firmware/hvmloa

[Xen-devel] [PATCH v4 06/15] domctl: Add XEN_DOMCTL_acpi_access

2016-11-29 Thread Boris Ostrovsky
This domctl will allow toolstack to read and write some ACPI registers. It will be available to both x86 and ARM but will be implemented first only for x86 Signed-off-by: Boris Ostrovsky --- Changes in v4: * New patch xen/arch/x86/domctl.c| 9 + xen/arch/x86/hvm/Makefile

[Xen-devel] [PATCH v4 07/15] pvh/acpi: Install handlers for ACPI-related PVH IO accesses

2016-11-29 Thread Boris Ostrovsky
PVH guests will have ACPI accesses emulated by the hypervisor as opposed to QEMU (as is the case for HVM guests). This patch installs handler for accesses to PM1A, GPE0 (which is added to struct hvm_hw_acpi) and VCPU map. Logic for the handler will be provided by a later patch. Whether or not the

[Xen-devel] [PATCH v4 01/15] x86/pmtimer: Move ACPI registers from PMTState to hvm_domain

2016-11-29 Thread Boris Ostrovsky
These registers (pm1a specifically) are not all specific to pm timer and are accessed by non-pmtimer code (for example, sleep/power button emulation). In addition to moving those regsters to struct hvm_domain rename HVM save state structures and routines as well. No functional changes are introdu

[Xen-devel] [PATCH v4 08/15] pvh/acpi: Handle ACPI accesses for PVH guests

2016-11-29 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- Changes in v4: * Registers are now explicitly split into 2-byte status and enable. xen/arch/x86/hvm/acpi.c | 122 +++- xen/common/domctl.c | 5 ++ xen/include/xen/sched.h | 3 ++ 3 files changed, 129 insertion

[Xen-devel] [PATCH v4 14/15] pvh/acpi: Save ACPI registers for PVH guests

2016-11-29 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- Changes in v4: * New patch (This should eventually be moved in acpi.c) xen/arch/x86/hvm/pmtimer.c | 8 1 file changed, 8 insertions(+) diff --git a/xen/arch/x86/hvm/pmtimer.c b/xen/arch/x86/hvm/pmtimer.c index 5144928..a810f2b 100644 --- a/xen/arch/x

[Xen-devel] [PATCH v4 10/15] events/x86: Define SCI virtual interrupt

2016-11-29 Thread Boris Ostrovsky
PVH guests do not have IOAPIC which typically generates an SCI. For those guests SCI will be provided as a virtual interrupt. Copy VIRQ_MCA definition from of xen-mca.h to xen.h to keep all x86-specific VIRQ_ARCH_* in one place. (However, because we don't want to require inclusion of xen.h in xen-

[Xen-devel] [PATCH v4 15/15] docs: Describe PVHv2's VCPU hotplug procedure

2016-11-29 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- CC: George Dunlap CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Tim Deegan --- Changes in v4: * Updated text to reflect new interfaces. docs/misc/hvmlite.markdown | 13 + 1 file changed, 13 insertions(+) diff --git a/docs/misc/hvmlite.ma

[Xen-devel] [PATCH v4 05/15] acpi/x86: Define ACPI IO registers for PVH guests

2016-11-29 Thread Boris Ostrovsky
Define VCPU available map address (used by AML's PRSC method) and GPE0 CPU hotplug event number. Use these definitions in mk_dsdt instead hardcoded values. These definitions will later be used by both the hypervisor and the toolstack (initially for PVH guests only), thus they are placed in public

[Xen-devel] [PATCH v4 00/15] PVH VCPU hotplug support

2016-11-29 Thread Boris Ostrovsky
This series adds support for ACPI-based VCPU hotplug for unprivileged PVH guests. Changes in v4: * Replaced XEN_DOMCTL_set_avail_vcpus with XEN_DOMCTL_acpi_access, toolstack is expected to issue two ACPI "writes" to trigger the hotplug * Moved pm1a registers from PMTState to hvm_domain. gpe0 reg

[Xen-devel] [PATCH v4 11/15] pvh: Send an SCI on VCPU hotplug event

2016-11-29 Thread Boris Ostrovsky
When GPE0 status register gets a bit set (currently XEN_GPE0_CPUHP_BIT only) send an SCI to the guest. Also update send_guest_global_virq() to handle cases when VCPU0 is offlined. Signed-off-by: Boris Ostrovsky --- Changes in v4: * Generate SCI only when needed (i.e. when status changes) * Deal

Re: [Xen-devel] [PATCH v3 1/2] xen_platform: unplug also SCSI disks

2016-11-29 Thread Olaf Hering
On Tue, Nov 29, Wei Liu wrote: > On Mon, Nov 28, 2016 at 10:28:21AM -0800, Stefano Stabellini wrote: > > Anthony, are you going to take care of this? > > However, given the state of the release, they'll need a release-ack to > > be applied. > I think these patches will need to wait to be backporte

Re: [Xen-devel] [PATCH v2 02/19] x86/emul: Drop X86EMUL_CMPXCHG_FAILED

2016-11-29 Thread Jan Beulich
>>> On 28.11.16 at 12:13, wrote: > X86EMUL_CMPXCHG_FAILED was introduced in c/s d430aae25 in 2005. Even at the > time it alised what is now X86EMUL_RETRY (as well as what is now > X86EMUL_EXCEPTION). I am not sure why the distinction was considered useful > at the time. I have always guessed th

Re: [Xen-devel] [RFD] OP-TEE (and probably other TEEs) support

2016-11-29 Thread Volodymyr Babchuk
On 28 November 2016 at 22:10, Julien Grall wrote: > > > On 28/11/16 18:09, Volodymyr Babchuk wrote: >> >> Hello, > > > Hello Volodymyr, > >> On 28 November 2016 at 18:14, Julien Grall wrote: >>> >>> On 24/11/16 21:10, Volodymyr Babchuk wrote: My name is Volodymyr Babchuk, I'm working on

[Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr Grytsov Signed-off-by: Oleksandr Dmytryshyn Signed-off-by: Iurii Konovalenko --- Changes since v1: * removed __attribute__((__packed__)) from all structures definitions Changes since v2: * remove

  1   2   >