Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-03 Thread Boris Ostrovsky
On 03/03/2015 02:42 PM, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 02:17:24PM -0500, Boris Ostrovsky wrote: On 03/03/2015 12:42 PM, Paul E. McKenney wrote: } @@ -511,7 +508,8 @@ static void xen_cpu_die(unsigned int cpu) schedule_timeout(HZ/10); } -

[Xen-devel] [PATCH] Fixes to x86/xen: Provide a Xen PV APIC driver to support patch.

2015-03-03 Thread Konrad Rzeszutek Wilk
Boris spotted an compile bug (32-bit) and asked some hard questions that lead me to dig in the 32-bit code in more details. The patch: [PATCH 1/2] x86/xen/apic: Work with UP, non-SMP 32-bit kernels. fixes the compile issue and also allows us to boot on 32-bit, UP kernels (dom0 and PV) without

[Xen-devel] [PATCH 2/2] x86/xen/apic: WARN with details.

2015-03-03 Thread Konrad Rzeszutek Wilk
We should not be writting to the APIC registers under Xen PV. But if we do instead of just giving an blanket warning - include some details to help troubleshoot. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/apic.c | 2 +- 1 file changed, 1 insertion(+), 1

[Xen-devel] [PATCH 1/2] x86/xen/apic: Work with UP, non-SMP 32-bit kernels.

2015-03-03 Thread Konrad Rzeszutek Wilk
Most of the APIC code that use APIC_LDR is not used on 64-bit. On 32-bit it is bit of an hack - and the mechanism it is uses is to setup the APIC_LDR via apci-init_apic_ldr (which we set to NULL) and then use apic-x86_32_early_logical_apicid to get an CPU to APIC ID mapping and also apic-read to

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-03 Thread Paul E. McKenney
On Tue, Mar 03, 2015 at 03:13:07PM -0500, Boris Ostrovsky wrote: On 03/03/2015 02:42 PM, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 02:17:24PM -0500, Boris Ostrovsky wrote: On 03/03/2015 12:42 PM, Paul E. McKenney wrote: } @@ -511,7 +508,8 @@ static void xen_cpu_die(unsigned int cpu)

[Xen-devel] [PATCH v2] domctl: cleanup

2015-03-03 Thread Jan Beulich
- drop redundant ret = 0 statements - drop unnecessary braces - eliminate a few single use local variables - move break statements inside case-specific braced scopes - eliminate trailing whitespace Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Ian Campbell ian.campb...@citrix.com

[Xen-devel] [PATCH v3 4/4] xen/arm: Don't pass the PSCI-0.2 node to DOM0

2015-03-03 Thread vijay . kilari
From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com psci node is generated by xen for dom0. if the host device tree has psci-0.2 skip parsing this node and avoid copying from host device tree to dom0 device tree. Signed-off-by: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Acked-by: Ian

[Xen-devel] [PATCH v3 1/4] xen/arm: Add ThunderX platform support

2015-03-03 Thread vijay . kilari
From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Add basic support for Cavium ThunderX platform Signed-off-by: Vijaya Kumar K vijaya.ku...@caviumnetworks.com --- v3 changes: - Made Thunderx specific mappings as separate patch - Improved printk error message v2 changes: - Update

[Xen-devel] [PATCH v2 2/4] xen/arm: Add GSER region to ThunderX platform mapping

2015-03-03 Thread vijay . kilari
From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Add GSER region to thunderx platfrom specific mappings. This region is not mentioned in DT. This is required by PCI driver to detect and configure pci devices attached. In future we can remove this mapping, if pci driver in Dom does not

[Xen-devel] [PATCH v3 0/4] Add ThunderX platform support

2015-03-03 Thread vijay . kilari
From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Changes in v3: - Made ThunderX GSER region mapping as separate patch - Updated patch 3 commit message Changes in v2: - Updated patch 3 commit message - Updated processor_implementers[] with implementor info in xen/arch/arm/setup.c

[Xen-devel] [PATCH v3 3/4] xen/arm: Add early printk support for ThunderX platform

2015-03-03 Thread vijay . kilari
From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com ThunderX platform uses pl011 uart. Signed-off-by: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Acked-by: Ian Campbell ian.campb...@citrix.com --- xen/arch/arm/Rules.mk |4 1 file changed, 4 insertions(+) diff --git

Re: [Xen-devel] [PATCH RFC V2 4/5] xl: add pvusb commands

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:43 PM, in message 1425382984.24959.115.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb commands. To attach a usb device to guest through pvusb, one could follow following example:

[Xen-devel] [qemu-upstream-unstable test] 35812: regressions - FAIL

2015-03-03 Thread xen . org
flight 35812 qemu-upstream-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35812/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rhel6hvm-amd 6 leak-check/basis(6) running in 34247 [st=running!]

[Xen-devel] [PATCH 3.18 129/151] x86/xen: Treat SCI interrupt as normal GSI interrupt

2015-03-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu jiang@linux.intel.com commit b568b8601f05a591a7ff09d8ee1cedb5b2e815fe upstream. Currently Xen Domain0 has special treatment for ACPI SCI interrupt, that is initialize irq for

[Xen-devel] Ping: [PATCH 0/2] x86: tboot adjustments

2015-03-03 Thread Jan Beulich
I'm intending to commit the first of these right now (i.e. without an ack), as we need the bug fixed (and want the fix backported for the pending stable tree releases). I'll holding off on the 2nd one (as being cleanup) for another week or so, in the hope that at least one of you will respond one

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:38 PM, in message 1425382696.24959.112.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb

[Xen-devel] [PATCH 3.19 174/175] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Raghavendra K T raghavendra...@linux.vnet.ibm.com commit d6abfdb2022368d8c6c4be3f11a06656601a6cc2 upstream. Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus

Re: [Xen-devel] [PATCH OSSTEST 05/12] Add and expose some testsupport APIs

2015-03-03 Thread Pang, LongtaoX
-Original Message- From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] Sent: Wednesday, February 11, 2015 10:54 PM To: Hu, Robert Cc: xen-devel@lists.xen.org; jfeh...@suse.com; wei.l...@citrix.com; ian.campb...@citrix.com; Pang, LongtaoX Subject: Re: [PATCH OSSTEST 05/12] Add and

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:10 PM, in message 1425381019.24959.87.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Sorry for the long delay in replying. To attach a usb device, a virtual usb controller should be created

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

2015-03-03 Thread xen . org
flight 35790 linux-linus real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35790/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 8 guest-start fail REGR. vs. 34227

Re: [Xen-devel] [PATCH v10 4/4] tools, docs: add total/local memory bandwith monitoring

2015-03-03 Thread Chao Peng
On Tue, Mar 03, 2015 at 10:09:39AM +, Ian Campbell wrote: On Tue, 2015-03-03 at 16:00 +0800, Chao Peng wrote: On Mon, Mar 02, 2015 at 01:48:43PM +, Ian Campbell wrote: On Thu, 2015-02-26 at 16:45 +0800, Chao Peng wrote: Add Memory Bandwidth Monitoring(MBM) for VMs. Two types of

Re: [Xen-devel] [PATCHv1 0/2 net] xen-netback: fix ethtool stats and memory

2015-03-03 Thread David Miller
From: David Vrabel david.vra...@citrix.com Date: Tue, 3 Mar 2015 16:26:09 + A couple of bug fixes for netback: - make ethool stats to report the correct values. - don't leak 1 MiB every time a VIF is destroyed. Please fix up the minor commit message issues in patch #2 and resubmit this

[Xen-devel] [linux-next test] 35809: regressions - FAIL

2015-03-03 Thread xen . org
flight 35809 linux-next real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35809/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl 11 guest-stopfail REGR. vs. 35642

Re: [Xen-devel] [PATCH v4 6/8] xen/iommu: smmu: Add Xen specific code to be able to use the driver

2015-03-03 Thread Manish Jaggi
On 02/03/15 12:33 pm, Manish Jaggi wrote: On Thursday 26 February 2015 12:22 AM, Julien Grall wrote: The main goal is to modify as little the Linux code to be able to port easily new feature added in Linux repo for the driver. To achieve that we: - Add helpers to Linux function not

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-03 Thread Juergen Gross
On 03/03/2015 08:20 PM, Luis R. Rodriguez wrote: On Tue, Mar 3, 2015 at 2:06 AM, David Vrabel david.vra...@citrix.com wrote: On 03/03/15 09:40, Luis R. Rodriguez wrote: Andrey, I believe that on Xen we should disable kasan, would like confirmation Why? This is the first of heard of this.

[Xen-devel] [xen-unstable test] 35810: regressions - FAIL

2015-03-03 Thread xen . org
flight 35810 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35810/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 5 xen-bootfail REGR. vs. 34629

Re: [Xen-devel] [RFC PATCH 13/19] xen/arm: its: implement hw_irq_controller for LPIs

2015-03-03 Thread Stefano Stabellini
On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com This patch implements hw_irq_controller api's required to handle LPI's. Signed-off-by: Vijaya Kumar K vijaya.ku...@caviumnetworks.com --- xen/arch/arm/gic-v3-its.c | 104

Re: [Xen-devel] [RFC PATCH 12/19] xen/arm: its: Add support to emulate GICR register for LPIs

2015-03-03 Thread Stefano Stabellini
On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com With this patch add emulation of GICR registers for LPIs. Also add LPI property table emulation. Domain's LPI property table is unmapped during domain init on LPIPROPBASE update and

Re: [Xen-devel] [PATCH 2/2] flask: create unified flask= boot parameter

2015-03-03 Thread Jan Beulich
On 03.03.15 at 18:00, dgde...@tycho.nsa.gov wrote: --- a/docs/misc/xsm-flask.txt +++ b/docs/misc/xsm-flask.txt @@ -400,28 +400,26 @@ may require multiple passes to find all required ranges. Additional notes on XSM:FLASK - -1) xen command line parameters -

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-03 Thread George Dunlap
On 01/19/2015 08:28 AM, Chunyan Liu wrote: To attach a usb device, a virtual usb controller should be created first. This patch defines usbctrl and usbdevice related structs. Signed-off-by: Chunyan Liu cy...@suse.com Signed-off-by: Simon Cao caobosi...@gmail.com Chunyan, thanks for picking

Re: [Xen-devel] OSSTest OVMF pushgate

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 04:39:39PM +, Ian Campbell wrote: On Wed, 2015-02-25 at 17:20 +, Wei Liu wrote: Ian and Ian, Currently OSSTest pushes OVMF changesets to osstest/ovmf.git, while xen.git references ovmf.git. This requires us to do manual push from osstest/ovmf.git to

Re: [Xen-devel] [RFC PATCH 14/19] xen/arm: vits: Map ITS translation space

2015-03-03 Thread Stefano Stabellini
On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com 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 so that device can access

Re: [Xen-devel] ./configure: line 7058: python-config: command not found after commit 0013245

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 17:22 +, Julien Grall wrote: Hi, I've tried to use ./configure on the latest master and got the below error: checking for python-config... no checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 05:59:39PM +0100, Samuel Thibault wrote: Wei Liu, le Tue 03 Mar 2015 16:58:07 +, a écrit : Rump kernel doesn't use mini-os's fd management facility so there is no alloc_fd etc. On the other hand this makes me think number 1 is as good as any other number we can

[Xen-devel] ./configure: line 7058: python-config: command not found after commit 0013245

2015-03-03 Thread Julien Grall
Hi, I've tried to use ./configure on the latest master and got the below error: checking for python-config... no checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for PyArg_ParseTuple in -lpython2.7... yes checking whether Python setup.py

Re: [Xen-devel] [RFC PATCH 14/19] xen/arm: vits: Map ITS translation space

2015-03-03 Thread Julien Grall
On 03/03/15 17:31, Stefano Stabellini wrote: On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com ITS translation space contains GITS_TRANSLATOR register which is written by device to raise LPI. This space needs to mapped to every domain

Re: [Xen-devel] ./configure: line 7058: python-config: command not found after commit 0013245

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 05:22:39PM +, Julien Grall wrote: Hi, I've tried to use ./configure on the latest master and got the below error: checking for python-config... no checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for

Re: [Xen-devel] [PATCH] libxl: Correct license header on libxl_flask.c to be LGPL

2015-03-03 Thread M. Gregory
Yes, this change is ok. -Machon On 03/03/2015 12:02 PM, Ian Campbell wrote: libxl is intended to be an LGPL 2.1 licensed library, however this file inadvertently got given a GPL header. The following people have touched this file, although all but Machon's contributions are trivial and/or

Re: [Xen-devel] ./configure: line 7058: python-config: command not found after commit 0013245

2015-03-03 Thread Julien Grall
On 03/03/15 17:36, Wei Liu wrote: On Tue, Mar 03, 2015 at 05:22:39PM +, Julien Grall wrote: Hi, I've tried to use ./configure on the latest master and got the below error: checking for python-config... no checking Python.h usability... yes checking Python.h presence... yes checking

Re: [Xen-devel] [PATCH] tools/libxc: Don't leave scratch_pfn uninitialised if the domain has no memory [and 3 more messages]

2015-03-03 Thread Ian Jackson
Andrew Cooper writes ([PATCH] tools/libxc: Don't leave scratch_pfn uninitialised if the domain has no memory): c/s 5b5c40c0d1 libxc: introduce a per architecture scratch pfn for temporary grant mapping accidentally an issue whereby there were two paths out of xc_core_arch_get_scratch_gpfn()

Re: [Xen-devel] [PATCH] libxl: Correct license header on libxl_flask.c to be LGPL

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 12:20 -0500, M. Gregory wrote: Yes, this change is ok. Thank you. Unless you object I shall interpret this as an: Acked-by: M. Gregory mbgr...@tycho.ncsc.mil which will be added to the S-o-b stanza at the end of the commit message. -Machon On 03/03/2015 12:02

Re: [Xen-devel] [PATCH v9 01/13] hvm: Move MAX_INST_LEN into x86_emulate.h

2015-03-03 Thread George Dunlap
On 02/16/2015 11:05 PM, Don Slutz wrote: Change some hard coded 15 into MAX_INST_LEN Signed-off-by: Don Slutz dsl...@verizon.com Since it looks like you'll be re-sending the series anyway, it might be nice to include No functional changes in the description, just to make it clear. -George

Re: [Xen-devel] [PATCH v9 01/13] hvm: Move MAX_INST_LEN into x86_emulate.h

2015-03-03 Thread Andrew Cooper
On 03/03/15 14:02, George Dunlap wrote: On 02/16/2015 11:05 PM, Don Slutz wrote: Change some hard coded 15 into MAX_INST_LEN Signed-off-by: Don Slutz dsl...@verizon.com Since it looks like you'll be re-sending the series anyway, it might be nice to include No functional changes in the

Re: [Xen-devel] [PATCH v9 01/13] hvm: Move MAX_INST_LEN into x86_emulate.h

2015-03-03 Thread George Dunlap
On 03/03/2015 02:08 PM, Andrew Cooper wrote: On 03/03/15 14:02, George Dunlap wrote: On 02/16/2015 11:05 PM, Don Slutz wrote: Change some hard coded 15 into MAX_INST_LEN Signed-off-by: Don Slutz dsl...@verizon.com Since it looks like you'll be re-sending the series anyway, it might be nice

Re: [Xen-devel] [PATCH v9 03/13] tools: Add vmware_hwver support

2015-03-03 Thread Ian Campbell
On Mon, 2015-02-16 at 18:05 -0500, Don Slutz wrote: diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index c219f59..0c27e5c 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -163,6 +163,16 @@ #define LIBXL_HAVE_BUILDINFO_HVM_MMIO_HOLE_MEMKB 1 /* + * The

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-03 Thread Konrad Rzeszutek Wilk
On Tue, Mar 03, 2015 at 04:15:06PM +0300, Andrey Ryabinin wrote: On 03/03/2015 12:40 PM, Luis R. Rodriguez wrote: Andrey, I believe that on Xen we should disable kasan, would like confirmation I guess Xen guests won't work with kasan because Xen guests doesn't setup shadow

Re: [Xen-devel] [PATCH v9 07/13] tools: Add vmware_port support

2015-03-03 Thread Ian Campbell
On Mon, 2015-02-16 at 18:05 -0500, Don Slutz wrote: +=item Bvmware_port=BOOLEAN + +Turns on or off the exposure of VMware port. This is known as +vmport in QEMU. Also called VMware Backdoor I/O Port. Not all +defined VMware backdoor commands are implemented. All of the +ones that Linux

Re: [Xen-devel] [PATCH v9 08/13] Add IOREQ_TYPE_VMWARE_PORT

2015-03-03 Thread Ian Campbell
On Mon, 2015-02-16 at 18:05 -0500, Don Slutz wrote: tools/libxc/xc_hvm_build_x86.c | 5 +- tools/libxl/libxl_dm.c | 4 + I've only looked at these bits. diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index c27f9a4..620013c 100644 ---

Re: [Xen-devel] [PATCH v9 09/13] Add xentrace to vmware_port

2015-03-03 Thread Ian Campbell
On Mon, 2015-02-16 at 18:05 -0500, Don Slutz wrote: tools/xentrace/formats | 5 + [...] diff --git a/tools/xentrace/formats b/tools/xentrace/formats index 5d7b72a..eec65f4 100644 --- a/tools/xentrace/formats +++ b/tools/xentrace/formats @@ -79,6 +79,11 @@ 0x00082020

[Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-03 Thread Gordan Bobic
Hi, I've been looking into custom e820 maps for domUs again, and found that functionality to provide QEMU with hints regarding e820 mapping has been upstream since some time in 2010 (FW_CFG_E820_TABLE) with more finely grained control (usable rather than just reserved entries) upstream since

Re: [Xen-devel] [PATCH v9 11/13] test_x86_emulator.c: Add emacs block

2015-03-03 Thread Ian Campbell
On Tue, 2015-02-17 at 14:52 +, Andrew Cooper wrote: On 16/02/15 23:05, Don Slutz wrote: Signed-off-by: Don Slutz dsl...@verizon.com Acked-by: Andrew Cooper andew.coo...@citrix.com (Presuming an acceptable extension of maintainership into this area. It does after all symlink its way

Re: [Xen-devel] Strange memory balloning problem even if balloning is disabled

2015-03-03 Thread Fabio Fantoni
Il 02/03/2015 17:31, David Vrabel ha scritto: On 02/03/15 16:23, Jan Beulich wrote: On 02.03.15 at 16:52, fabio.fant...@m2r.biz wrote: On systems with wheezy as dom0 and kernel 3.2 it seems there are no visible problems. After updating the kernel to 3.16 (from backports repository), after

Re: [Xen-devel] [PATCH v2 1/3] xen/arm: Add ThunderX platform support

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 10:39 +0530, Vijay Kilari wrote: On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-02-18 at 12:38 +, Julien Grall wrote: +uint64_t addr, size; Please use paddr_t and PRIpaddr etc. +res = map_mmio_regions(d,

[Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread Tao Chen
Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. Signed-off-by: Tao Chen boby.c...@huawei.com --- drivers/xen/xen-scsiback.c | 67 +++--- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git

Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread Juergen Gross
On 03/03/2015 09:37 AM, Tao Chen wrote: Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. I'm not really convinced this is worth a patch. OTOH I'm not completely against it. If nobody rejects this and all my further comments are addressed

[Xen-devel] [PATCH v3] ts-xen-install: Enable debug level logging in libvirt

2015-03-03 Thread Ian Campbell
This should make diagnosing libvirt issues a bit easier. Refactor the existing loop to edit the xencommons kvp style config file editing code so it can be reused for libvirtd.conf. Signed-off-by: Ian Campbell ian.campb...@citrix.com Cc: Jim Fehlig jfeh...@suse.com Acked-by: Ian Jackson

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-03 Thread Jan Beulich
On 03.03.15 at 10:29, jgr...@suse.com.non-mime.internet wrote: In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page. Signed-off-by: Juergen Gross jgr...@suse.com ---

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-03 Thread Juergen Gross
On 03/03/2015 11:27 AM, Jan Beulich wrote: On 03.03.15 at 10:29, jgr...@suse.com.non-mime.internet wrote: In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page. Signed-off-by: Juergen Gross

Re: [Xen-devel] freemem-slack and large memory environments

2015-03-03 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Ian Campbell wrote: On Mon, 2015-03-02 at 15:49 -0700, Mike Latimer wrote: On Monday, March 02, 2015 04:15:41 PM Stefano Stabellini wrote: On Mon, 2 Mar 2015, Ian Campbell wrote: ? Continue as long as progress is being made is exactly what 2563bca1154 libxl: Wait

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

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 10:59 -0700, Jim Fehlig wrote: Ian Campbell wrote: On Mon, 2015-03-02 at 11:14 +, Ian Jackson wrote: Jim Fehlig writes (Re: [Xen-devel] [xen-unstable test] 35257: regressions - FAIL): ... In my experience, if ERROR is insufficient, INFO and WARNING

Re: [Xen-devel] freemem-slack and large memory environments

2015-03-03 Thread Stefano Stabellini
On Mon, 2 Mar 2015, Mike Latimer wrote: On Monday, March 02, 2015 04:15:41 PM Stefano Stabellini wrote: On Mon, 2 Mar 2015, Ian Campbell wrote: ? Continue as long as progress is being made is exactly what 2563bca1154 libxl: Wait for ballooning if free memory is increasing was trying to

Re: [Xen-devel] Poor network performance between DomU with multiqueue support

2015-03-03 Thread Wei Liu
On Sat, Feb 28, 2015 at 10:45:02AM +0800, openlui wrote: Persistent grant is not silver bullet. There is email thread on the list discussing whether it should be removed in block driver. I have tried to look for the thread but no detailed info. Could you give me some keyword to find the

Re: [Xen-devel] Regression due to d9581c7dcac15c02ad4d47c60c60f4d8f197db55 en/fb: allow xenfb initialization for hvm guest

2015-03-03 Thread Stefano Stabellini
On Mon, 2 Mar 2015, Konrad Rzeszutek Wilk wrote: On Mon, Mar 02, 2015 at 02:38:50PM +, David Vrabel wrote: On 02/03/15 14:25, Konrad Rzeszutek Wilk wrote: On Mon, Mar 02, 2015 at 10:47:12AM +, David Vrabel wrote: On 27/02/15 21:24, Konrad Rzeszutek Wilk wrote: This has been in

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-03-03 Thread Jan Beulich
On 27.02.15 at 15:54, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 10:50 +, Jan Beulich wrote: On 27.02.15 at 11:04, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 08:46 +, Jan Beulich wrote: I'm simply adjusting what sched_init_vcpu() did, which is alter hard

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-03 Thread Jan Beulich
On 03.03.15 at 11:32, jgr...@suse.com wrote: On 03/03/2015 11:27 AM, Jan Beulich wrote: Also I'm not particularly happy with the name, as it suggests to be a statement about the initial P2M the guest gets handed - yet that is always virtually mapped. SIF_PERMANENT_VIRT_P2M is getting a

Re: [Xen-devel] Regression due to d9581c7dcac15c02ad4d47c60c60f4d8f197db55 en/fb: allow xenfb initialization for hvm guest

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 10:44 +, Stefano Stabellini wrote: On Mon, 2 Mar 2015, Konrad Rzeszutek Wilk wrote: On Mon, Mar 02, 2015 at 02:38:50PM +, David Vrabel wrote: On 02/03/15 14:25, Konrad Rzeszutek Wilk wrote: On Mon, Mar 02, 2015 at 10:47:12AM +, David Vrabel wrote: On

[Xen-devel] [PATCH v8 4/4] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-03-03 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio frediano.zig...@huawei.com --- xen/arch/arm/gic-hip04.c | 18 +++--- xen/include/asm-arm/gic.h | 4 +++- 2

[Xen-devel] [PATCH v8 3/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
The GIC in this platform is mainly compatible with the standard GICv2 beside: - ITARGET is extended to 16 bit to support 16 CPUs; - SGI mask is extended to support 16 CPUs; - maximum supported interrupt is 510; - GICH APR and LR register offsets. Signed-off-by: Frediano Ziglio

[Xen-devel] [PATCH v8 1/4] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-03-03 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio frediano.zig...@huawei.com --- xen/arch/arm/gic-hip04.c | 801 +++

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Stefano Stabellini
On Mon, 26 Jan 2015, Ian Campbell wrote: ... instead of artificially masking the timer interrupt in the timer state and relying on the guest to unmask (which it isn't required to do per the h/w spec, although Linux does) To do this introduce the concept of routing a PPI to the currently

Re: [Xen-devel] [PATCH RFC V2 4/5] xl: add pvusb commands

2015-03-03 Thread Ian Campbell
On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb commands. To attach a usb device to guest through pvusb, one could follow following example: #xl usb-ctrl-attach test_vm version=1 num_ports=8 #xl usb-list test_vm will show the usb controllers and port usage under the

Re: [Xen-devel] [PATCH RFC V2 5/5] domcreate: support pvusb in configuration file

2015-03-03 Thread Ian Campbell
On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add code to support pvusb from domain create. One could specify usb in domain's configuration file and create domain, then usb device would be attached to guest automatically. One could specify usb device in config file like this:

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 11:17 +, Julien Grall wrote: Hi Ian, On 03/03/2015 10:27, Ian Campbell wrote: On Tue, 2015-03-03 at 13:28 +0530, Vijay Kilari wrote: On Tue, Feb 24, 2015 at 6:29 PM, Julien Grall julien.gr...@linaro.org wrote: On 24/02/15 10:26, Ian Campbell wrote: On Tue,

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Ian Campbell wrote: On Tue, 2015-03-03 at 11:38 +, Stefano Stabellini wrote: gic_set_irq_properties(desc, cpumask_of(smp_processor_id()), GIC_PRI_IRQ); -/* Use vcpu0 to retrieve the pending_irq struct. Given that we only - * route SPIs to

Re: [Xen-devel] [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations

2015-03-03 Thread Ian Campbell
On Tue, 2015-02-10 at 20:09 +, Ian Jackson wrote: This is v2 of my work-in-progress series to support cancellation of long-running libxl operations. [...] I wouldn't recommend testing it yet until I've at least smoke tested it to see that things still work if you don't cancel them. Would

[Xen-devel] [PATCH v8 2/4] xen/arm: Check for interrupt controller directly

2015-03-03 Thread Frediano Ziglio
This check allow to detect mail interrupt controller even if it does not match one of the standard ones. This allow boards with non standard controllers to be handled correctly without having to manually edit the global list every time. Signed-off-by: Frediano Ziglio frediano.zig...@huawei.com

[Xen-devel] [PATCH v8 0/4] xen/arm: Add support for Huawei hip04-d01 platform

2015-03-03 Thread Frediano Ziglio
This set of patches add Xen support for hip04-d01 platform (see https://wiki.linaro.org/Boards/D01 for details). Changes from v7: - updated patches; - moved interrupt controller check in a separate patch (Ian Campbell); - changed conditional include of gic-hip04.c in Makefile (Ian Campbell); -

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-03 Thread Julien Grall
Hi Ian, On 03/03/2015 10:27, Ian Campbell wrote: On Tue, 2015-03-03 at 13:28 +0530, Vijay Kilari wrote: On Tue, Feb 24, 2015 at 6:29 PM, Julien Grall julien.gr...@linaro.org wrote: On 24/02/15 10:26, Ian Campbell wrote: On Tue, 2015-02-24 at 09:38 +, Julien Grall wrote: Hi Ian, On

Re: [Xen-devel] [PATCH v3] ts-xen-install: Enable debug level logging in libvirt

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 10:22 +, Ian Campbell wrote: This should make diagnosing libvirt issues a bit easier. Refactor the existing loop to edit the xencommons kvp style config file editing code so it can be reused for libvirtd.conf. Signed-off-by: Ian Campbell ian.campb...@citrix.com

Re: [Xen-devel] [PATCH DOCDAY v2] netif.h: describe request/response structures in terms of binary layout

2015-03-03 Thread Ian Campbell
On Wed, 2015-02-25 at 13:39 +, Ian Campbell wrote: In RFC style, rather than relying on the implicit assumptions of a particular C ABI. I have also confirmed, using the Python gdb extension technique in [0], that the struct offsets (in a Linux binary at least) are the same as described

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-03 Thread Jan Beulich
On 03.03.15 at 12:00, jgr...@suse.com wrote: On 03/03/2015 11:52 AM, Jan Beulich wrote: On 03.03.15 at 11:32, jgr...@suse.com wrote: On 03/03/2015 11:27 AM, Jan Beulich wrote: Also I'm not particularly happy with the name, as it suggests to be a statement about the initial P2M the guest gets

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-03 Thread Ian Campbell
On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list assignable usb devices in host - some other helper functions Signed-off-by: Chunyan Liu cy...@suse.com

Re: [Xen-devel] [RFC PATCH 00/19] xen/arm: Add ITS support

2015-03-03 Thread Julien Grall
Hello Vijay, On 03/03/2015 03:55, Vijay Kilari wrote: On Mon, Mar 2, 2015 at 6:49 PM, Julien Grall julien.gr...@linaro.org wrote: On 02/03/15 12:30, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Add ITS support for arm. Following major features are

Re: [Xen-devel] Strange memory balloning problem even if balloning is disabled

2015-03-03 Thread Fabio Fantoni
Il 03/03/2015 12:09, David Vrabel ha scritto: On 03/03/15 09:05, Fabio Fantoni wrote: Il 02/03/2015 17:31, David Vrabel ha scritto: On 02/03/15 16:23, Jan Beulich wrote: On 02.03.15 at 16:52, fabio.fant...@m2r.biz wrote: On systems with wheezy as dom0 and kernel 3.2 it seems there are no

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 11:38 +, Stefano Stabellini wrote: gic_set_irq_properties(desc, cpumask_of(smp_processor_id()), GIC_PRI_IRQ); -/* Use vcpu0 to retrieve the pending_irq struct. Given that we only - * route SPIs to guests, it doesn't make any difference. */ -

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-03 Thread Julien Grall
On 03/03/2015 11:47, Ian Campbell wrote: I'm not sure to follow here. Do you think MAP_SMALL_PAGES should be defined as WRITE_ALLOC? Sorry I just meant that: +#define PAGE_HYPERVISOR_WC ((DEV_WC) | PTE_PRESENT ) should be just: +#define PAGE_HYPERVISOR_WC (DEV_WC

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 18:42 +, Stefano Stabellini wrote: On Tue, 10 Feb 2015, Ian Campbell wrote: Stefano, do you have any comments on the viability of the general approach here before I go off and start addressing the review comments? I think that the general approach is OK

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 11:51 +, Julien Grall wrote: On 03/03/2015 11:47, Ian Campbell wrote: I'm not sure to follow here. Do you think MAP_SMALL_PAGES should be defined as WRITE_ALLOC? Sorry I just meant that: +#define PAGE_HYPERVISOR_WC ((DEV_WC) | PTE_PRESENT )

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Ian Campbell wrote: On Mon, 2015-03-02 at 18:42 +, Stefano Stabellini wrote: On Tue, 10 Feb 2015, Ian Campbell wrote: Stefano, do you have any comments on the viability of the general approach here before I go off and start addressing the review comments?

Re: [Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support

2015-03-03 Thread Ian Campbell
On Fri, 2015-01-30 at 18:54 +0100, Daniel Kiper wrote: xen/arch/x86/Makefile | 17 ++-- xen/arch/x86/boot/Makefile|3 +- xen/arch/x86/boot/head.S | 291 ++ xen/arch/x86/boot/reloc.c | 219

Re: [Xen-devel] [PATCH RFC] xen: arm: context switch vtimer PPI state.

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 12:00 +, Stefano Stabellini wrote: +/* An edge triggered interrupt should now be pending. */ +t-ppi_state.pending = true; +vcpu_unblock(t-v); I was going to say that this is trouble because local_events_need_delivery

[Xen-devel] [linux-3.16 test] 35762: regressions - FAIL

2015-03-03 Thread xen . org
flight 35762 linux-3.16 real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35762/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 15 guest-localmigrate/x10fail REGR. vs. 34167 test-amd64-i386-pair

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-03-03 Thread Manish Jaggi
On Monday 02 March 2015 05:18 PM, Ian Campbell wrote: On Fri, 2015-02-27 at 17:15 +, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Ian Campbell wrote: On Fri, 2015-02-27 at 16:35 +, Jan Beulich wrote: On 27.02.15 at 16:24, ian.campb...@citrix.com wrote: On Fri, 2015-02-27 at 14:54

Re: [Xen-devel] [PATCH v2 1/3] xen/arm: Add ThunderX platform support

2015-03-03 Thread Vijay Kilari
On Tue, Mar 3, 2015 at 2:33 PM, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2015-03-03 at 10:39 +0530, Vijay Kilari wrote: On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-02-18 at 12:38 +, Julien Grall wrote: +uint64_t addr, size;

[Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-03 Thread Juergen Gross
In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page. Signed-off-by: Juergen Gross jgr...@suse.com --- xen/include/public/xen.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-03-03 Thread Ian Campbell
On Thu, 2015-02-26 at 13:52 +, Jan Beulich wrote: ... by introducing a dom0_nodes option augmenting the dom0_mem and dom0_max_vcpus ones. Note that this gives meaning to MEMF_exact_node specified alone (i.e. implicitly combined with NUMA_NO_NODE): In such a case any node inside the

Re: [Xen-devel] [PATCH net-next 06/14] xen: Use eth_foo_addr instead of memset

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 19:54 -0800, Joe Perches wrote: Use the built-in function instead of memset. Signed-off-by: Joe Perches j...@perches.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH v10 4/4] tools, docs: add total/local memory bandwith monitoring

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 16:00 +0800, Chao Peng wrote: On Mon, Mar 02, 2015 at 01:48:43PM +, Ian Campbell wrote: On Thu, 2015-02-26 at 16:45 +0800, Chao Peng wrote: Add Memory Bandwidth Monitoring(MBM) for VMs. Two types of monitoring are supported: total and local memory bandwidth

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-03 Thread Jan Beulich
On 03.03.15 at 10:40, mcg...@suse.com wrote: Let's go down the rabbit hole for a bit. HAVE_ARCH_KASAN will be selected on x86 when: if X86_64 SPARSEMEM_VMEMMAP Now Xen should not have SPARSEMEM_VMEMMAP Why would that be? Jan ___ Xen-devel

Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread David Vrabel
On 03/03/15 08:37, Tao Chen wrote: Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. You need to #define pr_fmt(fmt) to add a prefix like this. struct ids_tuple v; /* translate from */ - struct scsiback_tpg *tpg;

<    1   2   3   >