Re: [Xen-devel] [PATCH 03/16] x86/monitor: mechanical renames

2016-07-15 Thread Corneliu ZUZU
On 7/12/2016 9:10 AM, Corneliu ZUZU wrote: On 7/11/2016 7:43 PM, Tamas K Lengyel wrote: On Sat, Jul 9, 2016 at 12:46 PM, Corneliu ZUZU wrote: On 7/9/2016 9:10 PM, Tamas K Lengyel wrote: On Fri, Jul 8, 2016 at 10:13 PM, Corneliu ZUZU wrote: Arch-specific vm-event functions in x86/vm_event.h

[Xen-devel] [distros-debian-jessie test] 66571: tolerable trouble: blocked/broken

2016-07-15 Thread Platform Team regression test user
flight 66571 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/66571/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): build-armhf-pvops 3 host-install(3) broken like 44412 build-armhf

Re: [Xen-devel] [PATCH v4] xen/arm: Add a clock property

2016-07-15 Thread Dirk Behme
On 14.07.2016 19:14, Julien Grall wrote: Hello, On 14/07/16 17:30, Dirk Behme wrote: On 14.07.2016 17:55, Stefano Stabellini wrote: On Thu, 14 Jul 2016, Dirk Behme wrote: On 14.07.2016 12:38, Stefano Stabellini wrote: On Thu, 14 Jul 2016, Dirk Behme wrote: On 13.07.2016 23:03, Michael Turqu

Re: [Xen-devel] [PATCH v2 03/17] libxl/arm: Add a configuration option for ARM DomU ACPI

2016-07-15 Thread Shannon Zhao
On 2016/7/13 18:03, Julien Grall wrote: > > > On 13/07/2016 10:48, Shannon Zhao wrote: >> >> >> On 2016/7/13 17:20, Julien Grall wrote: >>> On 13/07/2016 08:54, Shannon Zhao wrote: On 2016/7/12 19:33, Wei Liu wrote: > On Tue, Jul 12, 2016 at 10:22:39AM +0100, Julien Grall wrote: >

Re: [Xen-devel] [PATCH v2 03/17] libxl/arm: Add a configuration option for ARM DomU ACPI

2016-07-15 Thread Shannon Zhao
On 2016/7/15 16:00, Shannon Zhao wrote: > > > On 2016/7/13 18:03, Julien Grall wrote: >> >> >> On 13/07/2016 10:48, Shannon Zhao wrote: >>> >>> >>> On 2016/7/13 17:20, Julien Grall wrote: On 13/07/2016 08:54, Shannon Zhao wrote: > On 2016/7/12 19:33, Wei Liu wrote: >> On Tue, Jul 1

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Peter Lieven
Am 15.07.2016 um 08:32 schrieb Juergen Gross: > Commit 095497ffc66b7f031ff2a17f1e50f5cb105ce588 ("vnc-enc-tight: use > thread local storage for palette") introduced a regression with Xen: > Since this commit qemu used as a device model is no longer capable > to register Xenstore watches (that's the

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Juergen Gross
On 15/07/16 09:39, Peter Lieven wrote: > Am 15.07.2016 um 08:32 schrieb Juergen Gross: >> Commit 095497ffc66b7f031ff2a17f1e50f5cb105ce588 ("vnc-enc-tight: use >> thread local storage for palette") introduced a regression with Xen: >> Since this commit qemu used as a device model is no longer capabl

Re: [Xen-devel] [PATCH v4] altp2m: Allow the hostp2m entries to be of type p2m_ram_shared

2016-07-15 Thread George Dunlap
On Thu, May 26, 2016 at 5:17 PM, Tamas K Lengyel wrote: > > On May 26, 2016 04:40, "George Dunlap" wrote: >> >> On 26/05/16 04:55, Tamas K Lengyel wrote: >> > Move sharing locks above altp2m to avoid locking order violation. Allow >> > applying altp2m mem_access settings when the hostp2m entries

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Peter Lieven
Am 15.07.2016 um 10:47 schrieb Juergen Gross: > On 15/07/16 09:39, Peter Lieven wrote: >> Am 15.07.2016 um 08:32 schrieb Juergen Gross: >>> Commit 095497ffc66b7f031ff2a17f1e50f5cb105ce588 ("vnc-enc-tight: use >>> thread local storage for palette") introduced a regression with Xen: >>> Since this co

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Juergen Gross
On 15/07/16 11:03, Peter Lieven wrote: > Am 15.07.2016 um 10:47 schrieb Juergen Gross: >> On 15/07/16 09:39, Peter Lieven wrote: >>> Am 15.07.2016 um 08:32 schrieb Juergen Gross: Commit 095497ffc66b7f031ff2a17f1e50f5cb105ce588 ("vnc-enc-tight: use thread local storage for palette") introd

Re: [Xen-devel] [PATCH v4 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Julien Grall
Hi Corneliu, On 15/07/16 07:48, Corneliu ZUZU wrote: Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Adjust README.LinuxPrimitives in the process. Also empty line fixes. Why do you add empty lines? They are not necessary nor coding style re

Re: [Xen-devel] [PATCH v4 3/7] asm-arm/atomic.h: reorder macros to match x86-side

2016-07-15 Thread Julien Grall
On 15/07/16 07:49, Corneliu ZUZU wrote: Reorder macro definitions to match x86-side. Signed-off-by: Corneliu ZUZU Reviewed-by: Stefano Stabellini Acked-by: Julien Grall Regards, --- Changed since v3: --- xen/include/asm-arm/atomic.h | 19 +-- 1 file changed, 9 inser

Re: [Xen-devel] [PATCH v4 4/7] asm/atomic.h: common prototyping (add xen/atomic.h)

2016-07-15 Thread Julien Grall
On 15/07/16 07:50, Corneliu ZUZU wrote: Create a common-side to establish, among others, prototypes of atomic functions called from common-code. Done to avoid introducing inconsistencies between arch-side headers when we make subtle changes to one of them. Some arm-side macros had to be turne

Re: [Xen-devel] [PATCH v4 5/7] xen/atomic.h: fix: make atomic_read() param const

2016-07-15 Thread Julien Grall
On 15/07/16 07:50, Corneliu ZUZU wrote: This wouldn't let me make a param of a function that used atomic_read() const. Signed-off-by: Corneliu ZUZU Reviewed-by: Andrew Cooper Reviewed-by: Stefano Stabellini Reviewed-by: Julien Grall Regards, --- Changed since v3: --- xen/include/as

[Xen-devel] [PATCH 1/3] xen-blkfront: fix places not updated after introducing 64KB page granularity

2016-07-15 Thread Bob Liu
Two places didn't get updated when 64KB page granularity was introduced, this patch fix them. Signed-off-by: Bob Liu --- drivers/block/xen-blkfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index fcc5b4e.

[Xen-devel] [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-15 Thread Bob Liu
The current VBD layer reserves buffer space for each attached device based on three statically configured settings which are read at boot time. * max_indirect_segs: Maximum amount of segments. * max_ring_page_order: Maximum order of pages to be used for the shared ring. * max_queues: Maximum of

[Xen-devel] [PATCH 2/3] xen-blkfront: introduce blkif_set_queue_limits()

2016-07-15 Thread Bob Liu
blk_mq_update_nr_hw_queues() reset all queue limits to default which it's not as xen-blkfront expected, introducing blkif_set_queue_limits() to reset limits with initial correct values. Signed-off-by: Bob Liu --- drivers/block/xen-blkfront.c | 91 1 f

Re: [Xen-devel] [PATCH v4 7/7] asm/atomic.h: implement missing and add common prototypes

2016-07-15 Thread Julien Grall
On 15/07/16 07:52, Corneliu ZUZU wrote: ARM (): * add atomic_add_unless() wrapper over __atomic_add_unless() (for common-code interface, i.e. ) X86 (): * implement missing functions atomic_{sub,inc,dec}_return(), atomic_add_unless() * implement missing macro atomic_xchg() COMMON (): * add pr

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Juergen Gross
On 14/07/16 18:18, Dario Faggioli wrote: > So, during domain destruction, we do: > cpupool_rm_domain()[ in domain_destroy() ] > sched_destroy_domain() [ in complete_domain_destroy() ] > > Therefore, there's a window during which, from the > scheduler's point of view, a domain stilsts outside

Re: [Xen-devel] No graphics with xen pv and Fedora qemu

2016-07-15 Thread Andrew Cooper
On 13/07/16 16:44, Andrew Cooper wrote: > On 10/07/16 16:44, Michael Young wrote: >> On Wed, 29 Jun 2016, Michael Young wrote: >> >>> I have been trying to trace a problem when using Fedora's qemu with a >>> pv guest which is that no graphics are available. I get the errors >>> >>> xen be core: xen

Re: [Xen-devel] [PATCH v2 2/2] xen: cpupool: small optimization when moving between pools

2016-07-15 Thread Juergen Gross
On 14/07/16 18:18, Dario Faggioli wrote: > If the domain is already where we want it to go, > there's not much to do indeed. > > Signed-off-by: Dario Faggioli Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org htt

Re: [Xen-devel] [PATCH v2 16/17] libxc/xc_dom_arm: Copy ACPI tables to guest space

2016-07-15 Thread Shannon Zhao
On 2016/7/14 19:15, Wei Liu wrote: > On Wed, Jul 13, 2016 at 01:08:57PM -0400, Boris Ostrovsky wrote: >> On 07/13/2016 11:22 AM, Julien Grall wrote: >>> Hello, >>> >>> On 12/07/2016 17:58, Boris Ostrovsky wrote: On 07/12/2016 12:10 PM, Julien Grall wrote: > On 12/07/2016 16:08, Boris Ost

[Xen-devel] [xen-unstable test] 97314: trouble: blocked/broken/fail/pass

2016-07-15 Thread osstest service owner
flight 97314 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/97314/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 3 host-install(3) broken REGR. vs. 97275

Re: [Xen-devel] [PATCH V4 10/11] xen/arm: io: Use binary search for mmio handler lookup

2016-07-15 Thread Julien Grall
Hello Shanker, On 15/07/16 03:35, Shanker Donthineni wrote: On 07/14/2016 11:46 AM, Julien Grall wrote: [...] +{ +struct vmmio *vmmio = &v->domain->arch.vmmio; +struct mmio_handler key = {.addr = gpa}; I know it is not currently the case, but should not we take into account the siz

Re: [Xen-devel] [PATCH v4 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Corneliu ZUZU
On 7/15/2016 12:28 PM, Julien Grall wrote: Hi Corneliu, On 15/07/16 07:48, Corneliu ZUZU wrote: Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Adjust README.LinuxPrimitives in the process. Also empty line fixes. Why do you add empty lines

Re: [Xen-devel] [PATCH v4 4/7] asm/atomic.h: common prototyping (add xen/atomic.h)

2016-07-15 Thread Corneliu ZUZU
On 7/15/2016 12:30 PM, Julien Grall wrote: On 15/07/16 07:50, Corneliu ZUZU wrote: Create a common-side to establish, among others, prototypes of atomic functions called from common-code. Done to avoid introducing inconsistencies between arch-side headers when we make subtle changes to one

Re: [Xen-devel] Linux 3.18 and Linux 4.1 reproducible OOM crashes

2016-07-15 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] Linux 3.18 and Linux 4.1 reproducible OOM crashes"): > On Thu, Jul 14, 2016 at 01:56:24PM +0100, Ian Jackson wrote: ... > > It seems likely that this is a real bug, but whether it's in Xen or > > Linux is not clear right now. If it's in Linux it's be

Re: [Xen-devel] [PATCH v15 0/3] VT-d Device-TLB flush issue

2016-07-15 Thread Andrew Cooper
On 08/07/16 07:39, Jan Beulich wrote: > From: Quan Xu > > these patches fix current timeout concern and also allow limited ATS support. > > these patches are the rest ones: > 1. move the domain crash logic up to the generic IOMMU layer > > 2. If Device-TLB flush timed out, we hide the target ATS d

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Paolo Bonzini
On 15/07/2016 10:47, Juergen Gross wrote: > Nothing scaring and no real difference between working and not working > variant. > > Meanwhile I've been digging a little bit deeper and found the reason: > libxenstore is setting up a reader thread which is waiting for the > watch to fire. With above

Re: [Xen-devel] Atheros WiFi - memory paging failure on driver load

2016-07-15 Thread Andrew Cooper
On 12/07/16 04:59, Andrey Grodzovsky wrote: > Hello > > Some background - > > We are trying to run Qualcomm Atheros AR928X Wireless Network Adapter > and have a crash right on driver load, following are our observations > and questions. > > Jurgen's observation - > > " The Atheros card "Qualcomm A

Re: [Xen-devel] [PATCH v4 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Julien Grall
On 15/07/16 10:55, Corneliu ZUZU wrote: On 7/15/2016 12:28 PM, Julien Grall wrote: Hi Corneliu, On 15/07/16 07:48, Corneliu ZUZU wrote: Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Adjust README.LinuxPrimitives in the process. Also empt

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Peter Lieven
Am 15.07.2016 um 12:02 schrieb Paolo Bonzini: > > On 15/07/2016 10:47, Juergen Gross wrote: >> Nothing scaring and no real difference between working and not working >> variant. >> >> Meanwhile I've been digging a little bit deeper and found the reason: >> libxenstore is setting up a reader thread

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Paolo Bonzini
On 15/07/2016 12:07, Peter Lieven wrote: > Am 15.07.2016 um 12:02 schrieb Paolo Bonzini: >> >> On 15/07/2016 10:47, Juergen Gross wrote: >>> Nothing scaring and no real difference between working and not working >>> variant. >>> >>> Meanwhile I've been digging a little bit deeper and found the re

Re: [Xen-devel] [PATCH 1/4] Support for building in a Xen binary

2016-07-15 Thread Christoffer Dall
On Tue, Jul 12, 2016 at 11:40:28AM +0100, Julien Grall wrote: > Hi Andre, > > On 20/06/16 16:09, Andre Przywara wrote: > >diff --git a/Makefile.am b/Makefile.am > >index 692d2cc..1a801c0 100644 > >--- a/Makefile.am > >+++ b/Makefile.am > >@@ -85,7 +85,6 @@ TEXT_LIMIT := 0x8008 > > endif > > >

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Gerd Hoffmann
On Fr, 2016-07-15 at 12:02 +0200, Paolo Bonzini wrote: > > On 15/07/2016 10:47, Juergen Gross wrote: > > Nothing scaring and no real difference between working and not working > > variant. > > > > Meanwhile I've been digging a little bit deeper and found the reason: > > libxenstore is setting up

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Peter Lieven
Am 15.07.2016 um 12:12 schrieb Paolo Bonzini: > > On 15/07/2016 12:07, Peter Lieven wrote: >> Am 15.07.2016 um 12:02 schrieb Paolo Bonzini: >>> On 15/07/2016 10:47, Juergen Gross wrote: Nothing scaring and no real difference between working and not working variant. Meanwhile I'v

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Dario Faggioli
On Fri, 2016-07-15 at 11:38 +0200, Juergen Gross wrote: > Hmm, are you aware of commit bac6334b51d9bcfe57ecf4a4cb5288348fcf044a > which explicitly moved cpupool_rm_domain() at the place where you are > removing it again? Please verify that the scenario mentioned in the > description of that commit

Re: [Xen-devel] [PATCH v4 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Corneliu ZUZU
On 7/15/2016 1:06 PM, Julien Grall wrote: On 15/07/16 10:55, Corneliu ZUZU wrote: On 7/15/2016 12:28 PM, Julien Grall wrote: Hi Corneliu, On 15/07/16 07:48, Corneliu ZUZU wrote: Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Adjust READM

Re: [Xen-devel] Atheros WiFi - memory paging failure on driver load

2016-07-15 Thread Jürgen Walter • Quattru
> First of all, is this a PV or HVM domU ? it is a PV ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] xenbits "official" repo for XTF (was Re: [PATCH 0/2] xtf: add launcher (+1 bugfix)

2016-07-15 Thread Ian Jackson
Lars Kurth writes ("Re: [Xen-devel] xenbits "official" repo for XTF (was Re: [PATCH 0/2] xtf: add launcher (+1 bugfix)"): > Alright, [stuff] With my xenbits admin hat on I therefore intend to: * Create xtf.git in the xenbits toplevel and give it the appropriate permissions * Create xtf.git

Re: [Xen-devel] [PATCH v3 2/2] qdisk - hw/block/xen_disk: grant copy implementation

2016-07-15 Thread Paulina Szubarczyk
On 07/14/2016 12:37 PM, Wei Liu wrote: On Wed, Jun 22, 2016 at 10:38:53AM +0200, Paulina Szubarczyk wrote: diff --git a/configure b/configure index e41876a..355d3fa 100755 --- a/configure +++ b/configure @@ -1843,7 +1843,7 @@ fi # xen probe if test "$xen" != "no" ; then - xen_libs="-lxen

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Paolo Bonzini
On 15/07/2016 12:12, Gerd Hoffmann wrote: > On Fr, 2016-07-15 at 12:02 +0200, Paolo Bonzini wrote: >> >> On 15/07/2016 10:47, Juergen Gross wrote: >>> Nothing scaring and no real difference between working and not working >>> variant. >>> >>> Meanwhile I've been digging a little bit deeper and fo

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Juergen Gross
On 15/07/16 12:14, Dario Faggioli wrote: > On Fri, 2016-07-15 at 11:38 +0200, Juergen Gross wrote: >> Hmm, are you aware of commit bac6334b51d9bcfe57ecf4a4cb5288348fcf044a >> which explicitly moved cpupool_rm_domain() at the place where you are >> removing it again? Please verify that the scenario

[Xen-devel] [PATCH v5 0/7] adjustments

2016-07-15 Thread Corneliu ZUZU
Corneliu ZUZU (7): 1/7: asm-arm/atomic.h: fix arm32|arm64 macros duplication Reviewed-by: Stefano Stabellini Changed: * remove paragraph(s) from README.LinuxPrimitives file * no empty line additions 2/7: asm-x86/atomic.h: minor: proper atomic_inc_and_test() placement

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Juergen Gross
On 15/07/16 12:35, Paolo Bonzini wrote: > > > On 15/07/2016 12:12, Gerd Hoffmann wrote: >> On Fr, 2016-07-15 at 12:02 +0200, Paolo Bonzini wrote: >>> >>> On 15/07/2016 10:47, Juergen Gross wrote: Nothing scaring and no real difference between working and not working variant. M

[Xen-devel] [PATCH v5 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Corneliu ZUZU
Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Signed-off-by: Corneliu ZUZU Reviewed-by: Stefano Stabellini --- Changed since v4: * remove paragraph(s) from README.LinuxPrimitives file * no empty line additions --- xen/arch/arm/README.Li

[Xen-devel] [PATCH v5 2/7] asm-x86/atomic.h: minor: proper atomic_inc_and_test() placement

2016-07-15 Thread Corneliu ZUZU
Place atomic_inc_and_test() implementation after atomic_inc(). Also empty line fix. Signed-off-by: Corneliu ZUZU Reviewed-by: Andrew Cooper --- Changed since v4: --- xen/include/asm-x86/atomic.h | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) di

[Xen-devel] [PATCH v5 3/7] asm-arm/atomic.h: reorder macros to match x86-side

2016-07-15 Thread Corneliu ZUZU
Reorder macro definitions to match x86-side. Signed-off-by: Corneliu ZUZU Reviewed-by: Stefano Stabellini Acked-by: Julien Grall --- Changed since v4: --- xen/include/asm-arm/atomic.h | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/xen/include/asm-arm/

Re: [Xen-devel] [PATCH v5 1/7] asm-arm/atomic.h: fix arm32|arm64 macros duplication

2016-07-15 Thread Julien Grall
On 15/07/16 11:41, Corneliu ZUZU wrote: Move duplicate macros between asm-arm/arm32/atomic.h and asm-arm/arm64/atomic.h to asm-arm/atomic.h. Signed-off-by: Corneliu ZUZU Reviewed-by: Stefano Stabellini Acked-by: Julien Grall Regards, --- Changed since v4: * remove paragraph(s) from

[Xen-devel] [PATCH v5 4/7] asm/atomic.h: common prototyping (add xen/atomic.h)

2016-07-15 Thread Corneliu ZUZU
Create a common-side to establish, among others, prototypes of atomic functions called from common-code. Done to avoid introducing inconsistencies between arch-side headers when we make subtle changes to one of them. Some arm-side macros had to be turned into inline functions in the process. Rem

[Xen-devel] [PATCH v5 5/7] xen/atomic.h: fix: make atomic_read() param const

2016-07-15 Thread Corneliu ZUZU
This wouldn't let me make a param of a function that used atomic_read() const. Signed-off-by: Corneliu ZUZU Reviewed-by: Andrew Cooper Reviewed-by: Stefano Stabellini Reviewed-by: Julien Grall --- Changed since v4: --- xen/include/asm-arm/atomic.h | 2 +- xen/include/asm-x86/atomic.h | 2 +-

[Xen-devel] [PATCH v5 6/7] asm-arm/atomic.h: atomic_{inc, dec}_return: macros to inline functions

2016-07-15 Thread Corneliu ZUZU
Turn atomic_inc_return and atomic_dec_return atomic.h macros to inline functions. Signed-off-by: Corneliu ZUZU Reviewed-by: Stefano Stabellini --- Changed since v4: * README.LinuxPrimitives not updated anymore --- xen/include/asm-arm/atomic.h | 13 ++--- 1 file changed, 10 insertions(

[Xen-devel] [PATCH v5 7/7] asm/atomic.h: implement missing and add common prototypes

2016-07-15 Thread Corneliu ZUZU
ARM (): * add atomic_add_unless() wrapper over __atomic_add_unless() (for common-code interface, i.e. ) X86 (): * implement missing functions atomic_{sub,inc,dec}_return(), atomic_add_unless() * implement missing macro atomic_xchg() COMMON (): * add prototypes for the aforementioned newly imple

Re: [Xen-devel] xenbits "official" repo for XTF (was Re: [PATCH 0/2] xtf: add launcher (+1 bugfix)

2016-07-15 Thread Lars Kurth
On 15/07/2016 11:21, "Ian Jackson" wrote: >Lars Kurth writes ("Re: [Xen-devel] xenbits "official" repo for XTF (was >Re: [PATCH 0/2] xtf: add launcher (+1 bugfix)"): >> Alright, [stuff] > >With my xenbits admin hat on I therefore intend to: > > * Create xtf.git in the xenbits toplevel > and g

Re: [Xen-devel] [PATCH v3 2/2] qdisk - hw/block/xen_disk: grant copy implementation

2016-07-15 Thread Wei Liu
On Fri, Jul 15, 2016 at 12:28:48PM +0200, Paulina Szubarczyk wrote: > > > On 07/14/2016 12:37 PM, Wei Liu wrote: > >On Wed, Jun 22, 2016 at 10:38:53AM +0200, Paulina Szubarczyk wrote: > >>diff --git a/configure b/configure > >>index e41876a..355d3fa 100755 > >>--- a/configure > >>+++ b/configure

Re: [Xen-devel] [DRAFT v2] XenSock protocol design document

2016-07-15 Thread Juergen Gross
On 13/07/16 17:47, Stefano Stabellini wrote: > Hi all, > > This is the design document of the XenSock protocol. You can find > prototypes of the Linux frontend and backend drivers here: ... > ### Commands Ring > > The shared ring is used by the frontend to forward socket API calls to the > backen

Re: [Xen-devel] [PATCH 05/16] x86/monitor: relocate code more appropriately

2016-07-15 Thread Corneliu ZUZU
On 7/12/2016 11:07 AM, Corneliu ZUZU wrote: On 7/12/2016 10:45 AM, Tian, Kevin wrote: From: Corneliu ZUZU [mailto:cz...@bitdefender.com] Sent: Monday, July 11, 2016 2:19 PM +static inline +void monitor_ctrlreg_adjust_traps(struct domain *d, unsigned int index) +{ +/* For now, VMX only. */

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Dario Faggioli
On Fri, 2016-07-15 at 12:36 +0200, Juergen Gross wrote: > On 15/07/16 12:14, Dario Faggioli wrote: > > In particular, I'm probably not fully understanding, from that > > commit > > changelog, what is the set of operations/command that I should run > > to > > check whether or not I reintroduced the

Re: [Xen-devel] [DRAFT v2] XenSock protocol design document

2016-07-15 Thread Paul Durrant
> -Original Message- > From: Juergen Gross [mailto:jgr...@suse.com] > Sent: 15 July 2016 12:37 > To: Stefano Stabellini; xen-de...@lists.xenproject.org > Cc: joao.m.mart...@oracle.com; Wei Liu; Roger Pau Monne; Lars Kurth; > boris.ostrov...@oracle.com; Paul Durrant > Subject: Re: [DRAFT v2]

Re: [Xen-devel] [Embedded-pv-devel] Xen Project Developer Summit : program Published

2016-07-15 Thread Dario Faggioli
[Reducing the rate of cross-posting a bit] On Wed, 2016-06-08 at 11:43 -0400, Meng Xu wrote: > On Wed, Jun 8, 2016 at 9:02 AM, Lars Kurth > wrote: > > In addition to presentations, we will be running a half-day > > hackathon alongside the Summit on the last day. Xen Project > > hackathons have ev

[Xen-devel] [PATCH] x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b

2016-07-15 Thread Andrew Cooper
c/s 2fc002b "xen: Use a typesafe to define INVALID_GFN" changed INVALID_GFN to be a boxed type. Identified by a Travis randconfig run: https://travis-ci.org/xen-project/xen/jobs/144980445 Signed-off-by: Andrew Cooper --- CC: Tim Deegan CC: George Dunlap CC: Julien Grall --- xen/arch/x86/mm

Re: [Xen-devel] [PATCH] x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b

2016-07-15 Thread Tim Deegan
At 13:07 +0100 on 15 Jul (1468588072), Andrew Cooper wrote: > c/s 2fc002b "xen: Use a typesafe to define INVALID_GFN" changed INVALID_GFN to > be a boxed type. > > Identified by a Travis randconfig run: > https://travis-ci.org/xen-project/xen/jobs/144980445 > > Signed-off-by: Andrew Cooper Ac

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

2016-07-15 Thread osstest service owner
flight 97356 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/97356/ 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 12

Re: [Xen-devel] [PATCH] x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b

2016-07-15 Thread Julien Grall
Hi Andrew, On 15/07/16 13:07, Andrew Cooper wrote: c/s 2fc002b "xen: Use a typesafe to define INVALID_GFN" changed INVALID_GFN to be a boxed type. Identified by a Travis randconfig run: https://travis-ci.org/xen-project/xen/jobs/144980445 Signed-off-by: Andrew Cooper Sorry for the breaka

Re: [Xen-devel] [PATCH] x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b

2016-07-15 Thread Andrew Cooper
On 15/07/16 13:33, Julien Grall wrote: > Hi Andrew, > > On 15/07/16 13:07, Andrew Cooper wrote: >> c/s 2fc002b "xen: Use a typesafe to define INVALID_GFN" changed >> INVALID_GFN to >> be a boxed type. >> >> Identified by a Travis randconfig run: >>https://travis-ci.org/xen-project/xen/jobs/1449

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Paolo Bonzini
On 15/07/2016 12:41, Juergen Gross wrote: > On 15/07/16 12:35, Paolo Bonzini wrote: >> >> >> On 15/07/2016 12:12, Gerd Hoffmann wrote: >>> On Fr, 2016-07-15 at 12:02 +0200, Paolo Bonzini wrote: On 15/07/2016 10:47, Juergen Gross wrote: > Nothing scaring and no real difference betwee

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Juergen Gross
On 15/07/16 13:52, Dario Faggioli wrote: > On Fri, 2016-07-15 at 12:36 +0200, Juergen Gross wrote: >> On 15/07/16 12:14, Dario Faggioli wrote: >>> In particular, I'm probably not fully understanding, from that >>> commit >>> changelog, what is the set of operations/command that I should run >>> to

[Xen-devel] [PATCH] travis: Add checkpolicy to the list of packages

2016-07-15 Thread Andrew Cooper
Since c/s 41b61be1c "xsm: add a default policy to .init.data", checkpackage is required for the hypervisor build if randconfig decides to enable XSM. Identified by a Travis randconfig run: https://travis-ci.org/andyhhp/xen/jobs/144989065 Signed-off-by: Andrew Cooper --- CC: Doug Goldstein ---

Re: [Xen-devel] [PATCH] travis: Add checkpolicy to the list of packages

2016-07-15 Thread Andrew Cooper
On 15/07/16 13:54, Andrew Cooper wrote: > Since c/s 41b61be1c "xsm: add a default policy to .init.data", checkpackage is s/checkpackage/checkpolicy/ Not sure what came over me. ~Andrew > required for the hypervisor build if randconfig decides to enable XSM. > > Identified by a Travis randconfig

[Xen-devel] [libvirt bisection] complete build-i386-libvirt

2016-07-15 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-i386-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen

Re: [Xen-devel] [PATCH v5 0/7] adjustments

2016-07-15 Thread Andrew Cooper
On 15/07/16 11:41, Corneliu ZUZU wrote: > Corneliu ZUZU (7): > 1/7: asm-arm/atomic.h: fix arm32|arm64 macros duplication > Reviewed-by: Stefano Stabellini > Changed: > * remove paragraph(s) from README.LinuxPrimitives file > * no empty line additions > > 2/7: asm-x86/at

Re: [Xen-devel] [libvirt bisection] complete build-i386-libvirt

2016-07-15 Thread Joao Martins
On 07/15/2016 02:02 PM, osstest service owner wrote: > branch xen-unstable > xenbranch xen-unstable > job build-i386-libvirt > testid libvirt-build > > Tree: libvirt git://libvirt.org/libvirt.git > Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git > Tree: qemu git://xenbits.xen.org/qemu-xen-tra

Re: [Xen-devel] [PATCH V4 10/11] xen/arm: io: Use binary search for mmio handler lookup

2016-07-15 Thread Shanker Donthineni
Hi Julien, Are you okay to insert the below two validation checks before inserting mmio handler? void register_mmio_handler(struct domain *d, const struct mmio_handler_ops *ops, paddr_t addr, paddr_t size, void *priv) { struct vmmio *vm

Re: [Xen-devel] Regression with commit 095497ffc66b7f031

2016-07-15 Thread Juergen Gross
On 15/07/16 14:42, Paolo Bonzini wrote: > > > On 15/07/2016 12:41, Juergen Gross wrote: >> On 15/07/16 12:35, Paolo Bonzini wrote: >>> >>> >>> On 15/07/2016 12:12, Gerd Hoffmann wrote: On Fr, 2016-07-15 at 12:02 +0200, Paolo Bonzini wrote: > > On 15/07/2016 10:47, Juergen Gross wrote

Re: [Xen-devel] [PATCH] travis: Add checkpolicy to the list of packages

2016-07-15 Thread Doug Goldstein
On 7/15/16 7:54 AM, Andrew Cooper wrote: > Since c/s 41b61be1c "xsm: add a default policy to .init.data", checkpackage is > required for the hypervisor build if randconfig decides to enable XSM. > > Identified by a Travis randconfig run: > https://travis-ci.org/andyhhp/xen/jobs/144989065 > > Si

Re: [Xen-devel] [PATCH 2/3] Update to use a .config file

2016-07-15 Thread Konrad Rzeszutek Wilk
On Thu, Jul 14, 2016 at 09:05:36AM +0100, Ross Lagerwall wrote: > On 06/15/2016 03:00 PM, Konrad Rzeszutek Wilk wrote: > >On Wed, Jun 15, 2016 at 09:08:46AM +0100, Ross Lagerwall wrote: > >>On 06/14/2016 04:35 PM, Konrad Rzeszutek Wilk wrote: > >>>On Fri, Jun 10, 2016 at 12:02:44PM +0100, Ross Lage

Re: [Xen-devel] [PATCH 12/18] arm/altp2m: Cosmetic fixes - function prototypes.

2016-07-15 Thread Julien Grall
Hi Sergej, On 04/07/16 12:45, Sergej Proskurin wrote: This commit changes the prototype of the following functions: - apply_p2m_changes - apply_one_level - p2m_shatter_page - p2m_create_table - __p2m_lookup - __p2m_get_mem_access These changes are required as our implementation reuses most of t

Re: [Xen-devel] OVMF very slow on AMD

2016-07-15 Thread Konrad Rzeszutek Wilk
On Thu, Jul 14, 2016 at 04:53:07PM +0100, Anthony PERARD wrote: > Hi, > > I've been investigating why OVMF is very slow in a Xen guest on an AMD > host. This, I think, is the current failure that osstest is having. > > I've only look at a specific part of OVMF where the slowdown is very > obviou

Re: [Xen-devel] [PATCH v5 0/7] adjustments

2016-07-15 Thread Corneliu ZUZU
On 7/15/2016 4:05 PM, Andrew Cooper wrote: On 15/07/16 11:41, Corneliu ZUZU wrote: Corneliu ZUZU (7): 1/7: asm-arm/atomic.h: fix arm32|arm64 macros duplication Reviewed-by: Stefano Stabellini Changed: * remove paragraph(s) from README.LinuxPrimitives file * no emp

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

2016-07-15 Thread osstest service owner
flight 97328 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/97328/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 94748 test-amd64-i386-

Re: [Xen-devel] [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy

2016-07-15 Thread Dario Faggioli
On Fri, 2016-07-15 at 14:52 +0200, Juergen Gross wrote: > On 15/07/16 13:52, Dario Faggioli wrote: > > > > On Fri, 2016-07-15 at 12:36 +0200, Juergen Gross wrote: > > > > > > On 15/07/16 12:14, Dario Faggioli wrote: > > > > > > > > In particular, I'm probably not fully understanding, from that >

Re: [Xen-devel] Converting heap page_infos to contiguous virtual

2016-07-15 Thread Boris Ostrovsky
On 07/14/2016 06:34 AM, Andrew Cooper wrote: > On 14/07/16 11:25, George Dunlap wrote: >> On 13/07/16 21:57, Boris Ostrovsky wrote: >>> On 07/13/2016 04:34 PM, Andrew Cooper wrote: On 13/07/2016 21:17, Boris Ostrovsky wrote: > On 07/13/2016 04:02 PM, Andrew Cooper wrote: >> On 13/07/16

[Xen-devel] [PATCH v2 01/11] xen: sched: leave CPUs doing tasklet work alone.

2016-07-15 Thread Dario Faggioli
In both Credit1 and Credit2, stop considering a pCPU idle, if the reason why the idle vCPU is being selected, is to do tasklet work. Not doing so means that the tickling and load balancing logic, seeing the pCPU as idle, considers it a candidate for picking up vCPUs. But the pCPU won't actually pi

[Xen-devel] [PATCH v2 00/11] xen: sched: assorted fixes and improvements to Credit2

2016-07-15 Thread Dario Faggioli
Hi, Version 2 of the patch series. Not much to say apart from the fact that (I think) I've addressed all the review comments v1 received (thanks everyone!). Details are in the individual changelogs. It's smaller because George commited some of the patches already. As mentioned in the v1 thread,

[Xen-devel] [PATCH v2 05/11] xen: credit2: use non-atomic cpumask and bit operations

2016-07-15 Thread Dario Faggioli
as all the accesses to both the masks and the flags are serialized by the runqueues locks already. Signed-off-by: Dario Faggioli Acked-by: George Dunlap --- Cc: Anshul Makkar Cc: David Vrabel --- xen/common/sched_credit2.c | 48 ++-- 1 file changed, 2

[Xen-devel] [PATCH v2 06/11] xen: credit2: make the code less experimental

2016-07-15 Thread Dario Faggioli
Mainly, almost all of the BUG_ON-s can be converted into ASSERTS, and almost all the debug printk can either be removed or turned into tracing. The 'TODO' list, in a comment at the beginning of the file, was also stale, so remove items that were still there but are actually done. Signed-off-by: D

[Xen-devel] [PATCH v2 03/11] xen: credit2: rework load tracking logic

2016-07-15 Thread Dario Faggioli
The existing load tracking code was hard to understad and maintain, and not entirely consistent. This is due to a number of reasons: - code and comments were not in perfect sync, making it difficult to figure out what the intent of a particular choice was (e.g., the choice of 18 for load_win

[Xen-devel] [PATCH v2 04/11] xen/tools: improve tracing of Credit2 load tracking events

2016-07-15 Thread Dario Faggioli
Add the shift used for the precision of the integer arithmetic to the trace records, and update both xenalyze and xentrace_format to make use of/print it. In particular, in xenalyze, we are can now show the load as a (easier to interpreet) percentage. Signed-off-by: Dario Faggioli Reviewed-by: G

[Xen-devel] [PATCH v2 02/11] xen: credit2: prevent load balancing to go mad if time goes backwards

2016-07-15 Thread Dario Faggioli
This really should not happen, but: 1. it does happen! Some more info here: http://lists.xen.org/archives/html/xen-devel/2016-06/msg00922.html 2. independently from 1, it makes sense and is easy enough to have a 'safety catch'. The reason why this is particularly bad for Credit2 is that

[Xen-devel] [PATCH v2 07/11] xen: credit2: add yet some more tracing

2016-07-15 Thread Dario Faggioli
(and fix the style of two labels as well.) Signed-off-by: Dario Faggioli Acked-by: George Dunlap --- Cc: Anshul Makkar Cc: David Vrabel --- xen/common/sched_credit2.c | 58 +--- 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/xen/common

[Xen-devel] [PATCH v2 08/11] xen: credit2: only marshall trace point arguments if tracing enabled

2016-07-15 Thread Dario Faggioli
Signed-off-by: Dario Faggioli --- Cc: George Dunlap Cc: Anshul Makkar Cc: David Vrabel --- Changes from v1: * avoid stray code removal in balance_load(), as pointed out by George during review. --- xen/common/sched_credit2.c | 112 +++- 1 file chang

[Xen-devel] [PATCH v2 09/11] tools: tracing: deal with new Credit2 events

2016-07-15 Thread Dario Faggioli
more specifically, with: TICKLE_NEW, RUNQ_MAX_WEIGHT, MIGRATE, LOAD_CHECK, LOAD_BALANCE and PICKED_CPU, and in both both xenalyze and formats (for xentrace_format). Signed-off-by: Dario Faggioli Acked-by: George Dunlap --- Cc: Ian Jackson Cc: Wei Liu Cc: Anshul Makkar --- tools/xentrace/form

[Xen-devel] [PATCH v2 10/11] xen: credit2: the private scheduler lock can be an rwlock.

2016-07-15 Thread Dario Faggioli
In fact, the data it protects only change either at init-time, during cpupools manipulation, or when changing domains' weights. In all other cases (namely, load balancing, reading weights and status dumping), information is only read. Therefore, let the lock be an read/write one. This means there

[Xen-devel] [PATCH v2 11/11] xen: credit2: implement true SMT support

2016-07-15 Thread Dario Faggioli
In fact, right now, we recommend keepeing runqueues arranged per-core, so that it is the inter-runqueue load balancing code that automatically spreads the work in an SMT friendly way. This means that any other runq arrangement one may want to use falls short of SMT scheduling optimizations. This c

Re: [Xen-devel] Converting heap page_infos to contiguous virtual

2016-07-15 Thread Boris Ostrovsky
On 07/14/2016 09:29 AM, Andrew Cooper wrote: > > However, I would recommend getting something functioning first, before > trying to optimise it. There are two fairly independent parts to improving scrubbing: one is making it asynchronous and second is improving clear_page() performance. Whole-RAM

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

2016-07-15 Thread osstest service owner
flight 97319 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/97319/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 6 xen-boot fail REGR. vs. 96188 test-amd64-amd64-xl-qe

Re: [Xen-devel] [Embedded-pv-devel] Xen Project Developer Summit : program Published

2016-07-15 Thread Meng Xu
On Fri, Jul 15, 2016 at 8:01 AM, Dario Faggioli wrote: > [Reducing the rate of cross-posting a bit] > > On Wed, 2016-06-08 at 11:43 -0400, Meng Xu wrote: > > On Wed, Jun 8, 2016 at 9:02 AM, Lars Kurth > > wrote: > > > In addition to presentations, we will be running a half-day > > > hackathon al

Re: [Xen-devel] [PATCH v4] altp2m: Allow the hostp2m entries to be of type p2m_ram_shared

2016-07-15 Thread Tamas K Lengyel
On Jul 15, 2016 02:57, "George Dunlap" wrote: > > On Thu, May 26, 2016 at 5:17 PM, Tamas K Lengyel wrote: > > > > On May 26, 2016 04:40, "George Dunlap" wrote: > >> > >> On 26/05/16 04:55, Tamas K Lengyel wrote: > >> > Move sharing locks above altp2m to avoid locking order violation. Allow > >>

Re: [Xen-devel] Converting heap page_infos to contiguous virtual

2016-07-15 Thread Andrew Cooper
On 15/07/16 15:53, Boris Ostrovsky wrote: > On 07/14/2016 09:29 AM, Andrew Cooper wrote: >> However, I would recommend getting something functioning first, before >> trying to optimise it. > There are two fairly independent parts to improving scrubbing: one is > making it asynchronous and second is

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

2016-07-15 Thread osstest service owner
flight 97368 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/97368/ 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 12

  1   2   >