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

2015-06-22 Thread osstest service user
flight 58818 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58818/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 15 guest-start/debian.repeat fail REGR. vs. 58451 Tests which are

Re: [Xen-devel] [PATCH 9/9] libxc/x86/pvh: Allow creation of 32b PVH guests

2015-06-22 Thread Ian Campbell
On Fri, 2015-06-19 at 23:09 -0400, Boris Ostrovsky wrote: > Signed-off-by: Boris Ostrovsky > CC: Ian Jackson > CC: Stefano Stabellini Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] Interested in taking up a project

2015-06-22 Thread Dario Faggioli
On Sun, 2015-06-21 at 06:37 +, Abhinav Gupta wrote: > Hii, >I'm still waiting for the confirmation. Have started looking into > the code though. > There's not much to confirm. The page with the list of development project may require a bit of refreshing, but, as far as I know, that item is

Re: [Xen-devel] [xen-unstable test] 58745: regressions - FAIL

2015-06-22 Thread Ian Campbell
On Sat, 2015-06-20 at 11:21 +0200, Roger Pau Monné wrote: > El 20/06/15 a les 8.44, osstest service user ha escrit: > > flight 58745 xen-unstable real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/58745/ > > > > Regressions :-( > > > > Tests which did not succeed and are blocking, >

Re: [Xen-devel] [PATCH 1/2] xen{trace/analyze}: don't use 64bit versions of libc functions

2015-06-22 Thread George Dunlap
On 06/19/2015 09:58 AM, Roger Pau Monne wrote: > This is not needed, neither encouraged. Configure already checks > _FILE_OFFSET_BITS and appends it when needed, so that the right functions > are used. Also remove the usage of loff_t and O_LARGEFILE for the same > reason. Just so I understand -- a

Re: [Xen-devel] [PATCH] Modified RTDS scheduler to use an event-driven model instead of polling.

2015-06-22 Thread Dario Faggioli
On Thu, 2015-06-18 at 14:07 -0400, Dagaen Golomb wrote: > > Anyway, I've zero interest in turning this into a fight over > > terminology... If you want to call runq_tickle() "the scheduler", go > > ahead, it would just make communication a bit more difficult, but I'm up > > for the challenge! :-)

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

2015-06-22 Thread Ian Campbell
On Mon, 2015-06-22 at 08:24 +, osstest service user wrote: > test-armhf-armhf-xl-credit2 6 xen-boot fail never > pass For some reason I've only just noticed this panic which was solved a while back (4.5-rc4 era) by: commit e8bb583bec290a4f903cf065814af33ce49d4d0b Aut

Re: [Xen-devel] [PATCH RFC 4/4] xen: arch-specific hooks for domain_soft_reset()

2015-06-22 Thread Vitaly Kuznetsov
Tim Deegan writes: > At 15:35 +0200 on 03 Jun (1433345722), Vitaly Kuznetsov wrote: >> x86-specific hook cleans up the pirq-emuirq mappings and replaces the >> shared_info frame with an empty page to support subsequent >> XENMAPSPACE_shared_info call. > > That's a bit roundabout. I think we migh

Re: [Xen-devel] Interested in taking up a project

2015-06-22 Thread George Dunlap
On 06/21/2015 07:37 AM, Abhinav Gupta wrote: > Hii, >I'm still waiting for the confirmation. Have started looking into the > code though. Hey Abhinav, Thanks for your interest! As others have said, it's a free world, so of course you can work on and attempt to contribute whatever you want. :

Re: [Xen-devel] performace issue when turn on apicv

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 04:48, wrote: > We found that all the events are HVM_EMUL_LAPIC_START_TIMER. The number of > TRC_HVM_EMUL_LAPIC_STOP_TIMER event is zero. > > Below is the details: > > apicv on: > TRC_HVM_EMUL_LAPIC_START_TIMER: count=111480 > TRC_HVM_EMUL_LAPIC_STOP_TIMER: count=0 > apicv of

Re: [Xen-devel] [PATCH 1/2] xen{trace/analyze}: don't use 64bit versions of libc functions

2015-06-22 Thread Roger Pau Monné
El 22/06/15 a les 11.08, George Dunlap ha escrit: > On 06/19/2015 09:58 AM, Roger Pau Monne wrote: >> This is not needed, neither encouraged. Configure already checks >> _FILE_OFFSET_BITS and appends it when needed, so that the right functions >> are used. Also remove the usage of loff_t and O_LARG

Re: [Xen-devel] [PATCH 1/2] xen{trace/analyze}: don't use 64bit versions of libc functions

2015-06-22 Thread George Dunlap
On 06/22/2015 10:59 AM, Roger Pau Monné wrote: > El 22/06/15 a les 11.08, George Dunlap ha escrit: >> On 06/19/2015 09:58 AM, Roger Pau Monne wrote: >>> This is not needed, neither encouraged. Configure already checks >>> _FILE_OFFSET_BITS and appends it when needed, so that the right functions >>>

Re: [Xen-devel] [PATCH 2/2] configure: check for argp

2015-06-22 Thread George Dunlap
On 06/19/2015 09:58 AM, Roger Pau Monne wrote: > argp is only present in the GNU C library, so add a specific check for it in > configure. Also check if -largp is needed for linking against it. > > Please run autoconf after applying. > > Signed-off-by: Roger Pau Monné > Cc: George Dunlap > Cc:

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Julien Grall
On 20/06/15 15:47, Peng Fan wrote: > On 6/20/2015 10:08 PM, Peng Fan wrote: >> Hi Julien, >> >> On 6/20/2015 6:19 PM, Julien Grall wrote: >>> Hi, >>> >>> On 19/06/2015 14:22, Peng Fan wrote: diff --git a/kernel/timer.c b/kernel/timer.c index 38f0d40..4a025cc 100644 --- a/kernel/timer

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

2015-06-22 Thread osstest service user
flight 58819 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/58819/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-libvirt 11 guest-start fail like 58753 test-amd64-i386-libvirt-xsm

Re: [Xen-devel] [PATCH v2][RFC] libxl: Add AHCI support for upstream qemu

2015-06-22 Thread George Dunlap
On Fri, Jun 19, 2015 at 12:18 PM, Fabio Fantoni wrote:> Il 11/06/2015 12:28, Fabio Fantoni ha scritto: >> >> Il 11/06/2015 12:06, Zir Blazer ha scritto: >>> >>> Since I'm not a developer I may be peeking my nose a bit too far, but >>> based on what I know, I think that enabling AHCI by default wou

Re: [Xen-devel] [PATCH 2/2] configure: check for argp

2015-06-22 Thread Wei Liu
On Mon, Jun 22, 2015 at 11:12:27AM +0100, George Dunlap wrote: > On 06/19/2015 09:58 AM, Roger Pau Monne wrote: > > argp is only present in the GNU C library, so add a specific check for it in > > configure. Also check if -largp is needed for linking against it. > > > > Please run autoconf after a

Re: [Xen-devel] [PATCH 2/2] configure: check for argp

2015-06-22 Thread George Dunlap
On 06/22/2015 11:45 AM, Wei Liu wrote: > On Mon, Jun 22, 2015 at 11:12:27AM +0100, George Dunlap wrote: >> On 06/19/2015 09:58 AM, Roger Pau Monne wrote: >>> argp is only present in the GNU C library, so add a specific check for it in >>> configure. Also check if -largp is needed for linking agains

Re: [Xen-devel] [PATCH 2/2] configure: check for argp

2015-06-22 Thread Wei Liu
On Mon, Jun 22, 2015 at 11:55:44AM +0100, George Dunlap wrote: > On 06/22/2015 11:45 AM, Wei Liu wrote: > > On Mon, Jun 22, 2015 at 11:12:27AM +0100, George Dunlap wrote: > >> On 06/19/2015 09:58 AM, Roger Pau Monne wrote: > >>> argp is only present in the GNU C library, so add a specific check for

Re: [Xen-devel] [PATCH 2/2] configure: check for argp

2015-06-22 Thread George Dunlap
On 06/22/2015 12:10 PM, Wei Liu wrote: > On Mon, Jun 22, 2015 at 11:55:44AM +0100, George Dunlap wrote: >> On 06/22/2015 11:45 AM, Wei Liu wrote: >>> On Mon, Jun 22, 2015 at 11:12:27AM +0100, George Dunlap wrote: On 06/19/2015 09:58 AM, Roger Pau Monne wrote: > argp is only present in the

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Peng Fan
On 6/22/2015 6:20 PM, Julien Grall wrote: > On 20/06/15 15:47, Peng Fan wrote: >> On 6/20/2015 10:08 PM, Peng Fan wrote: >>> Hi Julien, >>> >>> On 6/20/2015 6:19 PM, Julien Grall wrote: Hi, On 19/06/2015 14:22, Peng Fan wrote: > diff --git a/kernel/timer.c b/kernel/timer.c

Re: [Xen-devel] [PATCH v3 10/10] x86/MSI-X: provide hypercall interface for mask-all control

2015-06-22 Thread Jan Beulich
>>> On 19.06.15 at 16:07, wrote: > I don't mind adding a PHYSDEVOP_pci_mmcfg_reserved call to FreeBSD, but > for it to have any effect we need to stop unconditionally mapping > everything as MMIO regions on PVH Dom0. Actually I don't think we need this as a prereq (it's rather a pretty orthogonal

[Xen-devel] [PATCH] xen: add a 'acpi_fake_s3' boot command line parameter

2015-06-22 Thread Dario Faggioli
which, if provided, prevents the function that actually put the system in ACPI S3 suspended state to be called. The system will, therefore, go down the suspend path, until the second to last step, and then resume right away. This is useful when testing and debugging S3 suspend/resume issues. Sign

[Xen-devel] [PATCH v2 0/3] gnttab: misc adjustments

2015-06-22 Thread Jan Beulich
Patch 1 is a plain resend. Patches 2 and 3 are the split result of a previously sent patch. 1: fix out of range shift count 2: don't silently truncate frame numbers in gnttab_set_version() 3: clean up gnttab_set_version() Signed-off-by: Jan Beulich _

Re: [Xen-devel] [PATCH v2][RFC] libxl: Add AHCI support for upstream qemu

2015-06-22 Thread Fabio Fantoni
Il 22/06/2015 12:34, George Dunlap ha scritto: On Fri, Jun 19, 2015 at 12:18 PM, Fabio Fantoni wrote:> Il 11/06/2015 12:28, Fabio Fantoni ha scritto: Il 11/06/2015 12:06, Zir Blazer ha scritto: Since I'm not a developer I may be peeking my nose a bit too far, but based on what I know, I think

[Xen-devel] [PATCH v2 1/3 resend] gnttab: fix out of range shift count

2015-06-22 Thread Jan Beulich
Commit 213f145114 ("gnttab: fix/adjust gnttab_transfer()") wasn't careful enough in this regard. Coverity ID: 1306859 Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -1829,7 +1829,8 @@ gnttab_transfer( max_bitsize =

[Xen-devel] [PATCH v2 2/3] gnttab: don't silently truncate frame numbers in gnttab_set_version()

2015-06-22 Thread Jan Beulich
On a v2 -> v1 transition frame numbers previously stored in a 64-bit field have to fit into a 32-bit one. Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -2597,14 +2597,32 @@ gnttab_set_version(XEN_GUEST_HANDLE_PARA } } -/* XXX: If

[Xen-devel] [PATCH v2 3/3] gnttab: clean up gnttab_set_version()

2015-06-22 Thread Jan Beulich
- drop pointless nr_grant_entries() check from loop over reserved entries (adding suitable BUILD_BUG_ON()s to validate that) - adjust types - rename d to currd - formatting Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -465,10 +465,16 @@ static uns

Re: [Xen-devel] [PATCH] xen: add a 'acpi_fake_s3' boot command line parameter

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 13:28, wrote: > --- a/xen/arch/x86/acpi/power.c > +++ b/xen/arch/x86/acpi/power.c > @@ -33,6 +33,9 @@ > > uint32_t system_reset_counter = 1; > > +static bool_t __read_mostly fake_s3 = 0; > +boolean_param("acpi_fake_s3", fake_s3); > + > static char __initdata opt_acpi_sleep

[Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Jan Beulich
- use 32-bit types where possible (produces slightly better code) - drop (now) unnecessary casts - avoid indirection where not needed - avoid duplicate log messages in vlapic_write() - minor other cleanup Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/vlapic.c +++ b/xen/arch/x86/hvm/vlapic.c

[Xen-devel] [PATCH qemu-trad] HVM: atomically access pointers in bufioreq handling

2015-06-22 Thread Jan Beulich
The number of slots per page being 511 (i.e. not a power of two) means that the (32-bit) read and write indexes going beyond 2^32 will likely disturb operation. The hypervisor side gets I/O req server creation extended so we can indicate that we're using suitable atomic accesses where needed (not a

Re: [Xen-devel] [PATCH v2 2/3] gnttab: don't silently truncate frame numbers in gnttab_set_version()

2015-06-22 Thread Andrew Cooper
On 22/06/15 12:45, Jan Beulich wrote: > On a v2 -> v1 transition frame numbers previously stored in a 64-bit > field have to fit into a 32-bit one. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xe

Re: [Xen-devel] [PATCH] Modified RTDS scheduler to use an event-driven model instead of polling.

2015-06-22 Thread Dagaen Golomb
Thank you. This clears things up a bit. I will work on this model and make (or ignore) any corner case decisions I feel adequate for now. We can focus on them after the main structure is in place. ~Dagaen On Mon, Jun 22, 2015 at 5:11 AM, Dario Faggioli wrote: > On Thu, 2015-06-18 at 14:07 -0400,

Re: [Xen-devel] [PATCH v2 3/3] gnttab: clean up gnttab_set_version()

2015-06-22 Thread Andrew Cooper
On 22/06/15 12:46, Jan Beulich wrote: > - drop pointless nr_grant_entries() check from loop over reserved > entries (adding suitable BUILD_BUG_ON()s to validate that) > - adjust types > - rename d to currd > - formatting > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper , with one sugge

[Xen-devel] [RFC PATCH v3 00/18] Add ITS support

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K This is based on DraftF version http://xenbits.xen.org/people/ianc/vits/draftF.pdf Following major features are supported - GICv3 ITS support for arm64 platform - Only Dom0 is supported Basic boot is tested with single ITS node with hacks in pci driver. All Comments from

[Xen-devel] [RFC PATCH v3 03/18] xen: console: Add ratelimit support for error message

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K XENLOG_ERR_RATE_LIMIT and XENLOG_G_ERR_RATE_LIMIT log levels are added to support rate limit for error messages Signed-off-by: Vijaya Kumar K --- xen/drivers/char/console.c | 17 + xen/include/xen/config.h |8 ++-- 2 files changed, 15 insertions

[Xen-devel] [RFC PATCH v3 04/18] xen/arm: gicv3: Refactor redistributor information

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Separate redistributor information into rdist and rdist_prop structures. The rdist_prop holds the redistributor common information and rdist holds the per cpu specific information. This percpu rdist defined as global and shared with ITS driver Signed-off-by: Vijaya Kumar K

[Xen-devel] [RFC PATCH v3 02/18] xen: Add log2 functionality

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K log2 helper apis are ported from linux Signed-off-by: Vijaya Kumar K --- xen/include/xen/bitops.h |8 ++ xen/include/xen/log2.h | 205 ++ 2 files changed, 213 insertions(+) diff --git a/xen/include/xen/bitops.h b/xen/incl

[Xen-devel] [RFC PATCH v3 01/18] xen/arm: Add bitmap_find_next_zero_area helper function

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K bitmap_find_next_zero_area helper function will be used by physical ITS driver imported from linux Signed-off-by: Vijaya Kumar K --- v3: Moved changes to xen/common/bitmap.c and xen/include/xen/bitmap.h --- xen/common/bitmap.c | 39 ++

[Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K This patch introduces virtual ITS driver with following functionality - Introduces helper functions to manage device table and ITT table in guest memory - Helper function to handle virtual ITS devices assigned to domain Signed-off-by: Vijaya Kumar K --- xen/arch/ar

[Xen-devel] [RFC PATCH v3 09/18] xen/arm: ITS: Add virtual ITS commands support

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Add Virtual ITS command processing support to Virtual ITS driver Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c |7 + xen/arch/arm/vgic-v3-its.c | 393 2 files changed, 400 insertions(+) diff --git a/xen/arch

[Xen-devel] [RFC PATCH v3 05/18] xen/arm: ITS: Port ITS driver to xen

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Only required changes from Linux ITS driver is ported and compiled Signed-off-by: Vijaya Kumar K --- v3: - Only required changes from Linux ITS driver is ported - Xen coding style is followed. --- xen/arch/arm/Makefile |1 + xen/arch/arm/gic-v3-its.c

[Xen-devel] [RFC PATCH v3 07/18] xen/arm: ITS: implement hw_irq_controller for LPIs

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Implements hw_irq_controller api's required to handle LPI's Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c | 39 +++ xen/arch/arm/gic-v3.c | 26 +++--- xen/arch/arm/irq.c| 16

[Xen-devel] [RFC PATCH v3 06/18] xen/arm: ITS: Add helper functions to manage its_devices

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Helper functions to mange its devices using RB-tree are introduced in physical ITS driver. This is global list of all the devices. Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c | 49 + xen/include/asm-arm/gic-its

[Xen-devel] [RFC PATCH v3 14/18] xen/arm: ITS: Initialize physical ITS

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Initialize physical ITS driver from GIC v3 driver if LPIs are supported by hardware Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3.c |7 +++ xen/include/asm-arm/gic-its.h |2 ++ 2 files changed, 9 insertions(+) diff --git a/xen/arch/arm/gic-v3.c

[Xen-devel] [RFC PATCH v3 10/18] xen/arm: ITS: Add APIs to add and assign device

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Add APIs to add devices to RB-tree, assign and remove devices to domain. Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c | 246 - xen/include/asm-arm/gic-its.h |4 +- 2 files changed, 246 insertions(+), 4 deletio

[Xen-devel] [RFC PATCH v3 13/18] xen/arm: ITS: Add irq descriptors for LPIs

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Add irq descriptors for LPIs and route Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3.c |8 +++- xen/arch/arm/gic.c| 17 +++- xen/arch/arm/irq.c| 38 + xen/arch/arm/vgic-v3-its.c|9 + xen/arch/a

[Xen-devel] [RFC PATCH v3 16/18] xen/arm: ITS: Handle LPI interrupts

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Handle and route LPI interrupts Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic.c |5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index 091f7e5..802f82f 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -665,

[Xen-devel] [RFC PATCH v3 11/18] xen/arm: ITS: Add GITS registers emulation

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Emulate GITS* registers and handle LPI configuration table update trap. Signed-off-by: Vijaya Kumar K --- xen/arch/arm/vgic-v3-its.c| 516 + xen/include/asm-arm/gic-its.h | 14 ++ 2 files changed, 530 insertions(+) diff --git

[Xen-devel] [RFC PATCH v3 15/18] xen/arm: ITS: Add domain specific ITS initialization

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Add Domain and vcpu specific ITS initialization Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c | 17 xen/arch/arm/setup.c |1 + xen/arch/arm/vgic-v3-its.c| 45 + xen/arch/arm/vgi

[Xen-devel] [RFC PATCH v3 12/18] xen/arm: ITS: Add GICR register emulation

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Emulate LPI related changes to GICR registers Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3.c | 15 xen/arch/arm/gic.c| 10 ++ xen/arch/arm/vgic-v3.c| 69 ++--- xen/include/a

[Xen-devel] [RFC PATCH v3 17/18] xen/arm: ITS: Generate ITS node for Dom0

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K Parse host dt and generate ITS node for Dom0. ITS node resides inside GIC node so when GIC node is encountered look for ITS node. Signed-off-by: Vijaya Kumar K --- xen/arch/arm/domain_build.c | 50 +++- xen/arch/arm/gic-v3-its.c |

[Xen-devel] [RFC PATCH v3 18/18] xen/arm: ITS: Map ITS translation space

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K ITS translation space contains GITS_TRANSLATOR register which is written by device to raise LPI. This space needs to mapped to every domain address space for all physical ITS available, so that device can access GITS_TRANSLATOR register using SMMU. Signed-off-by: Vijaya Kuma

Re: [Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Andrew Cooper
On 22/06/15 12:49, Jan Beulich wrote: > - use 32-bit types where possible (produces slightly better code) > - drop (now) unnecessary casts > - avoid indirection where not needed > - avoid duplicate log messages in vlapic_write() > - minor other cleanup > > Signed-off-by: Jan Beulich Reviewed-by:

Re: [Xen-devel] [PATCH] xen: add a 'acpi_fake_s3' boot command line parameter

2015-06-22 Thread Dario Faggioli
On Mon, 2015-06-22 at 12:48 +0100, Jan Beulich wrote: > >>> On 22.06.15 at 13:28, wrote: > > --- a/xen/arch/x86/acpi/power.c > > +++ b/xen/arch/x86/acpi/power.c > > @@ -33,6 +33,9 @@ > > > > uint32_t system_reset_counter = 1; > > > > +static bool_t __read_mostly fake_s3 = 0; > > +boolean_para

Re: [Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 14:15, wrote: > On 22/06/15 12:49, Jan Beulich wrote: >> @@ -847,47 +834,41 @@ static int vlapic_write(struct vcpu *v, >> * According to the IA32 Manual, all accesses should be 32 bits. >> * Some OSes do 8- or 16-byte accesses, however. >> */ >> -val = (ui

Re: [Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Andrew Cooper
On 22/06/15 13:55, Jan Beulich wrote: On 22.06.15 at 14:15, wrote: >> On 22/06/15 12:49, Jan Beulich wrote: >>> @@ -847,47 +834,41 @@ static int vlapic_write(struct vcpu *v, >>> * According to the IA32 Manual, all accesses should be 32 bits. >>> * Some OSes do 8- or 16-byte acces

[Xen-devel] [PULL 0/5] xen-220615

2015-06-22 Thread Stefano Stabellini
The following changes since commit 00967f4e0bab246679d0ddc32fd31a7179345baf: Merge remote-tracking branch 'remotes/agraf/tags/signed-s390-for-upstream' into staging (2015-06-05 12:04:42 +0100) are available in the git repository at: git://xenbits.xen.org/people/sstabellini/qemu-dm.git tags

[Xen-devel] [PULL 1/5] xen/pass-through: fold host PCI command register writes

2015-06-22 Thread Stefano Stabellini
From: Jan Beulich The code introduced to address XSA-126 allows simplification of other code in xen_pt_initfn(): All we need to do is update "cmd" suitably, as it'll be written back to the host register near the end of the function anyway. Signed-off-by: Jan Beulich --- hw/xen/xen_pt.c |9

[Xen-devel] [PULL 2/5] xen/pass-through: ROM BAR handling adjustments

2015-06-22 Thread Stefano Stabellini
From: Jan Beulich Expecting the ROM BAR to be written with an all ones value when sizing the region is wrong - the low bit has another meaning (enable/disable) and bits 1..10 are reserved. The PCI spec also mandates writing all ones to just the address portion of the register. Use suitable const

[Xen-devel] [PULL 4/5] xen/pass-through: constify some static data

2015-06-22 Thread Stefano Stabellini
From: Jan Beulich This is done indirectly by adjusting two typedefs and helps emphasizing that the respective tables aren't supposed to be modified at runtime (as they may be shared between devices). Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini --- hw/xen/xen_pt.h |

[Xen-devel] [PULL 3/5] xen/pass-through: log errno values rather than function return ones

2015-06-22 Thread Stefano Stabellini
From: Jan Beulich Functions setting errno commonly return just -1, which is of no particular use in the log file. Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini --- hw/xen/xen_pt.c | 26 +- hw/xen/xen_pt_msi.c | 24 2 files

[Xen-devel] [PULL 5/5] Revert "xen-hvm: increase maxmem before calling xc_domain_populate_physmap"

2015-06-22 Thread Stefano Stabellini
This reverts commit c1d322e6048796296555dd36fdd102d7fa2f50bf. The original commit fixes a bug when assigning a large number of devices which require option roms to a guest. (One known configuration that needs extra memory is having more than 4 emulated NICs assigned. Three or fewer NICs seems to

[Xen-devel] [linux-3.4 test] 58820: regressions - FAIL

2015-06-22 Thread osstest service user
flight 58820 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/58820/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 6 xen-boot fail REGR. vs. 30511 Tests which are failing

Re: [Xen-devel] [PATCH v2][RFC] libxl: Add AHCI support for upstream qemu

2015-06-22 Thread George Dunlap
On Mon, Jun 22, 2015 at 12:42 PM, Fabio Fantoni wrote: > Il 22/06/2015 12:34, George Dunlap ha scritto: >> >> On Fri, Jun 19, 2015 at 12:18 PM, Fabio Fantoni >> wrote:> Il 11/06/2015 12:28, Fabio Fantoni ha >> scritto: Il 11/06/2015 12:06, Zir Blazer ha scritto: > > Since I'm no

Re: [Xen-devel] [RFC PATCH v3 02/18] xen: Add log2 functionality

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 14:01, wrote: First of all, please Cc _all_ relevant maintainers. > --- a/xen/include/xen/bitops.h > +++ b/xen/include/xen/bitops.h > @@ -117,6 +117,14 @@ static inline int generic_fls64(__u64 x) > # endif > #endif > > +static inline unsigned fls_long(unsigned long l) > +{

Re: [Xen-devel] [RFC PATCH v3 03/18] xen: console: Add ratelimit support for error message

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 14:01, wrote: > From: Vijaya Kumar K > > XENLOG_ERR_RATE_LIMIT and XENLOG_G_ERR_RATE_LIMIT > log levels are added to support rate limit for error messages If you mean to say that rate limiting currently doesn't work for XENLOG_ERR messages, then that's a problem to be fixed b

Re: [Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 15:02, wrote: > On 22/06/15 13:55, Jan Beulich wrote: > On 22.06.15 at 14:15, wrote: >>> On 22/06/15 12:49, Jan Beulich wrote: @@ -847,47 +834,41 @@ static int vlapic_write(struct vcpu *v, * According to the IA32 Manual, all accesses should be 32 bits.

[Xen-devel] Proposed plan for libxl USB interface (was Re: [PATCH V4 3/7] libxl: add pvusb API)

2015-06-22 Thread George Dunlap
On 06/18/2015 01:08 PM, George Dunlap wrote: > This usb interface stuff is really becoming a morass. The core > functionality is fairly independent of the interface. I'm inclined to > say that we should start with a simple specification (only bus.addr), > and try to get both pvusb and hvmusb in.

[Xen-devel] [PATCH] README: update to say Xen 4.5, not Xen 4.5.0

2015-06-22 Thread Ian Jackson
We are about to release 4.5.1. And, we want to not have to patch README each time. Signed-off-by: Ian Jackson --- README | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index 3bdc74e..86b689e 100644 --- a/README +++ b/README @@ -1,9 +1,9 @@

Re: [Xen-devel] [PATCH] README: update to say Xen 4.5, not Xen 4.5.0

2015-06-22 Thread Jan Beulich
>>> On 22.06.15 at 15:38, wrote: > We are about to release 4.5.1. And, we want to not have to patch > README each time. > > Signed-off-by: Ian Jackson Acked-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xe

Re: [Xen-devel] [PATCH 3/3] xen/block: add multi-page ring support

2015-06-22 Thread Konrad Rzeszutek Wilk
On Mon, Jun 22, 2015 at 09:20:04AM +0800, Bob Liu wrote: > > On 06/09/2015 10:07 PM, Roger Pau Monné wrote: > > El 09/06/15 a les 15.39, Konrad Rzeszutek Wilk ha escrit: > ... > >> Roger, I put them (patches) on devel/for-jens-4.2 on > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/konrad/x

[Xen-devel] [PATCH] Update to SeaBIOS rel-1.8.2

2015-06-22 Thread Ian Campbell
Signed-off-by: Ian Campbell --- Build tested only, osstest has tested the patches which went into rel-1.8.2 while they were in mainline, but does not test stable branches of seabios. I think the risks are minimal enough. --- Config.mk |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [Xen-devel] [RFC PATCH v3 00/18] Add ITS support

2015-06-22 Thread Julien Grall
Hi Vijay, On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > This is based on DraftF version > http://xenbits.xen.org/people/ianc/vits/draftF.pdf > > Following major features are supported > - GICv3 ITS support for arm64 platform > - Only Dom0 is supported > > Basic

Re: [Xen-devel] [PATCH] Update to SeaBIOS rel-1.8.2

2015-06-22 Thread Wei Liu
On Mon, Jun 22, 2015 at 02:51:08PM +0100, Ian Campbell wrote: > Signed-off-by: Ian Campbell Acked-by: Wei Liu > --- > Build tested only, osstest has tested the patches which went into > rel-1.8.2 while they were in mainline, but does not test stable > branches of seabios. I think the risks are

[Xen-devel] [PATCH] drivers: xen-blkfront: only talk_to_blkback() when in XenbusStateInitialising

2015-06-22 Thread Konrad Rzeszutek Wilk
From: Bob Liu Patch 69b91ede5cab843dcf345c28bd1f4b5a99dacd9b "drivers: xen-blkback: delay pending_req allocation to connect_ring" exposed an problem that Xen blkfront has. There is a race with XenStored and the drivers such that we can see two: vbd vbd-268440320: blkfront:blkback_changed to stat

Re: [Xen-devel] [RFC PATCH v3 00/18] Add ITS support

2015-06-22 Thread Ian Campbell
On Mon, 2015-06-22 at 14:52 +0100, Julien Grall wrote: > Hi Vijay, > > On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > > From: Vijaya Kumar K > > > > This is based on DraftF version > > http://xenbits.xen.org/people/ianc/vits/draftF.pdf > > > > Following major features are supported > > -

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Julien Grall
On 22/06/15 12:17, Peng Fan wrote: > I add debug log in this piece of code: > void __init sanity_check_meminfo(void) > > { > > phys_addr_t memblock_limit = 0; > int i, j, highmem = 0; > phys_addr_t vmalloc_limit = __pa(vmalloc_min - 1) + 1; > > > printk("vmalloc_min virt %x phys %x\n", vmalloc_

Re: [Xen-devel] [PATCH] x86/vLAPIC: adjust types in internal read/write handling

2015-06-22 Thread Andrew Cooper
On 22/06/15 14:27, Jan Beulich wrote: On 22.06.15 at 15:02, wrote: >> On 22/06/15 13:55, Jan Beulich wrote: >> On 22.06.15 at 14:15, wrote: On 22/06/15 12:49, Jan Beulich wrote: > @@ -847,47 +834,41 @@ static int vlapic_write(struct vcpu *v, > * According to the IA32

Re: [Xen-devel] [PATCH] drivers: xen-blkfront: only talk_to_blkback() when in XenbusStateInitialising

2015-06-22 Thread Konrad Rzeszutek Wilk
On Mon, Jun 22, 2015 at 09:56:00AM -0400, Konrad Rzeszutek Wilk wrote: > From: Bob Liu > > Patch 69b91ede5cab843dcf345c28bd1f4b5a99dacd9b > "drivers: xen-blkback: delay pending_req allocation to connect_ring" > exposed an problem that Xen blkfront has. There is a race > with XenStored and the dri

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

2015-06-22 Thread osstest service user
flight 58821 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/58821/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 14 guest-start.2 fail in 58789 pass in 58821 test-amd64-i386-rumpuserxen-i386 1

Re: [Xen-devel] Proposed plan for libxl USB interface (was Re: [PATCH V4 3/7] libxl: add pvusb API)

2015-06-22 Thread Juergen Gross
On 06/22/2015 03:29 PM, George Dunlap wrote: On 06/18/2015 01:08 PM, George Dunlap wrote: This usb interface stuff is really becoming a morass. The core functionality is fairly independent of the interface. I'm inclined to say that we should start with a simple specification (only bus.addr), a

Re: [Xen-devel] [RFC PATCH v3 01/18] xen/arm: Add bitmap_find_next_zero_area helper function

2015-06-22 Thread Julien Grall
Hi, Please include all the relevant maintainers. See scripts/get_maintainers.pl. On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > bitmap_find_next_zero_area helper function will be used > by physical ITS driver imported from linux > > Signed-off-by: Vijaya Kumar K >

[Xen-devel] Proposed plan for libxl USB interface (was Re: [PATCH V4 3/7] libxl: add pvusb API)

2015-06-22 Thread Ian Jackson
George Dunlap writes ("Proposed plan for libxl USB interface (was Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API)"): > With all that in mind, here is a proposal: FAOD, this all sounds good. I have one comment on this: > 4. We work on a set of helper functions that a toolstack can use to >

[Xen-devel] [PATCH v4 RFC 0/6] x86/MSI: XSA-120, 126, 128-131 follow-up

2015-06-22 Thread Jan Beulich
Only patches 1, 2, and 6 are really RFC (with some debugging code still left in), the others (hence v4) have been submitted before. 1: PCI: add config space write abstract intercept logic 2: MSI-X: track host and guest mask-all requests separately 3: MSI-X: be more careful during teardown 4: MSI-

[Xen-devel] [libvirt test] 58823: tolerable FAIL - PUSHED

2015-06-22 Thread osstest service user
flight 58823 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/58823/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-libvirt 11 guest-start fail like 58767 test-amd64-amd64-libvirt 11 gu

[Xen-devel] [PATCH v4 RFC 2/6] x86/MSI-X: track host and guest mask‑all requests separately

2015-06-22 Thread Jan Beulich
Host uses of the bits will be added subsequently, and must not be overridden by guests (including Dom0, namely when acting on behalf of a guest). Signed-off-by: Jan Beulich --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -846,6 +846,12 @@ static int msix_capability_init(struct p if (

Re: [Xen-devel] [PATCH 1/2] xen{trace/analyze}: don't use 64bit versions of libc functions

2015-06-22 Thread Roger Pau Monné
El 22/06/15 a les 12.09, George Dunlap ha escrit: > On 06/22/2015 10:59 AM, Roger Pau Monné wrote: >> El 22/06/15 a les 11.08, George Dunlap ha escrit: >>> On 06/19/2015 09:58 AM, Roger Pau Monne wrote: This is not needed, neither encouraged. Configure already checks _FILE_OFFSET_BITS and

[Xen-devel] [PATCH v4 3/6] x86/MSI-X: be more careful during teardown

2015-06-22 Thread Jan Beulich
When a device gets detached from a guest, pciback will clear its command register, thus disabling both memory and I/O decoding. The disabled memory decoding, however, has an effect on the MSI-X table accesses the hypervisor does: These won't have the intended effect anymore. Even worse, for PCIe de

[Xen-devel] [PATCH v4 4/6] x86/MSI-X: access MSI-X table only after having enabled MSI-X

2015-06-22 Thread Jan Beulich
As done in Linux by f598282f51 ("PCI: Fix the NIU MSI-X problem in a better way") and its broken predecessor, make sure we don't access the MSI-X table without having enabled MSI-X first, using the mask-all flag instead to prevent interrupts from occurring. Signed-off-by: Jan Beulich Reviewed-by:

[Xen-devel] [PATCH v4 RFC 5/6] x86/MSI-X: reduce fiddling with control register during restore

2015-06-22 Thread Jan Beulich
Rather than disabling and enabling MSI-X once per vector, do it just once per device. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -1319,6 +1319,9 @@ int pci_restore_msi_state(struct pci_dev struct msi_desc *entry, *tmp; st

[Xen-devel] [PATCH v4 RFC 6/6] x86/MSI: properly track guest masking requests

2015-06-22 Thread Jan Beulich
... by monitoring writes to the mask register. This allows reverting the main effect of the XSA-129 patches in qemu. Signed-off-by: Jan Beulich --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -1308,6 +1308,39 @@ printk("%04x:%02x:%02x.%u: MSI-X %03x:%u return 1; } +entr

[Xen-devel] [PATCH v4 RFC 1/6] x86/PCI: add config space write abstract intercept logic

2015-06-22 Thread Jan Beulich
This is to be used by MSI code, and later to also be hooked up to MMCFG accesses by Dom0. Signed-off-by: Jan Beulich --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -,6 +,12 @@ void pci_cleanup_msi(struct pci_dev *pde msi_free_irqs(pdev); } +int pci_msi_conf_write_intercept(

Re: [Xen-devel] [RFC PATCH v3 04/18] xen/arm: gicv3: Refactor redistributor information

2015-06-22 Thread Julien Grall
Hi, On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > Separate redistributor information into rdist and rdist_prop > structures. > > The rdist_prop holds the redistributor common information > and rdist holds the per cpu specific information. > > This percpu rdist def

Re: [Xen-devel] [PATCH v25 04/15] x86/VPMU: Interface for setting PMU mode and flags

2015-06-22 Thread Jan Beulich
>>> On 19.06.15 at 20:44, wrote: > Add runtime interface for setting PMU mode and flags. Three main modes are > provided: > * XENPMU_MODE_OFF: PMU is not virtualized > * XENPMU_MODE_SELF: Guests can access PMU MSRs and receive PMU interrupts. > * XENPMU_MODE_HV: Same as XENPMU_MODE_SELF for non-p

Re: [Xen-devel] [PATCH v25 07/15] x86/VPMU: Save VPMU state for PV guests during context switch

2015-06-22 Thread Jan Beulich
>>> On 19.06.15 at 20:44, wrote: > Save VPMU state during context switch for both HVM and PV(H) guests. > > A subsequent patch ("x86/VPMU: NMI-based VPMU support") will make it possible > for vpmu_switch_to() to call vmx_vmcs_try_enter()->vcpu_pause() which needs > is_running to be correctly set/

[Xen-devel] [PATCH] libxl: Add AHCI support for upstream qemu

2015-06-22 Thread Fabio Fantoni
Usage: ahci=0|1 (default=0) If enabled adds ich9 disk controller in ahci mode and uses it with upstream qemu to emulate disks instead of ide. It doesn't support cdroms which still using ide (cdroms will use "-device ide-cd" as new qemu parameter) Ahci requires new qemu parameter but for now other

[Xen-devel] [PATCH v7 0/2] OSSTEST: introduce a raisin build test

2015-06-22 Thread Stefano Stabellini
Hi all, the first patch introduces a Raisin build job, meant to test Raisin itself. The second patch push-gates Raisin on successful builds. Signed-off-by: Stefano Stabellini Changes in v7: - update raisin git url after http://marc.info/?l=xen-devel&m=143472251602803 - add a patch to push-gate

[Xen-devel] [PATCH v7 2/2] OSSTest: push successful raisin builds

2015-06-22 Thread Stefano Stabellini
Determine the most recent raisin revision that needs to be tested, by comparing with the already tested xen-tested-master branch. Push to raisin.git:xen-tested-master when the build is successful. Signed-off-by: Stefano Stabellini --- ap-common|3 +++ ap-fetch-version |3

[Xen-devel] [PATCH v7 1/2] OSSTEST: introduce a raisin build test

2015-06-22 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- Changes in v7: - update raisin git url after http://marc.info/?l=xen-devel&m=143472251602803 Changes in v6: - move divide to Osstest/BuildSupport.pm and rename it to divide_xen_build; use divide_xen_build in ts-raisin-build and ts-xen-build. Changes in v5:

  1   2   >