Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Julien Grall
Hi, On 19/03/15 21:53, Boris Ostrovsky wrote: A few patches that add interface for querying hypervisor about device topology and allow 'xl info -n' display this information if PXM object is provided by ACPI. This series also makes some optimizations and cleanup of current CPU topology and

[Xen-devel] [PATCH v7 01/31] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-23 Thread Yijing Wang
From: Arnd Bergmann a...@arndb.de Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: xen-de...@lists.xenproject.org ---

Re: [Xen-devel] Xen unstability on HP Moonshot m400

2015-03-23 Thread Christoffer Dall
On Mon, Mar 23, 2015 at 1:36 PM, Ian Campbell ian.campb...@citrix.com wrote: On Sat, 2015-03-21 at 13:34 +0100, Christoffer Dall wrote: Hi, I have been experiencing a problematic crash running Xen on m400 over the last few days. I already spoke to Ian and Stefano about this, but

Re: [Xen-devel] [PATCH v4 4/5] Qemu-Xen-vTPM: Qemu vTPM xenstubdoms backen.

2015-03-23 Thread Xu, Quan
-Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Thursday, March 19, 2015 3:17 AM To: Xu, Quan; stefano.stabell...@eu.citrix.com; qemu-de...@nongnu.org; arm...@redhat.com; lcapitul...@redhat.com; aligu...@amazon.com; pbonz...@redhat.com;

Re: [Xen-devel] [Patch V2 1/2] xen: prepare p2m list for memory hotplug

2015-03-23 Thread David Vrabel
On 20/03/15 12:55, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list is allocated for the to be expected memory

Re: [Xen-devel] [Qemu-devel] Question about scsi emulation

2015-03-23 Thread Stefan Hajnoczi
On Wed, Mar 18, 2015 at 02:16:47PM -0700, Yaoli Zheng wrote: We have problem using qemu emulated scsi driver(the old lsi). Wonder if any of other device model we can try for emulating scsi, and how we can get and config it in Xen? Having been told virtio-scsi is alternative one, but have no

Re: [Xen-devel] [PATCH v2] x86/EFI: allow reboot= overrides when running under EFI

2015-03-23 Thread Konrad Rzeszutek Wilk
On Mon, Mar 23, 2015 at 09:21:14AM +, Ross Lagerwall wrote: On 03/12/2015 04:32 PM, Jan Beulich wrote: By default we will always use EFI reboot mechanism when running under EFI platforms. However some EFI platforms are buggy and need to use the ACPI mechanism to reboot (such as Lenovo

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

2015-03-23 Thread Julien Grall
On 23/03/15 12:37, Vijay Kilari wrote: On Fri, Mar 20, 2015 at 9:53 PM, Julien Grall julien.gr...@linaro.org wrote: Hi Vijay, On 19/03/2015 14:37, 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] [PATCH v3 0/3] Xen/FLASK policy updates for device contexts

2015-03-23 Thread Steve Lawrence
I think there may be a typo in the documentation update. It says: Policy version 30 introduced the literallink linkend=devicetreeconcontext/link/literal Should context be devicetreecon? Otherwise, this patch looks good to me. As far as issue 2, I think I've tracked it down to an errant free()

Re: [Xen-devel] Xen unstability on HP Moonshot m400

2015-03-23 Thread Ian Campbell
On Sat, 2015-03-21 at 13:34 +0100, Christoffer Dall wrote: Hi, I have been experiencing a problematic crash running Xen on m400 over the last few days. I already spoke to Ian and Stefano about this, but thought I'd summarize what I've seen so far and loop in a wider audience. The basic

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

2015-03-23 Thread Vijay Kilari
On Fri, Mar 20, 2015 at 9:53 PM, Julien Grall julien.gr...@linaro.org wrote: Hi Vijay, On 19/03/2015 14:37, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K vijaya.ku...@caviumnetworks.com Add ITS support for arm. Following major features are supported - GICv3 ITS support for arm64

Re: [Xen-devel] [RFC PATCH v2 06/22] xen/arm: its: Port ITS driver to xen

2015-03-23 Thread Julien Grall
On 23/03/15 12:24, Vijay Kilari wrote: /* * ITS command descriptors - parameters to be encoded in a command @@ -228,10 +243,10 @@ static struct its_collection *its_build_mapd_cmd(struct its_cmd_block *cmd, struct its_cmd_desc *desc) {

Re: [Xen-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-23 Thread Xu, Quan
-Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Monday, March 23, 2015 6:57 PM To: Xu, Quan; Ian Campbell Cc: ke...@koconnor.net; xen-devel@lists.xen.org; qemu-de...@nongnu.org; stefano.stabell...@eu.citrix.com Subject: Re: [Xen-devel] [PATCH]

Re: [Xen-devel] [RFC PATCH v2 06/22] xen/arm: its: Port ITS driver to xen

2015-03-23 Thread Vijay Kilari
Hi Julien, On Fri, Mar 20, 2015 at 8:36 PM, Julien Grall julien.gr...@linaro.org wrote: Hello Vijay, On 19/03/2015 14:37, vijay.kil...@gmail.com wrote: static LIST_HEAD(its_nodes); static DEFINE_SPINLOCK(its_lock); -static struct device_node *gic_root_node; -static struct rdists

Re: [Xen-devel] [PATCH 4/5] hvmloader: add knob for fixed SMBIOS date string

2015-03-23 Thread Jan Beulich
On 20.03.15 at 18:24, o...@aepfle.de wrote: To allow reproducible builds of hvmloader introduce a make variable SMBIOS_REL_DATE=mm/dd/ to provide a fixed date string. Without this change the hvmloader binary changes with every rebuild. Signed-off-by: Olaf Hering o...@aepfle.de

Re: [Xen-devel] [Patch V2 2/2] xen: before ballooning hotplugged memory, set frames to invalid

2015-03-23 Thread David Vrabel
On 20/03/15 13:46, Daniel Kiper wrote: On Fri, Mar 20, 2015 at 01:55:39PM +0100, Juergen Gross wrote: Commit 25b884a83d487fd62c3de7ac1ab5549979188482 (x86/xen: set regions above the end of RAM as 1:1) introduced a regression. Should not we fill everything above maxmem with

Re: [Xen-devel] [Patch V2 2/2] xen: before ballooning hotplugged memory, set frames to invalid

2015-03-23 Thread David Vrabel
On 20/03/15 13:44, Boris Ostrovsky wrote: On 03/20/2015 08:55 AM, Juergen Gross wrote: Commit 25b884a83d487fd62c3de7ac1ab5549979188482 (x86/xen: set regions above the end of RAM as 1:1) introduced a regression. To be able to add memory pages which were added via memory hotplug to a pv

Re: [Xen-devel] [PATCH 4/5] hvmloader: add knob for fixed SMBIOS date string

2015-03-23 Thread Jan Beulich
On 23.03.15 at 10:15, o...@aepfle.de wrote: On Mon, Mar 23, Jan Beulich wrote: On 20.03.15 at 18:24, o...@aepfle.de wrote: To allow reproducible builds of hvmloader introduce a make variable SMBIOS_REL_DATE=mm/dd/ to provide a fixed date string. Without this change the hvmloader

[Xen-devel] Xen 4.3.4 released

2015-03-23 Thread Jan Beulich
I am pleased to announce the release of Xen 4.3.4. This is available immediately from its git repository http://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.3 (tag RELEASE-4.3.4) or from the XenProject download page

Re: [Xen-devel] [PATCH v3 0/3] Xen/FLASK policy updates for device contexts

2015-03-23 Thread Richard Haines
Steve, I've added comments below (all working now thanks) and also found another problem as the path was not being released. With this patch secilc/valgrind with a good xen policy will not show any memory errors: diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index

Re: [Xen-devel] [PATCH V13 5/7] xen/arm: Instruction prefetch abort (X) mem_event handling

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 15:15 +, Ian Campbell wrote: _But_ I suppose you are not really worried about the guest doing a PT update, but rather xenaccess playing games with the stage 2 behind the guest's back, which might require us to do some TLB shootdowns, and we'd have to assume both I-TLB

Re: [Xen-devel] [PATCH V13 5/7] xen/arm: Instruction prefetch abort (X) mem_event handling

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 15:32 +0100, Tamas K Lengyel wrote: +register_t gva = READ_SYSREG(FAR_EL2); So I have a question here. The following call to gva_to_ipa will use the MMU to translate the gva as if it was a data-read access. However, we got here because of an

Re: [Xen-devel] [Patch V2 1/2] xen: prepare p2m list for memory hotplug

2015-03-23 Thread David Vrabel
On 23/03/15 14:29, Juergen Gross wrote: On 03/23/2015 01:46 PM, David Vrabel wrote: On 20/03/15 12:55, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced a regression regarding to memory hotplug for a

[Xen-devel] Xen 4.4.2 released

2015-03-23 Thread Jan Beulich
All, I am pleased to announce the release of Xen 4.4.2. This is available immediately from its git repository http://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.4 (tag RELEASE-4.4.2) or from the XenProject download page

Re: [Xen-devel] [Patch V2 0/2] xen: fix regressions regarding memory hotplug in pv domains

2015-03-23 Thread David Vrabel
On 20/03/15 12:55, Juergen Gross wrote: Fix some regressions introduced in 3.16 and 3.19. Applied to stable/for-linus-4.0 and tagged for stable, thanks. David ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 14:38 +, George Dunlap wrote: On Mon, Mar 23, 2015 at 2:30 PM, Jan Beulich jbeul...@suse.com wrote: On 23.03.15 at 13:42, julien.gr...@linaro.org wrote: It would be nice to at least build test it ARM/ARM64 before pushing patches which modify common code. I try

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Julien Grall
On 23/03/15 14:38, George Dunlap wrote: On Mon, Mar 23, 2015 at 2:30 PM, Jan Beulich jbeul...@suse.com wrote: On 23.03.15 at 13:42, julien.gr...@linaro.org wrote: It would be nice to at least build test it ARM/ARM64 before pushing patches which modify common code. I try to remember that, but

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Julien Grall
Hi, On 23/03/15 13:47, Boris Ostrovsky wrote: On 03/23/2015 08:42 AM, Julien Grall wrote: On 19/03/15 21:53, Boris Ostrovsky wrote: A few patches that add interface for querying hypervisor about device topology and allow 'xl info -n' display this information if PXM object is provided by

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Jan Beulich
On 23.03.15 at 14:47, boris.ostrov...@oracle.com wrote: How about this (only x86 compile-tested). And perhaps, while at it, fix types for cpu_core_id and phys_proc_id. diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index c73dfc9..b319be7 100644 --- a/xen/common/sysctl.c +++

Re: [Xen-devel] [PATCH 4/5] hvmloader: add knob for fixed SMBIOS date string

2015-03-23 Thread Jan Beulich
On 20.03.15 at 18:24, o...@aepfle.de wrote: To allow reproducible builds of hvmloader introduce a make variable SMBIOS_REL_DATE=mm/dd/ to provide a fixed date string. Without this change the hvmloader binary changes with every rebuild. I don't really object to this change, but didn't we

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Monday, March 23, 2015 5:08 PM To: Wu, Feng Cc: Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir Fraser (k...@xen.org) Subject: RE: (v2) VT-d Posted-interrupt (PI) design for XEN On 23.03.15 at

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread George Dunlap
On Mon, Mar 23, 2015 at 1:47 PM, Boris Ostrovsky boris.ostrov...@oracle.com wrote: On 03/23/2015 08:42 AM, Julien Grall wrote: Hi, On 19/03/15 21:53, Boris Ostrovsky wrote: A few patches that add interface for querying hypervisor about device topology and allow 'xl info -n' display this

Re: [Xen-devel] [Patch V2 1/2] xen: prepare p2m list for memory hotplug

2015-03-23 Thread Juergen Gross
On 03/23/2015 01:46 PM, David Vrabel wrote: On 20/03/15 12:55, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Jan Beulich
On 23.03.15 at 13:42, julien.gr...@linaro.org wrote: It would be nice to at least build test it ARM/ARM64 before pushing patches which modify common code. I try to remember that, but do not always succeed. Really I'd expect people to not even submit such patches. Jan

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Boris Ostrovsky
On 03/23/2015 10:30 AM, George Dunlap wrote: On Mon, Mar 23, 2015 at 1:47 PM, Boris Ostrovsky boris.ostrov...@oracle.com wrote: I unfortunately have no ability to build on ARM (but I should have realized that APICID has no meaning there). Does gcc have a tolerable cross-compiler for ARM?

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread George Dunlap
On Mon, Mar 23, 2015 at 2:30 PM, Jan Beulich jbeul...@suse.com wrote: On 23.03.15 at 13:42, julien.gr...@linaro.org wrote: It would be nice to at least build test it ARM/ARM64 before pushing patches which modify common code. I try to remember that, but do not always succeed. Really I'd expect

Re: [Xen-devel] [PATCH V13 5/7] xen/arm: Instruction prefetch abort (X) mem_event handling

2015-03-23 Thread Tamas K Lengyel
On Fri, Mar 6, 2015 at 10:24 PM, Tamas K Lengyel tkleng...@sec.in.tum.de wrote: Add missing structure definition for iabt and update the trap handling mechanism to only inject the exception if the mem_access checker decides to do so. Signed-off-by: Tamas K Lengyel tkleng...@sec.in.tum.de

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 14:30 +, George Dunlap wrote: Does gcc have a tolerable cross-compiler for ARM? Particularly just for building the hypervisor. The resulting code doesn't need to be that great, it just needs to catch this sort of thing. It's pretty easy for the hypervisor using

[Xen-devel] [PATCH v2] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-23 Thread Robbie VanVossen
If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_domain. In arm_smmu_assign_dev, before a new iommu_domain is created, the xen_domain-contexts is checked for any iommu_domains that are already assigned to device

Re: [Xen-devel] [PATCH v5 5/8] sysctl: Add sysctl interface for querying PCI topology

2015-03-23 Thread Boris Ostrovsky
On 03/23/2015 04:15 AM, Jan Beulich wrote: On 20.03.15 at 21:01, boris.ostrov...@oracle.com wrote: On 03/20/2015 12:26 PM, Jan Beulich wrote: On 19.03.15 at 22:54, boris.ostrov...@oracle.com wrote: --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -399,6 +399,67 @@ long

[Xen-devel] [PATCH 1/1] hvm.c: Prevent gcc uninitialised var warning

2015-03-23 Thread Don Slutz
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 reports: -- hvm.c: In function `hvm_create_ioreq_server': hvm.c:487:18: error: `bufioreq_pfn' may be used uninitialised in this function [-Werror=uninitialized] hvm.c:718:30: note:

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Boris Ostrovsky
On 03/23/2015 08:42 AM, Julien Grall wrote: Hi, On 19/03/15 21:53, Boris Ostrovsky wrote: A few patches that add interface for querying hypervisor about device topology and allow 'xl info -n' display this information if PXM object is provided by ACPI. This series also makes some optimizations

Re: [Xen-devel] [PATCH v5 0/8] Display IO topology when PXM data is available (plus some cleanup)

2015-03-23 Thread Boris Ostrovsky
On 03/23/2015 11:27 AM, Jan Beulich wrote: On 23.03.15 at 14:47, boris.ostrov...@oracle.com wrote: How about this (only x86 compile-tested). And perhaps, while at it, fix types for cpu_core_id and phys_proc_id. diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index c73dfc9..b319be7

[Xen-devel] [rumpuserxen test] 36643: regressions - FAIL

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

Re: [Xen-devel] [PATCH V13 5/7] xen/arm: Instruction prefetch abort (X) mem_event handling

2015-03-23 Thread Tamas K Lengyel
On Mon, Mar 23, 2015 at 4:18 PM, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-03-23 at 15:15 +, Ian Campbell wrote: _But_ I suppose you are not really worried about the guest doing a PT update, but rather xenaccess playing games with the stage 2 behind the guest's back,

[Xen-devel] [PATCH] x86: support newer Intel CPU models

2015-03-23 Thread Jan Beulich
This just follows what the January 2015 edition of the SDM documents, with additional clarification from Intel: - Broadwell models 0x4f and 0x56 don't cross-reference other tables, but should be treated like other Boradwell (0x3d), - Xeon Phi model 0x57 lists LASTBRANCH_TOS but not where the

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-03-23 Thread Julien Grall
Hello, Second part of the review. On 19/03/15 14:38, vijay.kil...@gmail.com wrote: +static int vgic_its_build_sync_cmd(struct vcpu *v, + struct vgic_its *vits, + struct its_cmd_block *virt_cmd, +

[Xen-devel] [qemu-upstream-unstable test] 36559: regressions - trouble: broken/fail/pass

2015-03-23 Thread xen . org
flight 36559 qemu-upstream-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36559/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-winxpsp3 7 windows-install fail REGR. vs. 33488 Tests

Re: [Xen-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-23 Thread Stefan Berger
On 03/22/2015 09:47 PM, Xu, Quan wrote: -Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Friday, March 20, 2015 7:44 PM To: Ian Campbell; Xu, Quan Cc: ke...@koconnor.net; xen-devel@lists.xen.org; qemu-de...@nongnu.org; stefano.stabell...@eu.citrix.com

Re: [Xen-devel] [PATCH] libxl: fix dom0 balloon logic

2015-03-23 Thread Ian Campbell
(just ccing the other tools maintainers, in particular Stefano who knows what this stuff is supposed to do...) On Fri, 2015-03-20 at 17:10 -0600, Jim Fehlig wrote: Recent testing on large memory systems revealed a bug in the Xen xl tool's freemem() function. When autoballooning is enabled,

Re: [Xen-devel] [PATCH 1/5] tools/mkrpm: improve version.release handling

2015-03-23 Thread George Dunlap
On 03/20/2015 05:24 PM, Olaf Hering wrote: An increasing version and/or release number helps to update existing packages without --force as in rpm Uvh --force xen.rpm. Instead its possible to do rpm -Fvh *.rpm to update only already installed packages. The usage of --force disables

[Xen-devel] [PATCH] libsepol: Fix building Xen policy with devicetreecon

2015-03-23 Thread Richard Haines
Problems fixed: 1) Fix core dump when building CIL policy (corrupted double-linked list) by Steve Lawrence slawre...@tresys.com 2) Binary policy failed to read with devicetreecon statement. 3) Free path name - With a Xen policy running secilc/valgrind there are no memory errors. Also added

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

2015-03-23 Thread Vijay Kilari
On Mon, Mar 23, 2015 at 9:00 PM, Julien Grall julien.gr...@linaro.org wrote: On 23/03/15 15:18, Vijay Kilari wrote: The ITS still have to manage in someway the device. There is lots of information that doesn't need to be created at every mapd (such as the number of MSI). First assumption is

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 16:20 +, Pang, LongtaoX wrote: The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change but you haven't. For this question, I have sent a mail about it.(2015-03-04) After finishing L1 guest VM

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Wei Liu
On Mon, Mar 23, 2015 at 04:45:55PM +, Ian Campbell wrote: On Mon, 2015-03-23 at 16:20 +, Pang, LongtaoX wrote: The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change but you haven't. For this question, I have

Re: [Xen-devel] [PATCH 2/2] x86/vMSI-X: add valid bits for read acceleration

2015-03-23 Thread Konrad Rzeszutek Wilk
On Fri, Mar 20, 2015 at 04:27:57PM +, Jan Beulich wrote: Again because Xen doesn't get to see all guest writes, it shouldn't serve reads from its cache before having seen a write to the respective address. Signed-off-by: Jan Beulich jbeul...@suse.com Reviewed-by: Konrad Rzeszutek Wilk

Re: [Xen-devel] [PATCH 1/2] x86/vMSI-X: honor all mask requests

2015-03-23 Thread Konrad Rzeszutek Wilk
On Fri, Mar 20, 2015 at 04:27:29PM +, Jan Beulich wrote: Commit 74fd0036de (x86: properly handle MSI-X unmask operation from guests) didn't go far enough: it fixed an issue with unmasking, but left an issue with masking in place: Due to the (late) point in time when qemu requests the

[Xen-devel] [PATCH 1/2] pci: Include asm/numa.h in pci.h

2015-03-23 Thread Boris Ostrovsky
Commit 4fa6b0bacf9c (pci: stash device's PXM information in struct pci_dev) added node field to xen/include/xen/pci.h. Its type, nodeid_t, is defined in asm/numa.h and we should include this file explicitly in pci.h Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com Reported-by: Julien

[Xen-devel] [PATCH 0/2] A couple of regression fixes on ARM

2015-03-23 Thread Boris Ostrovsky
These two patches fix ARM regressions reported by Julien. -boris Boris Ostrovsky (2): pci: Include asm/numa.h in pci.h x86: Don't use BAD_APICID for non-APICID fields xen/arch/x86/cpu/common.c |6 +++--- xen/arch/x86/smpboot.c |6 +++--- xen/common/sched_credit2.c

[Xen-devel] [PATCH 2/2] x86: Don't use BAD_APICID for non-APICID fields

2015-03-23 Thread Boris Ostrovsky
BAD_APICID is used by cpuinfo_x86's phys_proc_id, cpu_core_id and compute_unit_id even though these fields don't hold an APIC ID itself but rather its derivative. Provide appropriate macros for each of those three (and make them unsigned). This also fixes regression introduced by commit

[Xen-devel] [xen-4.3-testing test] 36581: regressions - FAIL

2015-03-23 Thread xen . org
flight 36581 xen-4.3-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36581/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 17 guest-migrate/src_host/dst_host fail REGR. vs. 36483

Re: [Xen-devel] [PATCH] hvmloader: don't treat ROM BAR like other BARs

2015-03-23 Thread Konrad Rzeszutek Wilk
On Fri, Mar 20, 2015 at 03:20:16PM +, Jan Beulich wrote: Its low 11 bits have different meaning. Signed-off-by: Jan Beulich jbeul...@suse.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- a/tools/firmware/hvmloader/pci.c +++ b/tools/firmware/hvmloader/pci.c @@ -179,18

Re: [Xen-devel] [Qemu-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-23 Thread Stefan Berger
On 03/23/2015 08:03 AM, Xu, Quan wrote: -Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Monday, March 23, 2015 6:57 PM To: Xu, Quan; Ian Campbell Cc: ke...@koconnor.net; xen-devel@lists.xen.org; qemu-de...@nongnu.org; stefano.stabell...@eu.citrix.com

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Jan Beulich
On 23.03.15 at 09:14, feng...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, March 19, 2015 5:57 PM On 18.03.15 at 13:44, feng...@intel.com wrote: Here are what we do for the blocked vCPU: 1. Define a per-cpu list 'blocked_vcpu_on_cpu', which stored the

Re: [Xen-devel] [PATCH v2 4/7] x86: add support for COS/CBM manangement

2015-03-23 Thread Chao Peng
On Fri, Mar 20, 2015 at 05:13:44PM +, Jan Beulich wrote: On 19.03.15 at 11:41, chao.p.p...@linux.intel.com wrote: +static unsigned int get_socket_cpu(unsigned int socket) +{ +unsigned int cpu; + +for_each_online_cpu ( cpu ) + if ( cpu_to_socket(cpu) == socket ) +

Re: [Xen-devel] [PATCH v2 1/7] x86: clean up psr boot parameter parsing

2015-03-23 Thread Jan Beulich
On 23.03.15 at 09:32, chao.p.p...@linux.intel.com wrote: On Fri, Mar 20, 2015 at 04:47:27PM +, Jan Beulich wrote: On 19.03.15 at 11:41, chao.p.p...@linux.intel.com wrote: +static void __init parse_psr_bool(char* s, char* value, char* feature, int bit) +{ +if ( !strcmp(s,

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-23 Thread Chao Peng
On Thu, Mar 19, 2015 at 01:35:34PM +, Jan Beulich wrote: On 19.03.15 at 13:44, dario.faggi...@citrix.com wrote: On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote: diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown index 63871cb..768c55f 100644

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Monday, March 23, 2015 4:26 PM To: Wu, Feng Cc: Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir Fraser (k...@xen.org) Subject: RE: (v2) VT-d Posted-interrupt (PI) design for XEN On 23.03.15 at

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 06:31 +, Hu, Robert wrote: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: Friday, March 20, 2015 8:20 PM To: Pang, LongtaoX Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; Hu, Robert Subject:

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, March 19, 2015 5:57 PM To: Wu, Feng Cc: Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir Fraser (k...@xen.org) Subject: Re: (v2) VT-d Posted-interrupt (PI) design for XEN On 18.03.15 at

Re: [Xen-devel] [PATCH v5 5/8] sysctl: Add sysctl interface for querying PCI topology

2015-03-23 Thread Jan Beulich
On 20.03.15 at 21:01, boris.ostrov...@oracle.com wrote: On 03/20/2015 12:26 PM, Jan Beulich wrote: On 19.03.15 at 22:54, boris.ostrov...@oracle.com wrote: --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -399,6 +399,67 @@ long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl)

[Xen-devel] Xen unstability on HP Moonshot m400

2015-03-23 Thread Christoffer Dall
Hi, I have been experiencing a problematic crash running Xen on m400 over the last few days. I already spoke to Ian and Stefano about this, but thought I'd summarize what I've seen so far and loop in a wider audience. The basic setup is this: - Two m400 nodes, one running Linux bare-metal, the

Re: [Xen-devel] [PATCH v1 21/47] ethernet: myri10ge: use arch_phys_wc_add()

2015-03-23 Thread Hyong-Youb Kim
On Fri, Mar 20, 2015 at 04:18:11PM -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com This driver already uses ioremap_wc() on the same range so when write-combining is available that will be used instead. [...] --- a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c

Re: [Xen-devel] [PATCH 4/5] hvmloader: add knob for fixed SMBIOS date string

2015-03-23 Thread Olaf Hering
On Mon, Mar 23, Jan Beulich wrote: On 20.03.15 at 18:24, o...@aepfle.de wrote: To allow reproducible builds of hvmloader introduce a make variable SMBIOS_REL_DATE=mm/dd/ to provide a fixed date string. Without this change the hvmloader binary changes with every rebuild. I don't

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Wu, Feng
-Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Friday, March 20, 2015 3:12 AM To: Wu, Feng Cc: xen-devel@lists.xen.org; Zhang, Yang Z; Tian, Kevin; Keir Fraser (k...@xen.org); Jan Beulich (jbeul...@suse.com) Subject: Re: [Xen-devel] (v2) VT-d

Re: [Xen-devel] [PATCH v2 1/7] x86: clean up psr boot parameter parsing

2015-03-23 Thread Chao Peng
On Fri, Mar 20, 2015 at 04:47:27PM +, Jan Beulich wrote: On 19.03.15 at 11:41, chao.p.p...@linux.intel.com wrote: +static void __init parse_psr_bool(char* s, char* value, char* feature, int bit) +{ +if ( !strcmp(s, feature) ) +{ +if ( !value ) +

Re: [Xen-devel] [PATCH v2] x86/EFI: allow reboot= overrides when running under EFI

2015-03-23 Thread Ross Lagerwall
On 03/12/2015 04:32 PM, Jan Beulich wrote: By default we will always use EFI reboot mechanism when running under EFI platforms. However some EFI platforms are buggy and need to use the ACPI mechanism to reboot (such as Lenovo ThinkCentre M57). As such respect the 'reboot=' override and DMI

[Xen-devel] hvm live migration

2015-03-23 Thread 傻X_廖廖liaoliao
Running a HVM guest over xen (Xen = 4.2.1), there will be network outage during live migration. similar to BUG: https://bugzilla.redhat.com/show_bug.cgi?id=719294 ,testing with ping, usually 16 packets lost . I also send the RARP after migration, but it hasn't any effect.How can I solve this

Re: [Xen-devel] [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO hole work around

2015-03-23 Thread Ville Syrjälä
On Fri, Mar 20, 2015 at 04:17:59PM -0700, Luis R. Rodriguez wrote: diff --git a/drivers/video/fbdev/aty/atyfb_base.c b/drivers/video/fbdev/aty/atyfb_base.c index 8025624..8875e56 100644 --- a/drivers/video/fbdev/aty/atyfb_base.c +++ b/drivers/video/fbdev/aty/atyfb_base.c @@ -2630,21

Re: [Xen-devel] random in xen code

2015-03-23 Thread Jan Beulich
On 22.03.15 at 13:03, issa.hannasy...@enseeiht.fr wrote: Is it possible to generate a random number in xen source code? Before asking, please invest at least minimal effort in finding out answers to questions yourself: Did it occur to you to grep the sources (or even just the file names) for

Re: [Xen-devel] [PATCH v2 4/7] x86: add support for COS/CBM manangement

2015-03-23 Thread Jan Beulich
On 23.03.15 at 09:47, chao.p.p...@linux.intel.com wrote: On Fri, Mar 20, 2015 at 05:13:44PM +, Jan Beulich wrote: On 19.03.15 at 11:41, chao.p.p...@linux.intel.com wrote: +static unsigned int get_socket_cpu(unsigned int socket) +{ +unsigned int cpu; + +for_each_online_cpu

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-23 Thread Jan Beulich
On 23.03.15 at 09:49, feng...@intel.com wrote: -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Monday, March 23, 2015 4:26 PM To: Wu, Feng Cc: Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir Fraser (k...@xen.org) Subject: RE: (v2) VT-d

Re: [Xen-devel] random in xen code

2015-03-23 Thread Ian Campbell
On Sun, 2015-03-22 at 13:03 +0100, HANNAS YAYA Issa wrote: Hello Is it possible to generate a random number in xen source code? Please see http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions. Ian. ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v2] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-23 Thread Julien Grall
Hello Robert, On 23/03/2015 13:46, Robbie VanVossen wrote: If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_domain. In arm_smmu_assign_dev, before a new iommu_domain is created, the xen_domain-contexts is

Re: [Xen-devel] [PATCH 0/2] A couple of regression fixes on ARM

2015-03-23 Thread Julien Grall
Hi Boris, On 23/03/2015 19:54, Boris Ostrovsky wrote: These two patches fix ARM regressions reported by Julien. Thank you for the 2 fixes: Tested-by: Julien Grall julien.gr...@linaro.org Regards, -- Julien Grall ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v2] x86/EFI: allow reboot= overrides when running under EFI

2015-03-23 Thread Ross Lagerwall
On 03/23/2015 01:13 PM, Konrad Rzeszutek Wilk wrote: On Mon, Mar 23, 2015 at 09:21:14AM +, Ross Lagerwall wrote: On 03/12/2015 04:32 PM, Jan Beulich wrote: By default we will always use EFI reboot mechanism when running under EFI platforms. However some EFI platforms are buggy and need to

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Pang, LongtaoX
The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change but you haven't. For this question, I have sent a mail about it.(2015-03-04) After finishing L1 guest VM installation, we need to change L1 guest boot sequence from ISO

Re: [Xen-devel] [PATCH] libsepol: Fix building Xen policy with devicetreecon

2015-03-23 Thread Steve Lawrence
On 03/23/2015 11:58 AM, Richard Haines wrote: Problems fixed: 1) Fix core dump when building CIL policy (corrupted double-linked list) by Steve Lawrence slawre...@tresys.com 2) Binary policy failed to read with devicetreecon statement. 3) Free path name - With a Xen policy running

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 17:19 +, Wei Liu wrote: On Mon, Mar 23, 2015 at 04:20:08PM +, Pang, LongtaoX wrote: The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change but you haven't. For this question, I have sent a

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Wei Liu
On Mon, Mar 23, 2015 at 04:20:08PM +, Pang, LongtaoX wrote: The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change but you haven't. For this question, I have sent a mail about it.(2015-03-04) After finishing L1 guest

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

2015-03-23 Thread Julien Grall
On 23/03/15 16:09, Vijay Kilari wrote: On Mon, Mar 23, 2015 at 9:00 PM, Julien Grall julien.gr...@linaro.org wrote: On 23/03/15 15:18, Vijay Kilari wrote: The ITS still have to manage in someway the device. There is lots of information that doesn't need to be created at every mapd (such as the

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

2015-03-23 Thread xen . org
flight 36569 linux-linus real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36569/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 3 host-install(3) broken REGR. vs. 35883

Re: [Xen-devel] [PATCH v1 05/47] pci: add pci_iomap_wc() variants

2015-03-23 Thread Bjorn Helgaas
Hi Luis, This seems OK to me, but I'm curious about a few things. On Fri, Mar 20, 2015 at 6:17 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: From: Luis R. Rodriguez mcg...@suse.com This allows drivers to take advantage of write-combining when possible. Ideally we'd have

Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs

2015-03-23 Thread Ian Campbell
On Mon, 2015-03-23 at 17:29 +, Wei Liu wrote: On Mon, Mar 23, 2015 at 04:45:55PM +, Ian Campbell wrote: On Mon, 2015-03-23 at 16:20 +, Pang, LongtaoX wrote: The editconfig_cd thing -- yet another thing which Ian questioned and which it was agreed you would change

Re: [Xen-devel] [PATCH 1/5] tools/mkrpm: improve version.release handling

2015-03-23 Thread Olaf Hering
On Mon, Mar 23, George Dunlap wrote: I'm not really happy with having the massive number show up automatically when anyone makes an rpm. What would you think about adding a variable where you could set this as part of the build process? e.g., XEN_RPM_RELEASE=$(date +%Y%m%d%H%M%S) make

Re: [Xen-devel] [PATCH 1/5] tools/mkrpm: improve version.release handling

2015-03-23 Thread George Dunlap
On Mon, Mar 23, 2015 at 5:52 PM, Olaf Hering o...@aepfle.de wrote: On Mon, Mar 23, George Dunlap wrote: xen-4.6_unstable-20150323160547.x86_64.rpm Do you want to continue to get unstable as release? My patch uses everything passed as $2 as Version string. I think thats ok. I think unstable

[Xen-devel] [PATCH v3 7/7] libxl/vcpu-set - allow to decrease vcpu count on overcommitted guests (v3)

2015-03-23 Thread Konrad Rzeszutek Wilk
We have a check to warn the user if they are overcommitting. But the check only checks the hosts CPU amount and does not take into account the case when the user is trying to fix the overcommit. That is - they want to limit the amount of online VCPUs. This fix allows the user to offline vCPUs

[Xen-devel] [PATCH v3 6/7] libxl/vcpuset: Remove useless limit on max_vcpus.

2015-03-23 Thread Konrad Rzeszutek Wilk
The check is superflous. If the 'max_vcpus' (argument value) is greater than pCPU and --ignore-host has not been supplied we would print an warning and return and not call this code. If the --ignore-host parameter had been used we would never end up in this condition and enforce 'max_vcpus'.

[Xen-devel] [PATCH v3 5/7] libxl/vcpuset: Return error value if failed.

2015-03-23 Thread Konrad Rzeszutek Wilk
The function does not return any values at all. Convert the internal libxl errors (ERROR_FAIL, ..., etc) to -1. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- tools/libxl/xl_cmdimpl.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

Re: [Xen-devel] [PATCH 1/5] tools/mkrpm: improve version.release handling

2015-03-23 Thread Olaf Hering
On Mon, Mar 23, George Dunlap wrote: xen-4.6_unstable-20150323160547.x86_64.rpm Do you want to continue to get unstable as release? My patch uses everything passed as $2 as Version string. I think thats ok. Release will be either 0 or $PKG_DATE. Olaf

  1   2   >