[Xen-devel] [linux-arm-xen test] 107526: regressions - FAIL

2017-04-18 Thread osstest service owner
flight 107526 linux-arm-xen real [real] http://logs.test-lab.xenproject.org/osstest/logs/107526/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 6 xen-boot fail REGR. vs. 107176 Tests which are f

[Xen-devel] [PATCH] x86/vlapic: Don't reset APIC mode/ID when handling INIT signal

2017-04-18 Thread Chao Gao
According to SDM "ADVANCED PROGRAMMABLE INTERRUPT CONTROLLER (APIC) -> "EXTENDED XAPIC (X2APIC)" -> "x2APIC State Transitions", the APIC mode and APIC ID are preserved when handling INIT signal, no matter the current mode is x2APIC mode or xAPIC. All the other APIC registers are initialized, exactl

Re: [Xen-devel] null domains after xl destroy

2017-04-18 Thread Juergen Gross
On 19/04/17 03:02, Glenn Enright wrote: > On 18/04/17 20:36, Juergen Gross wrote: >> On 12/04/17 00:45, Glenn Enright wrote: >>> On 12/04/17 10:23, Andrew Cooper wrote: On 11/04/2017 23:13, Glenn Enright wrote: > On 11/04/17 21:49, Dietmar Hahn wrote: >> Am Dienstag, 11. April 2017, 20

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

2017-04-18 Thread osstest service owner
flight 107524 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107524/ 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 15 guest-localmigrate/x10 fail REGR. vs. 1056

Re: [Xen-devel] null domains after xl destroy

2017-04-18 Thread Glenn Enright
On 18/04/17 20:36, Juergen Gross wrote: On 12/04/17 00:45, Glenn Enright wrote: On 12/04/17 10:23, Andrew Cooper wrote: On 11/04/2017 23:13, Glenn Enright wrote: On 11/04/17 21:49, Dietmar Hahn wrote: Am Dienstag, 11. April 2017, 20:03:14 schrieb Glenn Enright: On 11/04/17 17:59, Juergen Gro

[Xen-devel] [linux-4.9 test] 107502: regressions - FAIL

2017-04-18 Thread osstest service owner
flight 107502 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107502/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 6 xen-boot fail REGR. vs. 107358 Regressions which are

Re: [Xen-devel] [PATCH 05/10] xen/arm: vpl011: Allocate a new PFN in the toolstack for the virtual console

2017-04-18 Thread Stefano Stabellini
On Thu, 13 Apr 2017, Wei Liu wrote: > On Thu, Apr 13, 2017 at 02:07:54PM +0530, Bhupinder Thakur wrote: > > Hi Wei, > > > > > > >> /* --- pluggable kernel loader - */ > > >> diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c > > >> index a7e839e.

Re: [Xen-devel] [PATCH 04/10] xen/arm: vpl011: Provide a knob in libxl to enable/disable pl011 emulation

2017-04-18 Thread Stefano Stabellini
On Thu, 13 Apr 2017, Wei Liu wrote: > On Thu, Apr 13, 2017 at 01:49:51PM +0530, Bhupinder Thakur wrote: > > Hi Wei, > > > > >> diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > > >> index a612d1f..fe7f795 100644 > > >> --- a/tools/libxl/libxl_types.idl > > >> +++ b/tools/lib

Re: [Xen-devel] [PATCH 03/10] xen/arm: vpl011: Enable pl011 emulation for a guest domain in Xen

2017-04-18 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Bhupinder Thakur wrote: > Vpl011 emulation is enabled for a guest domain in Xen only when it is > enabled through an option in libxl provided by the user through > guest configuration. > > The pl011 enable/disable knob in libxl is introduced in the following > patch: > xen/arm:

Re: [Xen-devel] [PATCH 02/10] xen/arm: vpl011: Add new virtual console hvm params in Xen

2017-04-18 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Bhupinder Thakur wrote: > 1. Add two new HVM param handlers for: > - Allocate a new event channel for sending/receiving events to/from Xen. > - Map the PFN allocted by the toolstack to be used as IN/OUT ring buffers. > > 2. Add validation to disallow get/set of these HV

Re: [Xen-devel] [PATCH 01/10] xen/arm: vpl011: Add pl011 uart emulation in Xen

2017-04-18 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Bhupinder Thakur wrote: > Add emulation code to emulate read/write access to pl011 registers > and pl011 interrupts: > > - Emulate DR read/write by reading and writing from/to the IN > and OUT ring buffers and raising an event to the backend when > there is data

[Xen-devel] [qemu-mainline test] 107501: tolerable FAIL - PUSHED

2017-04-18 Thread osstest service owner
flight 107501 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/107501/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-libvirt-xsm 13 saverestore-support-checkfail like 107378 test-amd64-i386-xl-qemuu-w

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

2017-04-18 Thread osstest service owner
flight 107497 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/107497/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-xsm 11 guest-start fail REGR. vs. 59254 test-armhf-armhf-xl

[Xen-devel] [xen-unstable-smoke test] 107527: tolerable trouble: broken/fail/pass - PUSHED

2017-04-18 Thread osstest service owner
flight 107527 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/107527/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 1 build-check(1) blocked n/a build-arm64-pvops 5 ker

[Xen-devel] [ovmf baseline-only test] 71202: regressions - FAIL

2017-04-18 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71202 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71202/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3865 xen-build

Re: [Xen-devel] [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-18 Thread Juergen Gross
On 18/04/17 20:46, Stefano Stabellini wrote: > On Tue, 18 Apr 2017, Juergen Gross wrote: >> On 18/04/17 20:37, Stefano Stabellini wrote: >>> On Thu, 6 Apr 2017, Juergen Gross wrote: On 06/04/17 18:43, Daniel Kiper wrote: > On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote:

Re: [Xen-devel] [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-18 Thread Stefano Stabellini
On Tue, 18 Apr 2017, Juergen Gross wrote: > On 18/04/17 20:37, Stefano Stabellini wrote: > > On Thu, 6 Apr 2017, Juergen Gross wrote: > >> On 06/04/17 18:43, Daniel Kiper wrote: > >>> On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote: > On 06/04/17 18:06, Daniel Kiper wrote: >

Re: [Xen-devel] [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-18 Thread Juergen Gross
On 18/04/17 20:37, Stefano Stabellini wrote: > On Thu, 6 Apr 2017, Juergen Gross wrote: >> On 06/04/17 18:43, Daniel Kiper wrote: >>> On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote: On 06/04/17 18:06, Daniel Kiper wrote: > Hi Julien, > > On Thu, Apr 06, 2017 at 04:39

Re: [Xen-devel] [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-18 Thread Stefano Stabellini
On Thu, 6 Apr 2017, Juergen Gross wrote: > On 06/04/17 18:43, Daniel Kiper wrote: > > On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote: > >> On 06/04/17 18:06, Daniel Kiper wrote: > >>> Hi Julien, > >>> > >>> On Thu, Apr 06, 2017 at 04:39:13PM +0100, Julien Grall wrote: > Hi Danie

[Xen-devel] [GIT PULL] (xen) stable/for-jens-4.12

2017-04-18 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.12 which is based on your 'for-4.12/block' branch. It has one fix - to emit an uevent whenever the size of the guest disk image changes. Please pull! drivers/block/x

Re: [Xen-devel] [PATCH RFC 07/20] migration: defer precopy policy to libxl

2017-04-18 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH RFC 07/20] migration: defer precopy policy to libxl"): > On Thu, Mar 30, 2017 at 01:19:41AM -0400, Joshua Otto wrote: > > Is the memcpy() really significant here? If this were a tight > > loop, sure, but every invocation of the policy callback implies > > both a 4MB ne

[Xen-devel] Status of our RCU subsystem

2017-04-18 Thread Dario Faggioli
Hey, So, because of this issue/thread, I started having a look at the RCU implementation in our tree: [Xen-devel] xen/arm: Domain not fully destroyed when using credit2 https://lists.xenproject.org/archives/html/xen-devel/2017-01/msg02454.html https://lists.xenproject.org/archives/html/xen-deve

Re: [Xen-devel] QEMU build breakage on ARM against Xen 4.9 caused by libxendevicemodel

2017-04-18 Thread Stefano Stabellini
On Tue, 18 Apr 2017, Paul Durrant wrote: > > -Original Message- > > From: Stefano Stabellini [mailto:sstabell...@kernel.org] > > Sent: 15 April 2017 01:40 > > To: Stefano Stabellini > > Cc: Paul Durrant ; qemu-de...@nongnu.org; > > Anthony Perard ; Wei Liu > > ; jgr...@suse.com; julien.gr.

[Xen-devel] CfP - VHPC at ISC extension - Papers due May 2

2017-04-18 Thread VHPC 17
CALL FOR PAPERS 12th Workshop on Virtualization in High­-Performance Cloud Computing (VHPC '17) held in conjunction with the International Supercomputing Conference - High Performance, June 18-22, 2017, Frankfurt, Germany.

Re: [Xen-devel] [Qemu-devel][PATCH] configure: introduce --enable-xen-fb-backend

2017-04-18 Thread Stefano Stabellini
On Tue, 18 Apr 2017, Juergen Gross wrote: > On 14/04/17 19:52, Stefano Stabellini wrote: > > On Fri, 14 Apr 2017, Juergen Gross wrote: > >> On 14/04/17 08:06, Oleksandr Andrushchenko wrote: > >>> On 04/14/2017 03:12 AM, Stefano Stabellini wrote: > On Tue, 11 Apr 2017, Oleksandr Andrushchenko w

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

2017-04-18 Thread osstest service owner
flight 107499 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/107499/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf f76bc44362e5f0a2ea509c07b2f6846bd9833ee8 baseline version: ovmf 51de5c302fed13b110963

[Xen-devel] [linux-arm-xen test] 107494: regressions - FAIL

2017-04-18 Thread osstest service owner
flight 107494 linux-arm-xen real [real] http://logs.test-lab.xenproject.org/osstest/logs/107494/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 6 xen-boot fail REGR. vs. 107176 Tests which are f

[Xen-devel] [PATCH v4] ns16550: Add support for UART parameters to be specifed with name-value pairs

2017-04-18 Thread Swapnil Paratey
Add name=value parsing options for com1 and com2 to add flexibility in setting register values for MMIO UART devices. Maintain backward compatibility with previous positional parameter specfications. eg. com1=115200,8n1,0x3f8,4 eg. com1=115200,8n1,0x3f8,4,reg_width=4,reg_shift=2 eg. com1=baud=115

Re: [Xen-devel] [PATCH 16/22] xen-blkfront: Make use of the new sg_map helper function

2017-04-18 Thread Logan Gunthorpe
On 18/04/17 09:50 AM, Konrad Rzeszutek Wilk wrote: > I am not sure if you know, but you can add on each patch the respective > maintainer via 'CC'. That way you can have certain maintainers CCed only > on the subsystems they cover. You put it after (or before) your SoB and > git send-email happil

Re: [Xen-devel] [PATCH 16/22] xen-blkfront: Make use of the new sg_map helper function

2017-04-18 Thread Logan Gunthorpe
On 18/04/17 08:27 AM, Konrad Rzeszutek Wilk wrote: > Interesting that you didn't CC any of the maintainers. Could you > do that in the future please? Please read the cover letter. The distribution list for the patchset would have been way too large to cc every maintainer (even as limited as it

[Xen-devel] [OSSTEST PATCH 10/11] mg-execute-flight: Support --progress-fd

2017-04-18 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-execute-flight | 7 +++ 1 file changed, 7 insertions(+) diff --git a/mg-execute-flight b/mg-execute-flight index bd09df3..5a861b0 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -35,6 +35,8 @@ publish=false badusage () { echo >&2 "bad usage"; us

[Xen-devel] [OSSTEST PATCH 02/11] ts-coverity-upload: Pass HttpsProxyMITMCert to curl

2017-04-18 Thread Ian Jackson
"proxy config: Add ability to install MITM TLS cert" sets this up on the test hosts, but not the controller. We don't really want this odd configuration globally on the controller. Instead, we have to pass it where it is needed. Signed-off-by: Ian Jackson --- ts-coverity-upload | 5 + 1 fi

[Xen-devel] [OSSTEST PATCH 04/11] sg-run-job: Break out testid_matches_globs

2017-04-18 Thread Ian Jackson
No functional change. Signed-off-by: Ian Jackson --- sg-run-job | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sg-run-job b/sg-run-job index cc24b73..8f7c36f 100755 --- a/sg-run-job +++ b/sg-run-job @@ -133,6 +133,15 @@ proc setstatus {st} { jobdb::j

[Xen-devel] [OSSTEST PATCH 08/11] mg-allocate: Document --info-base in head comment

2017-04-18 Thread Ian Jackson
This documentation was omitted from "mg-repro-setup: Provide useful info for allocation system" Signed-off-by: Ian Jackson --- mg-allocate | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-allocate b/mg-allocate index 803abb6..87a4e71 100755 --- a/mg-allocate +++ b/mg-allocate @@ -55,6 +

[Xen-devel] [OSSTEST PATCH 06/11] sg-run-job: Honour skip_testids runvar

2017-04-18 Thread Ian Jackson
This works like truncate_testids, except that the steps which match are never run (truncate_testids skips steps *after* matching steps, and also doesn't skip some things like log capture). If the programmed testid for a step ends in `(*)' to request substitutions of the stepno, the skip matching t

[Xen-devel] [OSSTEST PATCH 05/11] sg-run-job: Start step a bit later

2017-04-18 Thread Ian Jackson
We are going to want to process the nearly-finished testid. So allocate a stepno at the last possible moment. No overall functional chagne. Signed-off-by: Ian Jackson --- sg-run-job | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sg-run-job b/sg-run-job index 8f7c36f..8

[Xen-devel] [OSSTEST PATCH 00/11] Coverity fix and mg-repro-setup improvements

2017-04-18 Thread Ian Jackson
This should hopefully actually fix the coverity upload failures. Also, I tripped over some infelicities in mg-repro-setup. I'm going to push this to pretest now. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [OSSTEST PATCH 03/11] truncation: Support globs, and multiple patterns

2017-04-18 Thread Ian Jackson
Rename the variable to truncate_testids. It contains glob patterns as for Tcl `string match', space-separated. Adjust the two places which set it: cs-bisection-step (which needs to quote any special characters) and mg-repro-setup (which does not really process the value, but ought to be able to c

[Xen-devel] [OSSTEST PATCH 07/11] mg-repro-setup: skip log capture (by default)

2017-04-18 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-repro-setup | 5 + 1 file changed, 5 insertions(+) diff --git a/mg-repro-setup b/mg-repro-setup index bb429b4..af679d0 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -34,6 +34,7 @@ usage () { cat < estimated duration (default = 28d) --rogue

[Xen-devel] [OSSTEST PATCH 09/11] mg-allocate: Support --progress-fd

2017-04-18 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-allocate | 14 ++ 1 file changed, 14 insertions(+) diff --git a/mg-allocate b/mg-allocate index 87a4e71..2dfbdb1 100755 --- a/mg-allocate +++ b/mg-allocate @@ -57,6 +57,8 @@ # # --info-base= Replaces `manual' at start of info put into plan. # +

[Xen-devel] [OSSTEST PATCH 01/11] TestSupport: Provide stashfilecontents

2017-04-18 Thread Ian Jackson
Like target_putfilecontents_* but for files on controller. No callers yet. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 2b4a1f4..d482e1d 100644 --- a/Osstest/TestSuppo

[Xen-devel] [OSSTEST PATCH 11/11] mg-repro-setup: Use --progress-fd

2017-04-18 Thread Ian Jackson
Also, print a sensible message if allocation fails. Signed-off-by: Ian Jackson --- mg-repro-setup | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mg-repro-setup b/mg-repro-setup index af679d0..0b3137a 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -48,6 +48,8

Re: [Xen-devel] [PATCH 16/22] xen-blkfront: Make use of the new sg_map helper function

2017-04-18 Thread Konrad Rzeszutek Wilk
On Tue, Apr 18, 2017 at 09:42:20AM -0600, Logan Gunthorpe wrote: > > > On 18/04/17 08:27 AM, Konrad Rzeszutek Wilk wrote: > > Interesting that you didn't CC any of the maintainers. Could you > > do that in the future please? > > Please read the cover letter. The distribution list for the patchs

[Xen-devel] [PATCH] x86: Move microcode loading earlier

2017-04-18 Thread Ross Lagerwall
Move microcode loading earlier for the boot CPU and secondary CPUs so that it takes place before identify_cpu() is called for each CPU. Without this, the detected features may be wrong if the new microcode loading adjusts the feature bits. That could mean that some fixes (e.g. d6e9f8d4f35d ("x86/vm

Re: [Xen-devel] [PATCH] Add clang-format file for Xen Hypervisor format

2017-04-18 Thread Lars Kurth
Ishani, > On 12 Apr 2017, at 16:38, Ishani wrote: > > Hello, > > I seemed to have overwritten the correct file by the output of the > clang-format tool. My main idea is to compare output file and correct file > and take their comparison. Since there are features which are partially > impleme

[Xen-devel] [PATCH for-4.9 v2 1/3] paths.m4: provide XENSTORED_{KVA, PORT}

2017-04-18 Thread Wei Liu
The default values are Linux device names. No users yet. Signed-off-by: Wei Liu --- Rerun autogen.sh --- m4/paths.m4 | 12 1 file changed, 12 insertions(+) diff --git a/m4/paths.m4 b/m4/paths.m4 index 93ce89ab40..f208b7e39f 100644 --- a/m4/paths.m4 +++ b/m4/paths.m4 @@ -147,3 +147,

[Xen-devel] [PATCH for-4.9 v2 3/3] hotplug/FreeBSD: configure xenstored

2017-04-18 Thread Wei Liu
Signed-off-by: Wei Liu --- tools/hotplug/FreeBSD/rc.d/xencommons.in | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/hotplug/FreeBSD/rc.d/xencommons.in b/tools/hotplug/FreeBSD/rc.d/xencommons.in index 2fcd84ab6d..ccd5a9b055 100644 --- a/tools/hotplug/FreeBSD/rc.d

[Xen-devel] [PATCH for-4.9 v2 0/3] oxenstored: make it work on FreeBSD

2017-04-18 Thread Wei Liu
Wei Liu (3): paths.m4: provide XENSTORED_{KVA,PORT} oxenstored: provide options to define xenstored devices hotplug/FreeBSD: configure xenstored m4/paths.m4 | 12 tools/hotplug/FreeBSD/rc.d/xencommons.in | 8 +--- tools/ocaml/xenstored/define.m

[Xen-devel] [PATCH for-4.9 v2 2/3] oxenstored: provide options to define xenstored devices

2017-04-18 Thread Wei Liu
Signed-off-by: Wei Liu --- tools/ocaml/xenstored/define.ml | 3 --- tools/ocaml/xenstored/domains.ml | 7 +-- tools/ocaml/xenstored/oxenstored.conf.in | 3 +++ tools/ocaml/xenstored/xenstored.ml | 4 +++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/t

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

2017-04-18 Thread osstest service owner
flight 107495 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107495/ 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 15 guest-localmigrate/x10 fail REGR. vs. 1056

Re: [Xen-devel] [PATCH 1/5] x86/dpci: allow hvm_irq_dpci to handle a variable number of GSIs

2017-04-18 Thread Roger Pau Monne
On Tue, Apr 18, 2017 at 06:13:54AM -0600, Jan Beulich wrote: > >>> On 27.03.17 at 12:44, wrote: > > --- a/xen/include/xen/hvm/irq.h > > +++ b/xen/include/xen/hvm/irq.h > > @@ -81,14 +81,16 @@ struct hvm_girq_dpci_mapping { > > > > /* Protected by domain's event_lock */ > > struct hvm_irq_dpci

Re: [Xen-devel] [PATCH 16/22] xen-blkfront: Make use of the new sg_map helper function

2017-04-18 Thread Konrad Rzeszutek Wilk
On Tue, Apr 18, 2017 at 02:13:59PM +, David Laight wrote: > From: Logan Gunthorpe > > Sent: 13 April 2017 23:05 > > Straightforward conversion to the new helper, except due to > > the lack of error path, we have to warn if unmapable memory > > is ever present in the sgl. Interesting that you d

Re: [Xen-devel] [PATCH 1/2] xen/arm, arm64: fix xen_dma_ops after 815dd18 "Consolidate get_dma_ops..."

2017-04-18 Thread Catalin Marinas
On Thu, Apr 13, 2017 at 02:04:21PM -0700, Stefano Stabellini wrote: > The following commit: > > commit 815dd18788fe0d41899f51b91d0560279cf16b0d > Author: Bart Van Assche > Date: Fri Jan 20 13:04:04 2017 -0800 > > treewide: Consolidate get_dma_ops() implementations > > rearranges g

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-18 Thread Paul Durrant
> -Original Message- [snip] > > > > Not quite sure I understand this. The QEMu device model does not 'pass > DMA requests' as such, it maps guest RAM and reads or writes to emulate > DMA, right? So, what's needed is a mechanism to map guest RAM by 'bus > address'... i.e. an address that wil

Re: [Xen-devel] [PATCH 5/5] x86/vioapic: bind interrupts to PVH Dom0

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 15:44, wrote: > On Tue, Apr 18, 2017 at 06:35:57AM -0600, Jan Beulich wrote: >> >>> On 27.03.17 at 12:44, wrote: >> > --- a/xen/arch/x86/hvm/vioapic.c >> > +++ b/xen/arch/x86/hvm/vioapic.c >> > @@ -199,6 +199,34 @@ static void vioapic_write_redirent( >> > unmasked = un

Re: [Xen-devel] [stable-4.10: PATCH] xen: revert commits 72a9b186292 and da72ff5bfcb0

2017-04-18 Thread Juergen Gross
On 18/04/17 15:52, Greg KH wrote: > On Thu, Apr 13, 2017 at 06:55:54PM +0200, Greg KH wrote: >> On Thu, Apr 13, 2017 at 06:28:33PM +0200, Juergen Gross wrote: >>> On 13/04/17 18:24, Greg KH wrote: On Thu, Apr 13, 2017 at 04:49:49PM +0200, Juergen Gross wrote: > Revert commit 72a9b186292 ("

Re: [Xen-devel] [stable-4.10: PATCH] xen: revert commits 72a9b186292 and da72ff5bfcb0

2017-04-18 Thread Greg KH
On Thu, Apr 13, 2017 at 06:55:54PM +0200, Greg KH wrote: > On Thu, Apr 13, 2017 at 06:28:33PM +0200, Juergen Gross wrote: > > On 13/04/17 18:24, Greg KH wrote: > > > On Thu, Apr 13, 2017 at 04:49:49PM +0200, Juergen Gross wrote: > > >> Revert commit 72a9b186292 ("xen: Remove event channel notificat

Re: [Xen-devel] [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-18 Thread Matt Fleming
On Thu, 06 Apr, at 04:55:11PM, Mark Rutland wrote: > > Please, let's keep the Xen knowledge constrained to the Xen EFI wrapper, > rather than spreading it further. > > IMO, given reset_system is a *mandatory* function, the Xen wrapper > should provide an implementation. > > I don't see why you c

Re: [Xen-devel] [PATCH 5/5] x86/vioapic: bind interrupts to PVH Dom0

2017-04-18 Thread Roger Pau Monne
On Tue, Apr 18, 2017 at 06:35:57AM -0600, Jan Beulich wrote: > >>> On 27.03.17 at 12:44, wrote: > > --- a/xen/arch/x86/hvm/vioapic.c > > +++ b/xen/arch/x86/hvm/vioapic.c > > @@ -199,6 +199,34 @@ static void vioapic_write_redirent( > > unmasked = unmasked && !ent.fields.mask; > > } >

Re: [Xen-devel] [RFC PATCH 15/23] X86/vioapic: Hook interrupt delivery of vIOAPIC

2017-04-18 Thread Konrad Rzeszutek Wilk
On Tue, Apr 18, 2017 at 04:34:52PM +0800, Lan Tianyu wrote: > On 2017年04月17日 22:43, Konrad Rzeszutek Wilk wrote: > > On Fri, Mar 17, 2017 at 07:27:15PM +0800, Lan Tianyu wrote: > >> From: Chao Gao > >> > >> When irq remapping enabled, IOAPIC Redirection Entry maybe is in remapping > >> format. If

Re: [Xen-devel] [RFC PATCH 3/23] VIOMMU: Add irq request callback to deal with irq remapping

2017-04-18 Thread Konrad Rzeszutek Wilk
On Tue, Apr 18, 2017 at 04:18:52PM +0800, Lan Tianyu wrote: > On 2017年04月17日 22:39, Konrad Rzeszutek Wilk wrote: > > On Fri, Mar 17, 2017 at 07:27:03PM +0800, Lan Tianyu wrote: > >> This patch is to add irq request callback for platform implementation > >> to deal with irq remapping request. > >> >

Re: [Xen-devel] [PATCH v2 3/4] VMX: don't blindly enable descriptor table exiting control

2017-04-18 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Tuesday, April 18, 2017 6:33 PM > > This is an optional feature and hence we should check for it before > use. > > Signed-off-by: Jan Beulich Reviewed-by: Kevin Tian ___ Xen-devel mailing list X

Re: [Xen-devel] [RFC PATCH 2/23] DMOP: Introduce new DMOP commands for vIOMMU support

2017-04-18 Thread Konrad Rzeszutek Wilk
On Tue, Apr 18, 2017 at 03:24:35PM +0800, Lan Tianyu wrote: > Hi Konrad: > Thanks for your review. > > On 2017年04月17日 22:36, Konrad Rzeszutek Wilk wrote: > > On Fri, Mar 17, 2017 at 07:27:02PM +0800, Lan Tianyu wrote: > >> This patch is to introduce create, destroy and query capabilities > >

[Xen-devel] [for-4.9] Re: [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-18 Thread Ian Jackson
Alistair Francis writes ("[PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h"): > The POSIX spec specifies to use: > #include > instead of: > #include > as seen here: >http://pubs.opengroup.org/onlinepubs/009695399/functions/signal.html Both: Acked-by: Ian Jackson Juli

Re: [Xen-devel] [PATCH] x86emul: force CLZERO feature flag in test harness

2017-04-18 Thread Andrew Cooper
On 18/04/17 14:16, Jan Beulich wrote: > Commit b988e88cc0 ("x86/emul: Add feature check for clzero") added a > feature check to the emulator, which breaks the harness without this > flag being forced to true. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper

[Xen-devel] [PATCH] x86emul: force CLZERO feature flag in test harness

2017-04-18 Thread Jan Beulich
Commit b988e88cc0 ("x86/emul: Add feature check for clzero") added a feature check to the emulator, which breaks the harness without this flag being forced to true. Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/x86_emulate.c +++ b/tools/tests/x86_emulator/x86_emulate.c @@ -89,6 +89,1

Re: [Xen-devel] [PATCH v2 4/4] x86/HVM: don't uniformly report "MMIO" for various forms of failed emulation

2017-04-18 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 18 April 2017 11:34 > To: xen-devel > Cc: Suravee Suthikulpanit ; Julien Grall > ; Andrew Cooper ; > Paul Durrant ; Jun Nakajima > ; Kevin Tian ; Boris > Ostrovsky > Subject: [PATCH v2 4/4] x86/HVM: don't uniforml

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

2017-04-18 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71201 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71201/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 51de5c302fed13b110963b3863fe69d6e2a51079 baseline v

Re: [Xen-devel] [PATCH v2 6/9] spinlock: Introduce spin_lock_cb()

2017-04-18 Thread Boris Ostrovsky
On 04/18/2017 08:43 AM, Jan Beulich wrote: On 18.04.17 at 14:32, wrote: >> On 04/18/2017 02:49 AM, Jan Beulich wrote: >> On 13.04.17 at 18:55, wrote: On 04/13/2017 11:46 AM, Jan Beulich wrote: On 03.04.17 at 18:50, wrote: >> While waiting for a lock we may want to peri

Re: [Xen-devel] [PATCH for-4.9 0/2] oxenstored: make it work on FreeBSD

2017-04-18 Thread Wei Liu
On Tue, Apr 18, 2017 at 11:11:20AM +0100, Christian Lindig wrote: > > > On 18. Apr 2017, at 10:59, Wei Liu wrote: > > > > Forgive my ignorance for the Ocaml ecosystem, but I can't seem to find a > > way to conditionally compile ocaml source code easily. > > > > Presumably you mean "Determine th

[Xen-devel] [libvirt test] 107493: regressions - trouble: blocked/broken/fail/pass

2017-04-18 Thread osstest service owner
flight 107493 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/107493/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 3 host-install(3)broken REGR. vs. 107442 test-armhf-armhf-libvir

[Xen-devel] [linux-4.9 test] 107491: regressions - trouble: blocked/broken/fail/pass

2017-04-18 Thread osstest service owner
flight 107491 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107491/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 4 host-build-prep fail REGR. vs. 107358 test-armhf-armhf-xl-c

Re: [Xen-devel] [PATCH for-next 0/6] vpci: initial PCI config space traps

2017-04-18 Thread Roger Pau Monne
On Tue, Apr 11, 2017 at 11:03:56AM +0100, Roger Pau Monne wrote: > Hello, > > The following series contain an implementation of handlers for the PCI > configuration space inside of Xen. This allows Xen to detect accesses to the > PCI configuration space and react accordingly. > > I'm still not su

Re: [Xen-devel] [PATCH v2 6/9] spinlock: Introduce spin_lock_cb()

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 14:32, wrote: > On 04/18/2017 02:49 AM, Jan Beulich wrote: > On 13.04.17 at 18:55, wrote: >>> On 04/13/2017 11:46 AM, Jan Beulich wrote: >>> On 03.04.17 at 18:50, wrote: > While waiting for a lock we may want to periodically run some > code. We could use spin_t

Re: [Xen-devel] [PATCH for-4.9 v3] x86/vioapic: allow holes in the GSI range for PVH Dom0

2017-04-18 Thread Chao Gao
On Tue, Apr 18, 2017 at 12:42:07PM +0100, Roger Pau Monne wrote: >The current vIO APIC for PVH Dom0 doesn't allow non-contiguous GSIs, which >means that all GSIs must belong to an IO APIC. This doesn't match reality, >where there are systems with non-contiguous GSIs. > >In order to fix this add a b

Re: [Xen-devel] [PATCH 5/5] x86/vioapic: bind interrupts to PVH Dom0

2017-04-18 Thread Jan Beulich
>>> On 27.03.17 at 12:44, wrote: > --- a/xen/arch/x86/hvm/vioapic.c > +++ b/xen/arch/x86/hvm/vioapic.c > @@ -199,6 +199,34 @@ static void vioapic_write_redirent( > unmasked = unmasked && !ent.fields.mask; > } > > +if ( is_hardware_domain(d) && unmasked ) > +{ > +xen

Re: [Xen-devel] [PATCH v2 6/9] spinlock: Introduce spin_lock_cb()

2017-04-18 Thread Boris Ostrovsky
On 04/18/2017 02:49 AM, Jan Beulich wrote: On 13.04.17 at 18:55, wrote: >> On 04/13/2017 11:46 AM, Jan Beulich wrote: >> On 03.04.17 at 18:50, wrote: While waiting for a lock we may want to periodically run some code. We could use spin_trylock() but since it doesn't take lock >

Re: [Xen-devel] [PATCH 4/5] x86/physdev: move prototypes of physdev_{map/unmap}_pirq to headers

2017-04-18 Thread Jan Beulich
>>> On 27.03.17 at 12:44, wrote: > So they can be called outside of the physdev.c file. But they aren't meant to be, which is the entire reason the declarations aren't in a header. Hence the rationale needs to be extended here. Jan ___ Xen-devel mail

Re: [Xen-devel] [PATCH 2/5] x86/ioapic: introduce helper to fetch triggering mode of GSI

2017-04-18 Thread Jan Beulich
>>> On 27.03.17 at 12:44, wrote: > --- a/xen/arch/x86/io_apic.c > +++ b/xen/arch/x86/io_apic.c > @@ -2261,6 +2261,28 @@ int io_apic_set_pci_routing (int ioapic, int pin, int > irq, int edge_level, int a > return 0; > } > > +unsigned int io_apic_get_gsi_trigger(unsigned int gsi) bool > +

Re: [Xen-devel] [PATCH 1/5] x86/dpci: allow hvm_irq_dpci to handle a variable number of GSIs

2017-04-18 Thread Jan Beulich
>>> On 27.03.17 at 12:44, wrote: > --- a/xen/include/xen/hvm/irq.h > +++ b/xen/include/xen/hvm/irq.h > @@ -81,14 +81,16 @@ struct hvm_girq_dpci_mapping { > > /* Protected by domain's event_lock */ > struct hvm_irq_dpci { > -/* Guest IRQ to guest device/intx mapping. */ > -struct list_h

Re: [Xen-devel] [PATCH for-4.9 v3] x86/vioapic: allow holes in the GSI range for PVH Dom0

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 13:55, wrote: > On Tue, Apr 18, 2017 at 05:52:47AM -0600, Jan Beulich wrote: >> >>> On 18.04.17 at 13:42, wrote: >> > @@ -538,7 +523,8 @@ void vioapic_reset(struct domain *d) >> > for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) >> > { >> > struct hvm_v

Re: [Xen-devel] [PATCH v3 09/11] x86/xen: use capabilities instead of fake cpuid values for xsave

2017-04-18 Thread Juergen Gross
On 18/04/17 12:02, Andrew Cooper wrote: > On 18/04/17 07:31, Juergen Gross wrote: >> @@ -281,22 +274,24 @@ static bool __init xen_check_mwait(void) >> return false; >> #endif >> } >> -static void __init xen_init_cpuid_mask(void) >> + >> +static bool __init xen_check_xsave(void) >> { >> -

Re: [Xen-devel] [PATCH for-4.9 v3] x86/vioapic: allow holes in the GSI range for PVH Dom0

2017-04-18 Thread Roger Pau Monne
On Tue, Apr 18, 2017 at 05:52:47AM -0600, Jan Beulich wrote: > >>> On 18.04.17 at 13:42, wrote: > > @@ -538,7 +523,8 @@ void vioapic_reset(struct domain *d) > > for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) > > { > > struct hvm_vioapic *vioapic = domain_vioapic(d, i); >

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

2017-04-18 Thread osstest service owner
flight 107490 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/107490/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-qemuu-ovmf-amd64 15 guest-localmigrate/x10 fail in 107481 pass in 107490 test-amd64-i386-r

Re: [Xen-devel] [PATCH for-4.9 v3] x86/vioapic: allow holes in the GSI range for PVH Dom0

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 13:42, wrote: > @@ -538,7 +523,8 @@ void vioapic_reset(struct domain *d) > for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) > { > struct hvm_vioapic *vioapic = domain_vioapic(d, i); > -unsigned int pin, nr_pins = vioapic->nr_pins; > +unsi

Re: [Xen-devel] [PATCH v10 09/25] x86: refactor psr: L3 CAT: set value: implement framework.

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 12:55, wrote: > I made a test patch based on v10 and attached it in mail. Could you please > help to check it? Thanks! This looks reasonable at the first glance, albeit I continue to be unconvinced that this is the only (reasonable) way of solving the problem. After all we don'

Re: [Xen-devel] [Xen-users] "Hello Xen Project" Book.

2017-04-18 Thread Lars Kurth
> On 13 Apr 2017, at 14:56, Jason Long wrote: > > It is a good news and I hope Xen experts thinking about beginners like me. > Xen is great but have some problems in documenting and easy to use. I hope to > see this book on Xen Project website soon. > > Thank you Xen team. You are welcome. T

Re: [Xen-devel] [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-18 Thread Wei Liu
On Tue, Apr 18, 2017 at 01:16:04PM +0300, Razvan Cojocaru wrote: > On 04/18/2017 01:03 PM, Wei Liu wrote: > > On Mon, Apr 17, 2017 at 02:33:11PM -0700, Alistair Francis wrote: > >> The POSIX spec specifies to use: > >> #include > >> instead of: > >> #include > >> as seen here: > >>htt

[Xen-devel] [PATCH for-4.9 v3] x86/vioapic: allow holes in the GSI range for PVH Dom0

2017-04-18 Thread Roger Pau Monne
The current vIO APIC for PVH Dom0 doesn't allow non-contiguous GSIs, which means that all GSIs must belong to an IO APIC. This doesn't match reality, where there are systems with non-contiguous GSIs. In order to fix this add a base_gsi field to each hvm_vioapic struct, in order to store the base G

Re: [Xen-devel] [PATCH 1/2] tools: Use POSIX poll.h instead of sys/poll.h

2017-04-18 Thread Julien Grall
Hi Wei, Release-acked-by: Julien Grall Cheers, On 18/04/17 11:13, Wei Liu wrote: Really CC Julien. :-/ On Tue, Apr 18, 2017 at 11:10:59AM +0100, Wei Liu wrote: Cc Julien I think these two patches should be in 4.9. On Mon, Apr 17, 2017 at 02:33:10PM -0700, Alistair Francis wrote: The POSI

Re: [Xen-devel] [PATCH v10 09/25] x86: refactor psr: L3 CAT: set value: implement framework.

2017-04-18 Thread Yi Sun
On 17-04-13 05:50:01, Jan Beulich wrote: > >>> On 13.04.17 at 13:44, wrote: > > On 17-04-13 05:31:41, Jan Beulich wrote: > >> >>> On 13.04.17 at 13:11, wrote: > >> > On 17-04-13 04:58:06, Jan Beulich wrote: > >> >> >>> On 13.04.17 at 12:49, wrote: > >> >> > How about a per socket array like this

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

2017-04-18 Thread osstest service owner
flight 107492 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/107492/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 51de5c302fed13b110963b3863fe69d6e2a51079 baseline version: ovmf 51a1db9b24d850c785d24

[Xen-devel] [linux-linus test] 107489: regressions - trouble: broken/fail/pass

2017-04-18 Thread osstest service owner
flight 107489 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/107489/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-xsm 11 guest-start fail REGR. vs. 59254 test-armhf-armhf-xl

Re: [Xen-devel] Enabling VT-d PI by default

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 05:41, wrote: > On Tue, Apr 18, 2017 at 02:13:36AM -0600, Jan Beulich wrote: > On 16.04.17 at 22:13, wrote: >>> 3. Like what we do in struct irq_guest_action_t, can we limit the >>> maximum of entry we support in the list. With this approach, during >>> domain creation, we

Re: [Xen-devel] [PATCH v2 2/2] kexec: remove spinlock now that all KEXEC hypercall ops are protected at the top-level

2017-04-18 Thread Jan Beulich
>>> On 17.04.17 at 21:09, wrote: > The spinlock in kexec_swap_images() was removed as > this function is only reachable on the kexec hypercall, which is > now protected at the top-level in do_kexec_op_internal(), > thus the local spinlock is no longer necessary. But perhaps leave an ASSERT() ther

Re: [Xen-devel] [PATCH v2 1/2] kexec: use hypercall_create_continuation to protect KEXEC ops

2017-04-18 Thread Jan Beulich
>>> On 17.04.17 at 21:09, wrote: > --- a/xen/common/kexec.c > +++ b/xen/common/kexec.c > @@ -50,9 +50,10 @@ static cpumask_t crash_saved_cpus; > > static struct kexec_image *kexec_image[KEXEC_IMAGE_NR]; > > -#define KEXEC_FLAG_DEFAULT_POS (KEXEC_IMAGE_NR + 0) > -#define KEXEC_FLAG_CRASH_POS

Re: [Xen-devel] [PATCH v2 3/4] VMX: don't blindly enable descriptor table exiting control

2017-04-18 Thread Andrew Cooper
On 18/04/17 11:32, Jan Beulich wrote: > This is an optional feature and hence we should check for it before > use. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-d

Re: [Xen-devel] Enabling VT-d PI by default

2017-04-18 Thread Chao Gao
On Tue, Apr 18, 2017 at 02:13:36AM -0600, Jan Beulich wrote: On 16.04.17 at 22:13, wrote: >> 3. Like what we do in struct irq_guest_action_t, can we limit the >> maximum of entry we support in the list. With this approach, during >> domain creation, we calculate the available entries and comp

Re: [Xen-devel] [PATCH v2 3/4] VMX: don't blindly enable descriptor table exiting control

2017-04-18 Thread Razvan Cojocaru
On 04/18/2017 01:32 PM, Jan Beulich wrote: > This is an optional feature and hence we should check for it before > use. > > Signed-off-by: Jan Beulich > --- > v2: Re-do detection of availability, resulting in almost all of the > changes done here being different than in v1. Acked-by: Razvan

Re: [Xen-devel] [PATCH v2 2/4] x86/HVM: restrict emulation in hvm_descriptor_access_intercept()

2017-04-18 Thread Andrew Cooper
On 18/04/17 11:31, Jan Beulich wrote: > While I did review d0a699a389 ("x86/monitor: add support for descriptor > access events") it didn't really occur to me that someone could be this > blunt and add unguarded emulation again just a few weeks after we > guarded all special purpose emulator invoca

  1   2   >