Re: [Xen-devel] [PATCH v7 09/15] argo: implement the sendv op; evtchn: expose send_guest_global_virq

2019-02-04 Thread Christopher Clark
On Mon, Feb 4, 2019 at 6:41 AM Jan Beulich wrote: > > >>> On 31.01.19 at 05:28, wrote: > > @@ -1237,6 +1864,54 @@ compat_argo_op(unsigned int cmd, > > XEN_GUEST_HANDLE_PARAM(void) arg1, > > break; > > } > > > > +case XEN_ARGO_OP_sendv: > > +{ > > +

Re: [Xen-devel] [PATCH for-4.12] xen/arm: irq: End cleanly spurious interrupt

2019-02-04 Thread Stefano Stabellini
On Mon, 28 Jan 2019, Julien Grall wrote: > no_irq_type handlers are used when an IRQ does not have action attached. > This is useful to detect misconfiguration between the interrupt > controller and the software. > > Currently, all the handlers will do nothing on spurious interrupt. This > means

[Xen-devel] [xen-4.10-testing bisection] complete build-i386-xsm

2019-02-04 Thread osstest service owner
branch xen-4.10-testing xenbranch xen-4.10-testing job build-i386-xsm testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in

Re: [Xen-devel] [Qemu-devel] [PATCH] configure: Don't add Xen's libs to LDFLAGS

2019-02-04 Thread Eric Blake
On 1/24/19 12:29 PM, Peter Maydell wrote: > On Thu, 24 Jan 2019 at 17:40, Eric Blake wrote: >> >> On 1/24/19 2:45 AM, Markus Armbruster wrote: >> Signed-off-by: Michael Tokarev Revieved-by: Michael Tokarev >>> >>> Typo in Reviewed-by. >> >> Should we tighten checkpatch.pl to flag

Re: [Xen-devel] [PATCH for-4.12] arm/p2m: do not invalidate p2m root if it is shared with IOMMU

2019-02-04 Thread Stefano Stabellini
On Tue, 29 Jan 2019, Andrii Anisov wrote: > On 29.01.19 17:17, Julien Grall wrote: > > No we don't have to. > I mean, EPAM systems as a XEN based virtualization solution provider have to > handle that issue. > > > They have been lucky to see this working even on baremetal. > > Set/Way operations

Re: [Xen-devel] [PATCH v7 10/15] argo: implement the notify op

2019-02-04 Thread Christopher Clark
On Mon, Feb 4, 2019 at 7:12 AM Jan Beulich wrote: > > >>> On 31.01.19 at 05:28, wrote: > > @@ -1802,6 +2157,21 @@ do_argo_op(unsigned int cmd, > > XEN_GUEST_HANDLE_PARAM(void) arg1, > > break; > > } > > > > +case XEN_ARGO_OP_notify: > > +{ > > +

[Xen-devel] [xen-4.10-testing bisection] complete build-amd64-xsm

2019-02-04 Thread osstest service owner
branch xen-4.10-testing xenbranch xen-4.10-testing job build-amd64-xsm testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in

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

2019-02-04 Thread osstest service owner
flight 132804 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/132804/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-examine 4 memdisk-try-append fail REGR. vs. 132599

Re: [Xen-devel] [PATCH v7 02/15] argo: introduce the argo_op hypercall boilerplate

2019-02-04 Thread Stefano Stabellini
On Wed, 30 Jan 2019, Christopher Clark wrote: > +#include > +#include > + > +long > +do_argo_op(unsigned int cmd, XEN_GUEST_HANDLE_PARAM(void) arg1, > + XEN_GUEST_HANDLE_PARAM(void) arg2, unsigned long arg3, > + unsigned long arg4) > +{ > +return -ENOSYS; > +} > + >

Re: [Xen-devel] [PATCH for-4.12] gic-vgic: fix assert condition

2019-02-04 Thread Stefano Stabellini
Hi Andrii, Please send an update soon as I would like to get it in 4.12. Juergen, I would like to have your release ack on this. On Fri, 25 Jan 2019, Andrii Anisov wrote: > Stefan, > > I hope you would not mind if I put your Suggested-by for v2? > > On 25.01.19 08:55, Andrii Anisov wrote:

Re: [Xen-devel] [PATCH RFC v2 1/2] x86/emulate: Move hvmemul_linear_to_phys

2019-02-04 Thread Paul Durrant
> -Original Message- > From: Alexandru Stefan ISAILA [mailto:aisa...@bitdefender.com] > Sent: 04 February 2019 11:37 > To: xen-devel@lists.xenproject.org > Cc: Paul Durrant ; jbeul...@suse.com; Andrew > Cooper ; Wei Liu ; Roger > Pau Monne ; rcojoc...@bitdefender.com; >

[Xen-devel] [PATCH 1/2] amd-iommu: use a bitfield for PTE/PDE

2019-02-04 Thread Paul Durrant
The current use of get/set_field_from/in_reg_u32() is both inefficient and requires some ugly casting. This patch defines a new bitfield structure (amd_iommu_pte) and uses this structure in all PTE/PDE manipulation, resulting in much more readable and compact code. NOTE: This commit also fixes

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Julien Grall
On 2/4/19 10:28 AM, Andrii Anisov wrote: Hello, Hi Andrii, On 01.02.19 19:40, Julien Grall wrote: On 01/02/2019 16:53, Roger Pau Monné wrote: On Thu, Jan 31, 2019 at 11:14:37PM +, Julien Grall wrote: On 1/31/19 9:56 PM, Stefano Stabellini wrote: On Thu, 31 Jan 2019, Julien Grall

[Xen-devel] [PULL 1/4] configure: xen: Stop build-testing for xc_domain_create

2019-02-04 Thread Anthony PERARD
Its last uses was removed by: 6d7c06c213ddcfabcafdc178ccef81736f85a7c2 "Remove broken Xen PV domain builder". Signed-off-by: Anthony PERARD Reviewed-by: Paul Durrant --- configure | 19 --- 1 file changed, 19 deletions(-) diff --git a/configure b/configure index

[Xen-devel] [PULL 4/4] xen-block: handle resize callback

2019-02-04 Thread Anthony PERARD
From: Paul Durrant Some frontend drivers will handle dynamic resizing of PV disks, so set up the BlockDevOps resize_cb() method during xen_block_realize() to allow this to be done. Signed-off-by: Paul Durrant Reviewed-by: Anthony PERARD Signed-off-by: Anthony PERARD ---

[Xen-devel] [PULL 3/4] xen: fix xen-bus state model to allow frontend re-connection

2019-02-04 Thread Anthony PERARD
From: Paul Durrant There is a flaw in the xen-bus state model. To allow a frontend to re- connect the backend state of an online XenDevice is transitioned from Closed to InitWait, but this is currently done unilaterally which is incorrect. The backend state should remain Closed until the

[Xen-devel] [PULL 0/4] Xen queue 20190204

2019-02-04 Thread Anthony PERARD
/pull-xen-20190204 for you to fetch changes up to 3149f183d7ca448b1dc30fe3d4acb9e367de01bf: xen-block: handle resize callback (2019-02-04 11:04:49 +) Xen queue * xen-block, the Xen PV backend, now handles resize. * configure

[Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Andrew Cooper
The behaviour of vpmu= being exclusive of vpmu=bts|ipc|arch is odd and contrary to Xen's normal command line parsing behaviour. Rewrite the parsing to use the normal form, but retain the previous behaviour where the use of bts/ipc/arch implies vpmu=true. Parts of the documenation are stale, most

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Julien Grall
On 2/4/19 10:32 AM, Andrii Anisov wrote: Hello Julien, Hi Andrii, On 01.02.19 12:51, Julien Grall wrote: I don't consider polluting your log a real problem. Unless the system becomes an insane typewriter :) I don't consider it as a critical issue because of the type of guest we currently

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Roger Pau Monné
On Fri, Feb 01, 2019 at 05:40:14PM +, Julien Grall wrote: > Hi, > > On 01/02/2019 16:53, Roger Pau Monné wrote: > > On Thu, Jan 31, 2019 at 11:14:37PM +, Julien Grall wrote: > > > On 1/31/19 9:56 PM, Stefano Stabellini wrote: > > > > On Thu, 31 Jan 2019, Julien Grall wrote: > > > > > On

[Xen-devel] [PATCH 2/2] amd-iommu: use a bitfield for DTE

2019-02-04 Thread Paul Durrant
The current use of get/set_field_from/in_reg_u32() is both inefficient and requires some ugly casting. This patch defines a new bitfield structure (amd_iommu_dte) and uses this structure in all DTE manipulation, resulting in much more readable and compact code. NOTE: This patch also includes

[Xen-devel] [PATCH 0/2] amd-iommu: use bitfields for PTE/PDE and DTE

2019-02-04 Thread Paul Durrant
Reduce code size by ~300 lines. Paul Durrant (2): amd-iommu: use a bitfield for PTE/PDE amd-iommu: use a bitfield for DTE xen/drivers/passthrough/amd/iommu_guest.c | 55 +-- xen/drivers/passthrough/amd/iommu_map.c | 338 --

[Xen-devel] [xen-4.10-testing bisection] complete build-amd64

2019-02-04 Thread osstest service owner
branch xen-4.10-testing xenbranch xen-4.10-testing job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree:

[Xen-devel] [qemu-mainline test] 132772: regressions - FAIL

2019-02-04 Thread osstest service owner
flight 132772 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/132772/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 10 debian-hvm-install fail REGR. vs.

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Andrii Anisov
Hello, On 01.02.19 19:40, Julien Grall wrote: On 01/02/2019 16:53, Roger Pau Monné wrote: On Thu, Jan 31, 2019 at 11:14:37PM +, Julien Grall wrote: On 1/31/19 9:56 PM, Stefano Stabellini wrote: On Thu, 31 Jan 2019, Julien Grall wrote: On 31/01/2019 12:00, Andrii Anisov wrote: On

[Xen-devel] [xen-4.9-testing bisection] complete build-i386

2019-02-04 Thread osstest service owner
branch xen-4.9-testing xenbranch xen-4.9-testing job build-i386 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen

Re: [Xen-devel] [PATCH] tools/misc: Remove obsolete xen-bugtool

2019-02-04 Thread Wei Liu
On Sun, Feb 03, 2019 at 09:35:18PM +0100, Hans van Kranenburg wrote: > xen-bugtool relies on code that has been removed in commit 9e8672f1c3 > "tools: remove xend and associated python modules", more than 5 years > ago. Remove it, since it confuses users. > > -$ /usr/sbin/xen-bugtool >

[Xen-devel] [PULL 2/4] configure: Don't add Xen's libs to LDFLAGS

2019-02-04 Thread Anthony PERARD
When Xen is detected via pkg-config, it isn't necessary to modify LDFLAGS as modifying libs_softmmu is enough. Reported-by: Peter Maydell Signed-off-by: Michael Tokarev Signed-off-by: Anthony PERARD Reviewed-by: Peter Maydell Reviewed-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daudé

Re: [Xen-devel] [Qemu-devel] [PULL 0/4] Xen queue 20190204

2019-02-04 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190204112803.11645-1-anthony.per...@citrix.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT

Re: [Xen-devel] [PATCH RFC v2 1/2] x86/emulate: Move hvmemul_linear_to_phys

2019-02-04 Thread Razvan Cojocaru
On 2/4/19 1:55 PM, Paul Durrant wrote: -Original Message- From: Alexandru Stefan ISAILA [mailto:aisa...@bitdefender.com] Sent: 04 February 2019 11:37 To: xen-devel@lists.xenproject.org Cc: Paul Durrant ; jbeul...@suse.com; Andrew Cooper ; Wei Liu ; Roger Pau Monne ;

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

2019-02-04 Thread osstest service owner
flight 132798 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/132798/ 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

Re: [Xen-devel] [PATCH for-4.12 2/8] amd/ntp: remove assert that prevents creating 2M MMIO entries

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 18:18, wrote: > On Mon, Feb 04, 2019 at 09:56:22AM -0700, Jan Beulich wrote: >> >>> On 30.01.19 at 11:36, wrote: >> > The assert was originally added to make sure that higher order >> > regions (> PAGE_ORDER_4K) could not be used to bypass the >> > mmio_ro_ranges check

Re: [Xen-devel] [PATCH for-4.12] xen/arm: irq: End cleanly spurious interrupt

2019-02-04 Thread Juergen Gross
On 05/02/2019 01:54, Stefano Stabellini wrote: > On Mon, 28 Jan 2019, Julien Grall wrote: >> no_irq_type handlers are used when an IRQ does not have action attached. >> This is useful to detect misconfiguration between the interrupt >> controller and the software. >> >> Currently, all the handlers

[Xen-devel] [PATCH v3 for-4.12] arm: gic-v3: deactivate interrupts during initialization

2019-02-04 Thread Peng Fan
On i.MX8, we implemented partition reboot which means Cortex-A reboot will not impact M4 cores and System control Unit core. However GICv3 is not reset because we also need to support A72 Cluster reboot without affecting A53 Cluster. The gic-v3 controller is configured with EOImode to 1, so

[Xen-devel] [xen-4.10-testing test] 132815: regressions - FAIL

2019-02-04 Thread osstest service owner
flight 132815 xen-4.10-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/132815/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 132630

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-02-04 Thread Juergen Gross
On 04/02/2019 20:08, Stefano Stabellini wrote: > On Mon, 4 Feb 2019, Jan Beulich wrote: > On 01.02.19 at 19:52, wrote: >> >> I'm not going to reply in detail to all of what you wrote about fanatics, >> but I would like to say that I think compiler people less of that than >> you appear to

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 20:08, wrote: > On Mon, 4 Feb 2019, Jan Beulich wrote: >> And btw - I can't judge on b. anyway, as I still don't know what >> exactly MISRA compliance is to mean, with the rules to adhere to >> suitably justified. > > I can't pretend to know exactly what MISRAC compliance

[Xen-devel] [xen-4.9-testing bisection] complete build-i386-xsm

2019-02-04 Thread osstest service owner
branch xen-4.9-testing xenbranch xen-4.9-testing job build-i386-xsm testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree:

Re: [Xen-devel] [PATCH for-4.12 1/8] dom0/pvh: align allocation and mapping order to start address

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 18:11, wrote: > On Mon, Feb 04, 2019 at 09:41:34AM -0700, Jan Beulich wrote: >> >>> On 30.01.19 at 11:36, wrote: >> > Due to the recent changes in the iommu mapping logic, the start >> > addresses provided need to be aligned to the order intended to be >> > mapped. >> >>

Re: [Xen-devel] [PATCH for-4.12 v2] arm: gic-v3: deactivate SGI/PPI during initialization

2019-02-04 Thread Peng Fan
> -Original Message- > From: Julien Grall [mailto:julien.gr...@arm.com] > Sent: 2019年2月3日 0:04 > To: Peng Fan ; sstabell...@kernel.org; jgr...@suse.com > Cc: xen-devel@lists.xenproject.org > Subject: Re: [PATCH for-4.12 v2] arm: gic-v3: deactivate SGI/PPI during > initialization > > >

Re: [Xen-devel] [PATCH v7 09/15] argo: implement the sendv op; evtchn: expose send_guest_global_virq

2019-02-04 Thread Jan Beulich
>>> On 05.02.19 at 01:52, wrote: > To make Argo's current Experimental status clearer, with the ABI stability > status that accords, I propose the following addition to SUPPORT.md: > > Within section: ## Virtual Hardware, Hypervisor > > ### Argo: Inter-domain message delivery by hypercall. > >

Re: [Xen-devel] [PATCH v5 00/15] Argo: hypervisor-mediated interdomain communication

2019-02-04 Thread Stefano Stabellini
On Mon, 4 Feb 2019, Roger Pau Monné wrote: > > Yes, v7 was sent to address Jan and Julien's review comments in parallel > > with our ongoing discussion on v5 macros. v7 also provided a checkpoint > > for Argo testers to maximize test coverage as the series converges into > > a Xen 4.12 merge

[Xen-devel] [xen-4.9-testing bisection] complete build-amd64-xsm

2019-02-04 Thread osstest service owner
branch xen-4.9-testing xenbranch xen-4.9-testing job build-amd64-xsm testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree:

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-02-04 Thread Stefano Stabellini
On Mon, 4 Feb 2019, Jan Beulich wrote: > >>> On 01.02.19 at 19:52, wrote: > > I'm not going to reply in detail to all of what you wrote about fanatics, > but I would like to say that I think compiler people less of that than > you appear to imply, at least the ones I know. In particular, they

Re: [Xen-devel] [PULL 0/4] Xen queue 20190204

2019-02-04 Thread Peter Maydell
in the Git repository at: > > https://xenbits.xen.org/git-http/people/aperard/qemu-dm.git > tags/pull-xen-20190204 > > for you to fetch changes up to 3149f183d7ca448b1dc30fe3d4acb9e367de01bf: > > xen-block: handle

Re: [Xen-devel] [PATCH RFC v2 1/2] x86/emulate: Move hvmemul_linear_to_phys

2019-02-04 Thread Razvan Cojocaru
On 2/4/19 5:14 PM, Roger Pau Monné wrote: On Mon, Feb 04, 2019 at 02:00:40PM +0200, Razvan Cojocaru wrote: On 2/4/19 1:55 PM, Paul Durrant wrote: -Original Message- From: Alexandru Stefan ISAILA [mailto:aisa...@bitdefender.com] Sent: 04 February 2019 11:37 To:

[Xen-devel] Xen 4.12 RC2

2019-02-04 Thread Juergen Gross
Hi all, Xen 4.12 rc2 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.12-rc2 For your convenience there is also a tarball at: https://downloads.xenproject.org/release/xen/4.12-rc2/xen-4.12-rc2.tar.gz And the signature is at:

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

2019-02-04 Thread osstest service owner
flight 132770 linux-4.19 real [real] http://logs.test-lab.xenproject.org/osstest/logs/132770/ 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 7 xen-boot fail REGR. vs. 129313

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 15:58, wrote: > On 04/02/2019 14:44, Jan Beulich wrote: > On 04.02.19 at 15:22, wrote: >>> On 04/02/2019 13:53, Jan Beulich wrote: >>> On 04.02.19 at 12:41, wrote: > @@ -64,37 +54,37 @@ static DEFINE_PER_CPU(struct vcpu *, last_vcpu); > static int __init

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Juergen Gross
On 04/02/2019 17:06, Jan Beulich wrote: On 04.02.19 at 15:58, wrote: >> On 04/02/2019 14:44, Jan Beulich wrote: >> On 04.02.19 at 15:22, wrote: On 04/02/2019 13:53, Jan Beulich wrote: On 04.02.19 at 12:41, wrote: >> @@ -64,37 +54,37 @@ static DEFINE_PER_CPU(struct

Re: [Xen-devel] [PATCH v5 00/15] Argo: hypervisor-mediated interdomain communication

2019-02-04 Thread Roger Pau Monné
On Sun, Feb 03, 2019 at 10:04:29AM -0800, Christopher Clark wrote: > On Thu, Jan 31, 2019 at 5:39 AM Roger Pau Monné wrote: > > > > On Wed, Jan 30, 2019 at 08:05:30PM -0800, Christopher Clark wrote: > > > On Tue, Jan 22, 2019 at 6:19 AM Roger Pau Monné > > > wrote: > > > > > > > > On Mon, Jan

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Andrii Anisov
Hello Julien, On 01.02.19 12:51, Julien Grall wrote: I don't consider polluting your log a real problem. Unless the system becomes an insane typewriter :) I don't consider it as a critical issue because of the type of guest we currently support, so it is not in my queue for Xen 4.12 fixes.

Re: [Xen-devel] [PATCH RFC v2 1/2] x86/emulate: Move hvmemul_linear_to_phys

2019-02-04 Thread Alexandru Stefan ISAILA
Ping, any thoughts on this are appreciated. Regards, Alex On 11.01.2019 17:37, Alexandru Stefan ISAILA wrote: > This is done so hvmemul_linear_to_phys() can be called from > hvmemul_map_linear_addr() > > Signed-off-by: Alexandru Isaila > --- > xen/arch/x86/hvm/emulate.c | 181

[Xen-devel] [libvirt test] 132776: tolerable all pass - PUSHED

2019-02-04 Thread osstest service owner
flight 132776 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/132776/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 132745 test-armhf-armhf-libvirt-raw 13

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 12:41, wrote: > --- a/docs/misc/xen-command-line.pandoc > +++ b/docs/misc/xen-command-line.pandoc > @@ -2088,36 +2088,36 @@ Use Virtual Processor ID support if available. This > prevents the need for TLB > flushes on VM entry and exit, increasing performance. > > ### vpmu

Re: [Xen-devel] [PATCH for-4.12] tools: drop obsolete xen-ringwatch

2019-02-04 Thread Wei Liu
On Mon, Feb 04, 2019 at 01:58:24PM +, Wei Liu wrote: > This utility can't possibly work with modern Xen setup: none of the > sysfs path used (under /sys/devices/xen-backend) is documented as > stable ABI in upstream Linux kernel. > > Archaeology shows that the path used could have been part

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Andrew Cooper
On 04/02/2019 13:53, Jan Beulich wrote: On 04.02.19 at 12:41, wrote: >> --- a/docs/misc/xen-command-line.pandoc >> +++ b/docs/misc/xen-command-line.pandoc >> @@ -2088,36 +2088,36 @@ Use Virtual Processor ID support if available. This >> prevents the need for TLB >> flushes on VM entry and

Re: [Xen-devel] [PATCH v7 09/15] argo: implement the sendv op; evtchn: expose send_guest_global_virq

2019-02-04 Thread Jan Beulich
>>> On 31.01.19 at 05:28, wrote: > @@ -1237,6 +1864,54 @@ compat_argo_op(unsigned int cmd, > XEN_GUEST_HANDLE_PARAM(void) arg1, > break; > } > > +case XEN_ARGO_OP_sendv: > +{ > +xen_argo_send_addr_t send_addr; > +xen_argo_iov_t iovs[XEN_ARGO_MAXIOV]; > +

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Andrii Anisov
On 04.02.19 13:21, Julien Grall wrote: What I meant is the virtual address stays the same but the guest physical address may change. I don't see how this could be broken today, can you explain it? I suppose guest's mapping change is not quite atomic from the hypervisor point of view, so

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Andrii Anisov
On 04.02.19 13:36, Julien Grall wrote: That's a good news! Let me try to address your concerns below one by one. Lets do it:) And they employ KPTI enabled kernel in the BSP. KPTI is going to work on Xen. There are no known issue with Linux as the virtual address is not going to be re-used

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Julien Grall
Hi, Sorry for the formatting. On Mon, 4 Feb 2019, 15:52 Andrii Anisov, wrote: > > > On 04.02.19 13:21, Julien Grall wrote: > > What I meant is the virtual address stays the same but the guest > physical address may change. I don't see how this could be broken today, > can you explain it? > > I

Re: [Xen-devel] [PATCH for-4.12] tools: drop obsolete xen-ringwatch

2019-02-04 Thread Juergen Gross
On 04/02/2019 14:58, Wei Liu wrote: > This utility can't possibly work with modern Xen setup: none of the > sysfs path used (under /sys/devices/xen-backend) is documented as > stable ABI in upstream Linux kernel. > > Archaeology shows that the path used could have been part of the > xenolinux

Re: [Xen-devel] [PATCH for-4.12] tools: drop obsolete xen-ringwatch

2019-02-04 Thread Andrew Cooper
On 04/02/2019 13:58, Wei Liu wrote: > This utility can't possibly work with modern Xen setup: none of the > sysfs path used (under /sys/devices/xen-backend) is documented as > stable ABI in upstream Linux kernel. > > Archaeology shows that the path used could have been part of the > xenolinux fork

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Andrew Cooper
On 04/02/2019 14:44, Jan Beulich wrote: On 04.02.19 at 15:22, wrote: >> On 04/02/2019 13:53, Jan Beulich wrote: >> On 04.02.19 at 12:41, wrote: @@ -64,37 +54,37 @@ static DEFINE_PER_CPU(struct vcpu *, last_vcpu); static int __init parse_vpmu_params(const char *s) {

[Xen-devel] [PATCH for-4.12] tools: drop obsolete xen-ringwatch

2019-02-04 Thread Wei Liu
This utility can't possibly work with modern Xen setup: none of the sysfs path used (under /sys/devices/xen-backend) is documented as stable ABI in upstream Linux kernel. Archaeology shows that the path used could have been part of the xenolinux fork which never got upstreamed. It's utility is

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

2019-02-04 Thread osstest service owner
flight 132841 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/132841/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 13 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm

Re: [Xen-devel] [PATCH for-4.12] x86/vpmu: Improve documentation and parsing for vpmu=

2019-02-04 Thread Jan Beulich
>>> On 04.02.19 at 15:22, wrote: > On 04/02/2019 13:53, Jan Beulich wrote: > On 04.02.19 at 12:41, wrote: >>> @@ -64,37 +54,37 @@ static DEFINE_PER_CPU(struct vcpu *, last_vcpu); >>> static int __init parse_vpmu_params(const char *s) >>> { >>> const char *ss; >>> +int rc = 0, val;

Re: [Xen-devel] [PATCH RFC v2 2/2] x86/emulate: Send vm_event from emulate

2019-02-04 Thread Roger Pau Monné
On Fri, Jan 11, 2019 at 03:37:45PM +, Alexandru Stefan ISAILA wrote: > This patch aims to have mem access vm events sent from the emulator. > This is useful in the case of page-walks that have to emulate > instructions in access denied pages. > > We use hvmemul_map_linear_addr() ro intercept

Re: [Xen-devel] [PATCH v7 10/15] argo: implement the notify op

2019-02-04 Thread Jan Beulich
>>> On 31.01.19 at 05:28, wrote: > @@ -1802,6 +2157,21 @@ do_argo_op(unsigned int cmd, > XEN_GUEST_HANDLE_PARAM(void) arg1, > break; > } > > +case XEN_ARGO_OP_notify: > +{ > +XEN_GUEST_HANDLE_PARAM(xen_argo_ring_data_t) ring_data_hnd = > +

Re: [Xen-devel] [PATCH RFC v2 1/2] x86/emulate: Move hvmemul_linear_to_phys

2019-02-04 Thread Roger Pau Monné
On Mon, Feb 04, 2019 at 02:00:40PM +0200, Razvan Cojocaru wrote: > On 2/4/19 1:55 PM, Paul Durrant wrote: > > > -Original Message- > > > From: Alexandru Stefan ISAILA [mailto:aisa...@bitdefender.com] > > > Sent: 04 February 2019 11:37 > > > To: xen-devel@lists.xenproject.org > > > Cc: Paul

Re: [Xen-devel] [PATCH v3 04/15] argo: init, destroy and soft-reset, with enable command line opt

2019-02-04 Thread Christopher Clark
On Mon, Jan 14, 2019 at 6:47 AM Wei Liu wrote: > > Hi all > > The locking scheme seems to be remaining sticking point. The rest are > mostly cosmetic issues (FAOD, they still need to be addressed). Frankly > I don't think there is enough time to address all the technical details, > but let me

[Xen-devel] [xen-4.9-testing bisection] complete build-amd64

2019-02-04 Thread osstest service owner
branch xen-4.9-testing xenbranch xen-4.9-testing job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree:

Re: [Xen-devel] Organising a workshop to solve safety certification related questions (March 25/26, Cambridge, UK, Citrix)

2019-02-04 Thread Lars Kurth
Hi all, from my perspective we have enough momentum to move forward, albeit some prospective attendees are still confirming their travel plans. I can accommodate a maximum if 15, but possibly, a few more. With this in Mind, please start booking flights. Location: The Citrix office in Milton,

Re: [Xen-devel] [PATCH for-4.12] x86/svm: Fix handling of ICEBP intercepts

2019-02-04 Thread Andrew Cooper
On 04/02/2019 09:16, Jan Beulich wrote: On 01.02.19 at 18:09, wrote: >> On 01/02/2019 16:55, Jan Beulich wrote: >> On 01.02.19 at 17:25, wrote: If it were just getting insn_len incorrectly as 0, then the guest would livelock as we wouldn't inject the #DB with trap semantics it

[Xen-devel] [xen-4.11-testing test] 132779: tolerable FAIL - PUSHED

2019-02-04 Thread osstest service owner
flight 132779 xen-4.11-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/132779/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 10 debian-hvm-install fail never pass

Re: [Xen-devel] [PATCH v7 02/15] argo: introduce the argo_op hypercall boilerplate

2019-02-04 Thread Christopher Clark
On Wed, Jan 30, 2019 at 8:14 PM Christopher Clark wrote: > > On Fri, Jan 25, 2019 at 10:55 AM Christopher Clark > wrote: > > > > On Thu, Jan 24, 2019 at 2:08 AM Julien Grall wrote: > > > [...] > > > Sorry for noticing quite late in the process. Don't you need to add the > > > hypercall in

Re: [Xen-devel] [PATCH for-4.12 2/8] amd/ntp: remove assert that prevents creating 2M MMIO entries

2019-02-04 Thread Jan Beulich
>>> On 30.01.19 at 11:36, wrote: > The assert was originally added to make sure that higher order > regions (> PAGE_ORDER_4K) could not be used to bypass the > mmio_ro_ranges check performed by p2m_type_to_flags. > > This however is already checked in set_mmio_p2m_entry, which makes > sure that

Re: [Xen-devel] [PATCH for-4.12 1/8] dom0/pvh: align allocation and mapping order to start address

2019-02-04 Thread Roger Pau Monné
On Mon, Feb 04, 2019 at 09:41:34AM -0700, Jan Beulich wrote: > >>> On 30.01.19 at 11:36, wrote: > > Due to the recent changes in the iommu mapping logic, the start > > addresses provided need to be aligned to the order intended to be > > mapped. > > Irrespective of your reply to Wei's similar

Re: [Xen-devel] [PATCH for-4.12 1/8] dom0/pvh: align allocation and mapping order to start address

2019-02-04 Thread Jan Beulich
>>> On 30.01.19 at 11:36, wrote: > Due to the recent changes in the iommu mapping logic, the start > addresses provided need to be aligned to the order intended to be > mapped. Irrespective of your reply to Wei's similar request (where you've provided links to mails showing crashes) I'd like you

Re: [Xen-devel] [PATCH for-4.12 2/8] amd/ntp: remove assert that prevents creating 2M MMIO entries

2019-02-04 Thread Andrew Cooper
On 30/01/2019 10:36, Roger Pau Monne wrote: Subject s/ntp/npt/ ~Andrew ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH for-4.12 2/8] amd/ntp: remove assert that prevents creating 2M MMIO entries

2019-02-04 Thread Roger Pau Monné
On Mon, Feb 04, 2019 at 09:56:22AM -0700, Jan Beulich wrote: > >>> On 30.01.19 at 11:36, wrote: > > The assert was originally added to make sure that higher order > > regions (> PAGE_ORDER_4K) could not be used to bypass the > > mmio_ro_ranges check performed by p2m_type_to_flags. > > > > This

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Julien Grall
Hi, On 2/4/19 12:53 PM, Roger Pau Monné wrote: On Fri, Feb 01, 2019 at 05:40:14PM +, Julien Grall wrote: Hi, On 01/02/2019 16:53, Roger Pau Monné wrote: On Thu, Jan 31, 2019 at 11:14:37PM +, Julien Grall wrote: On 1/31/19 9:56 PM, Stefano Stabellini wrote: On Thu, 31 Jan 2019,

[Xen-devel] [xen-4.9-testing test] 132783: regressions - FAIL

2019-02-04 Thread osstest service owner
flight 132783 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/132783/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3866 xen-buildfail REGR. vs. 130954

Re: [Xen-devel] RT Xen on ARM - R-Car series

2019-02-04 Thread Julien Grall
Hi Andrii, On 2/4/19 3:19 PM, Andrii Anisov wrote: On 04.02.19 13:36, Julien Grall wrote: That's a good news! Let me try to address your concerns below one by one. Lets do it:) And they employ KPTI enabled kernel in the BSP. KPTI is going to work on Xen. There are no known issue with

Re: [Xen-devel] [PATCH v7 02/15] argo: introduce the argo_op hypercall boilerplate

2019-02-04 Thread Julien Grall
Hi Christopher, On 2/4/19 8:32 PM, Christopher Clark wrote: On Wed, Jan 30, 2019 at 8:14 PM Christopher Clark wrote: On Fri, Jan 25, 2019 at 10:55 AM Christopher Clark wrote: On Thu, Jan 24, 2019 at 2:08 AM Julien Grall wrote: [...] Sorry for noticing quite late in the process. Don't

Re: [Xen-devel] [PATCH for-4.12] x86/svm: Fix handling of ICEBP intercepts

2019-02-04 Thread Jan Beulich
>>> On 01.02.19 at 18:09, wrote: > On 01/02/2019 16:55, Jan Beulich wrote: > On 01.02.19 at 17:25, wrote: >>> If it were just getting insn_len incorrectly as 0, then the guest would >>> livelock as we wouldn't inject the #DB with trap semantics it requires, >> I'm confused again: Why trap

Re: [Xen-devel] [PATCH v5 09/15] argo: implement the sendv op; evtchn: expose send_guest_global_virq

2019-02-04 Thread Roger Pau Monné
On Sun, Feb 03, 2019 at 09:56:26AM -0800, Christopher Clark wrote: > On Thu, Jan 31, 2019 at 3:01 AM Roger Pau Monné wrote: > > > > On Thu, Jan 31, 2019 at 03:35:23AM -0700, Jan Beulich wrote: > > > >>> On 31.01.19 at 11:18, wrote: > > > > On Wed, Jan 30, 2019 at 08:10:28PM -0800, Christopher

Re: [Xen-devel] Scheduling and the periodic timer

2019-02-04 Thread Dario Faggioli
On Fri, 2019-02-01 at 10:59 +0100, Juergen Gross wrote: > On 01/02/2019 10:50, Jan Beulich wrote: > > > > > On 01.02.19 at 08:26, wrote: > > > > > > The periodic timer is used via VCPUOP_set_periodic_timer only, > > > and > > > today's Linux kernel isn't using it at all. So I guess this timer >

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-02-04 Thread Jan Beulich
>>> On 01.02.19 at 19:52, wrote: I'm not going to reply in detail to all of what you wrote about fanatics, but I would like to say that I think compiler people less of that than you appear to imply, at least the ones I know. In particular, they can be convinced of there being bugs by pointing