Re: [Xen-devel] [PATCH V15 5/9] xen: Make gpfn related memops compatible with wider return values

2015-04-27 Thread Jan Beulich
Julien Grall julien.gr...@citrix.com 04/25/15 10:37 PM On 21/04/2015 20:13, Jan Beulich wrote: For this specific one - is there a reasonable use case? Other than for host PFN, we have control over guest ones, and I'm not sure managing a guest with GPFNs extending past 4 billion can be

Re: [Xen-devel] [PATCH] xen: Suspend ticks on all CPUs during suspend

2015-04-27 Thread David Vrabel
On 08/04/15 19:53, Boris Ostrovsky wrote: Commit 77e32c89a711 (clockevents: Manage device's state separately for the core) decouples clockevent device's modes from states. With this change when a Xen guest tries to resume, it won't be calling its set_mode op which needs to be done on each VCPU

Re: [Xen-devel] [PATCH V15 5/9] xen: Make gpfn related memops compatible with wider return values

2015-04-27 Thread Julien Grall
Hi Jan, On 27/04/2015 08:02, Jan Beulich wrote: Julien Grall julien.gr...@citrix.com 04/25/15 10:37 PM On 21/04/2015 20:13, Jan Beulich wrote: For this specific one - is there a reasonable use case? Other than for host PFN, we have control over guest ones, and I'm not sure managing a guest

[Xen-devel] [RFC 0/2] Cap SMMU s2 input-size based on p2m tables

2015-04-27 Thread Edgar E. Iglesias
From: Edgar E. Iglesias edgar.igles...@xilinx.com Hi, This is a first try at fixing the issue I'm seeing on ZynqMP with missmatched setup of the SMMU and the shared page-tables with p2m. I've only handled the case of having an SMMU that supports larger s2 input-sizes than what p2m wants to use.

[Xen-devel] [RFC 2/2] xen/iommu: smmu: Use the p2m IPA size as S2 input-size

2015-04-27 Thread Edgar E. Iglesias
From: Edgar E. Iglesias edgar.igles...@xilinx.com Because we share the p2m tables between SMMU and CPUs, we need to make sure the SMMU is configured to use the same S2 input-size as the CPU. Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com --- xen/drivers/passthrough/arm/smmu.c | 17

[Xen-devel] [RFC 1/2] xen/arm: Save and expose the p2m IPA address size

2015-04-27 Thread Edgar E. Iglesias
From: Edgar E. Iglesias edgar.igles...@xilinx.com Save and expose the p2m IPA address size to arch specific code. This is primarily needed to setup SMMUs as these share p2m tables with guest CPUs. Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com --- xen/arch/arm/p2m.c| 7

Re: [Xen-devel] [OSSTEST Nested PATCH v8 3/7] Edit some APIs in TestSupport.pm for nested test

2015-04-27 Thread Robert Hu
On Thu, 2015-04-23 at 00:34 +, Hu, Robert wrote: -Original Message- From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] Sent: Wednesday, April 22, 2015 8:50 PM To: Ian Campbell Cc: Pang, LongtaoX; xen-devel@lists.xen.org; wei.l...@citrix.com; Hu, Robert Subject: Re:

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

2015-04-27 Thread osstest service user
flight 52624 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/52624/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt5 libvirt-build fail REGR. vs. 50391 build-i386-pvops

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

2015-04-27 Thread osstest service user
flight 52622 xen-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/52622/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-pvops 5 kernel-build fail REGR. vs. 36755

Re: [Xen-devel] xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot

2015-04-27 Thread Boris Ostrovsky
On 04/27/2015 04:15 PM, Boris Ostrovsky wrote: On 04/27/2015 11:40 AM, Sander Eikelenboom wrote: Monday, April 27, 2015, 4:55:06 PM, you wrote: Hi David / Konrad, Today i tried upgrading my dom0 kernel to 4.1-rc1, but it stalls in early boot. Xen console was still reponsive so i dumped some

Re: [Xen-devel] xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot

2015-04-27 Thread Boris Ostrovsky
On 04/27/2015 11:40 AM, Sander Eikelenboom wrote: Monday, April 27, 2015, 4:55:06 PM, you wrote: Hi David / Konrad, Today i tried upgrading my dom0 kernel to 4.1-rc1, but it stalls in early boot. Xen console was still reponsive so i dumped some info with the debug keys. Serial log is attached.

Re: [Xen-devel] [PATCH V2] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

2015-04-27 Thread Pranavkumar Sawargaonkar
Hi Julien, On 25 April 2015 at 21:48, Julien Grall julien.gr...@citrix.com wrote: Hi Pranav, On 24/04/2015 15:46, Pranavkumar Sawargaonkar wrote: In old X-Gene Storm firmware and DT, secure mode addresses have been mentioned in GICv2 node. In this case maintenance interrupt is used instead

Re: [Xen-devel] [v3 01/10] vmx: add new boot parameter to control PML enabling

2015-04-27 Thread Jan Beulich
Kai Huang kaih.li...@gmail.com 04/25/15 5:00 PM On Fri, Apr 24, 2015 at 10:33 PM, Jan Beulich jbeul...@suse.com wrote: On 24.04.15 at 10:19, kai.hu...@linux.intel.com wrote: +} + +custom_param(ept, parse_ept_param); And a superfluous blank line would want to be dropped here. Sure. Will do

[Xen-devel] [PATCH 3/7] xenalyze: include odd mmio states in default output

2015-04-27 Thread Olaf Hering
Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com --- tools/misc/xenalyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Xen-devel] [PATCH 7/7] xenalyze: remove traling whitespaces

2015-04-27 Thread Olaf Hering
Result of sed -i 's@[[:blank:]]\+$@@' tools/misc/xenalyze.c Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com ---

[Xen-devel] [PATCH 6/7] xenalyze: handle more events in sched_process

2015-04-27 Thread Olaf Hering
Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com --- tools/misc/xenalyze.c | 73 ++-

[Xen-devel] [PATCH 5/7] xenalyze: disable sched_switch_process

2015-04-27 Thread Olaf Hering
It causes a crash, dump data and return early Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com --- tools/misc/xenalyze.c | 4 1

[Xen-devel] [PATCH 4/7] xenalyze: handle TRC_TRACE_WRAP_BUFFER

2015-04-27 Thread Olaf Hering
Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com --- tools/misc/xenalyze.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[Xen-devel] [PATCH 0/7] add xenalyze to staging

2015-04-27 Thread Olaf Hering
Having xenalyze in the source tree makes it much easier to keep private debug code in hypervisor and xenalyze in sync. It helped alot while debugging the root cause for commit 607e8494c42397fb249191904066cace6ac9a880. Olaf Olaf Hering (7): xenalyze: add to tools/misc xenalyze: print newline

[Xen-devel] [PATCH 2/7] xenalyze: print newline after unknown hvm events

2015-04-27 Thread Olaf Hering
Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com --- tools/misc/xenalyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Xen-devel] [PATCH 1/7] xenalyze: add to tools/misc

2015-04-27 Thread David Vrabel
On 27/04/15 14:22, Olaf Hering wrote: This merges xenalyze.hg, changeset 150:24308507be1d into tools/misc to have the tool and public/trace.h in one place. Would this not be better in tools/xentrace/xenalyze ? David ___ Xen-devel mailing list

[Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Julien Grall
The commit 569fb6c xen/arm: Data abort exception (R/W) mem_access events makes apply_p2m_changes to call hypercall_preempt_check for any operation rather than for relinquish. The function hypercall_preempt_check call local_events_need_delivery which rely on the current VCPU is not an idle VCPU.

[Xen-devel] [PATCH] xen/arm: p2m: Add an ASSERT to check that p2m lock is taken in __p2m_lookup

2015-04-27 Thread Julien Grall
__p2m_lookup should be called with the p2m lock taken. Add an ASSERT in order to catch wrong caller in debug build. Signed-off-by: Julien Grall julien.gr...@citrix.com --- xen/arch/arm/p2m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index

Re: [Xen-devel] xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot

2015-04-27 Thread Sander Eikelenboom
[0-7]: WB WT UC- UC WC WP UC UC [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Initializing cgroup subsys cpuacct [0.00] Linux version 4.1.0-rc1-20150427+ (root@serveerstertje) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP

Re: [Xen-devel] [PATCH] xen: Suspend ticks on all CPUs during suspend

2015-04-27 Thread Boris Ostrovsky
On 04/27/2015 06:33 AM, David Vrabel wrote: On 08/04/15 19:53, Boris Ostrovsky wrote: Commit 77e32c89a711 (clockevents: Manage device's state separately for the core) decouples clockevent device's modes from states. With this change when a Xen guest tries to resume, it won't be calling its

[Xen-devel] xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot

2015-04-27 Thread Sander Eikelenboom
Hi David / Konrad, Today i tried upgrading my dom0 kernel to 4.1-rc1, but it stalls in early boot. Xen console was still reponsive so i dumped some info with the debug keys. Serial log is attached. The kernel boots fine on baremetal and my previous test kernel that was pulled and compiled on

[Xen-devel] [PATCH v4 1/2] iommu VT-d: separate rmrr addition function

2015-04-27 Thread elena . ufimtseva
From: Elena Ufimtseva elena.ufimts...@oracle.com In preparation for auxiliary RMRR data provided on Xen command line, make RMRR adding a separate function. No functional changes. Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Acked-by: Kevin Tian kevin.t...@intel.com Signed-off-by:

[Xen-devel] [PATCH v4 2/2] iommu: add rmrr Xen command line option for misc rmrrs

2015-04-27 Thread elena . ufimtseva
From: Elena Ufimtseva elena.ufimts...@oracle.com On some platforms RMRR regions may be not specified in ACPI and thus will not be mapped 1:1 in dom0. This causes IO Page Faults and prevents dom0 from booting in PVH mode. New Xen command line option rmrr allows to specify such devices and memory

[Xen-devel] [PATCH v4 0/2] iommu: add rmrr Xen command line option

2015-04-27 Thread elena . ufimtseva
From: Elena Ufimtseva elena.ufimts...@oracle.com Add Xen command line option rmrr to specify RMRR regions for devices that are not defined in ACPI thus causing IO Page Fault while booting dom0 in PVH mode. These

Re: [Xen-devel] [PATCH 5/7] xenalyze: disable sched_switch_process

2015-04-27 Thread Wei Liu
On Mon, Apr 27, 2015 at 01:22:14PM +, Olaf Hering wrote: It causes a crash, dump data and return early Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell ian.campb...@citrix.com

Re: [Xen-devel] [PATCH 1/7] xenalyze: add to tools/misc

2015-04-27 Thread Wei Liu
On Mon, Apr 27, 2015 at 01:22:10PM +, Olaf Hering wrote: This merges xenalyze.hg, changeset 150:24308507be1d into tools/misc to have the tool and public/trace.h in one place. Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

Re: [Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Tamas K Lengyel
IMHO we should check if op==RELINQUISH || op==MEMACCESS before calling hypercall_preempt_check. That was a change I made - previously it was only called if the op was RELINQUISH and not the other way around. Tamas On Mon, Apr 27, 2015 at 4:39 PM, Julien Grall julien.gr...@citrix.com wrote: The

[Xen-devel] Xen-unstable + linux 4.1-mergewindow: problems with PV guest pci passthrough: pcifront pci-0: pciback not responding!!!

2015-04-27 Thread Sander Eikelenboom
Hi David / Konrad, Here the other problem i found, which is introduced somewhere in the 4.1 mergewindow: on 4.1.0-rc1 (with the one revert to get things booting) i get this in the PV Guest console: [0.517392] crc32c_combine: 8373 self tests passed [0.517608] pci_hotplug: PCI Hot Plug

Re: [Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Stefano Stabellini
On Mon, 27 Apr 2015, Julien Grall wrote: The commit 569fb6c xen/arm: Data abort exception (R/W) mem_access events makes apply_p2m_changes to call hypercall_preempt_check for any operation rather than for relinquish. The function hypercall_preempt_check call local_events_need_delivery which

Re: [Xen-devel] xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot

2015-04-27 Thread Sander Eikelenboom
Monday, April 27, 2015, 4:55:06 PM, you wrote: Hi David / Konrad, Today i tried upgrading my dom0 kernel to 4.1-rc1, but it stalls in early boot. Xen console was still reponsive so i dumped some info with the debug keys. Serial log is attached. The kernel boots fine on baremetal and my

Re: [Xen-devel] [PATCH v1 2/3] EFI/early: Add /map to map EfiBootServicesData and Code

2015-04-27 Thread Julien Grall
Hi Konrad, On 24/04/15 21:47, Konrad Rzeszutek Wilk wrote: To help on certain platforms to run. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- xen/arch/x86/efi/efi-boot.h | 10 -- xen/common/efi/boot.c | 28 +++- xen/common/efi/efi.h

Re: [Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Julien Grall
Hi Tamas, On 27/04/15 16:40, Tamas K Lengyel wrote: IMHO we should check if op==RELINQUISH || op==MEMACCESS before calling hypercall_preempt_check. That was a change I made - previously it was only called if the op was RELINQUISH and not the other way around. I though about it but it make the

Re: [Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Tamas K Lengyel
On Mon, Apr 27, 2015 at 6:13 PM, Julien Grall julien.gr...@citrix.com wrote: Hi Tamas, On 27/04/15 16:40, Tamas K Lengyel wrote: IMHO we should check if op==RELINQUISH || op==MEMACCESS before calling hypercall_preempt_check. That was a change I made - previously it was only called if the

Re: [Xen-devel] [PATCH] xen/arm: Make local_events_need_delivery working with idle VPCU

2015-04-27 Thread Julien Grall
Hi Stefano, On 27/04/15 16:36, Stefano Stabellini wrote: On Mon, 27 Apr 2015, Julien Grall wrote: The commit 569fb6c xen/arm: Data abort exception (R/W) mem_access events makes apply_p2m_changes to call hypercall_preempt_check for any operation rather than for relinquish. The function

[Xen-devel] [PATCH v2] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-04-27 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void.

Re: [Xen-devel] [PATCH] [media] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-04-27 Thread Luis R. Rodriguez
On Sat, Apr 25, 2015 at 07:12:05AM -0400, Andy Walls wrote: Hi Luis, Sorry for the late reply. Thank you for the patch! See my comments below: On Wed, 2015-04-22 at 12:33 -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR

Re: [Xen-devel] [PATCH] IB/ipath: use arch_phys_wc_add() and require PAT disabled

2015-04-27 Thread Luis R. Rodriguez
On Wed, Apr 22, 2015 at 12:26 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache()

Re: [Xen-devel] [RFC v1 00/15] Add VT-d Posted-Interrupts support

2015-04-27 Thread Jan Beulich
Wu, Feng feng...@intel.com 04/24/15 7:50 PM Ping.. I'm confused - I said it makes little sense to wait, i.e. go ahead posting v2 without waiting for me. Jan -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Monday, April 13, 2015 5:13 AM To: Wu, Feng Cc:

Re: [Xen-devel] [PATCH 1/7] xenalyze: add to tools/misc

2015-04-27 Thread Olaf Hering
On Mon, Apr 27, David Vrabel wrote: On 27/04/15 14:22, Olaf Hering wrote: This merges xenalyze.hg, changeset 150:24308507be1d into tools/misc to have the tool and public/trace.h in one place. Would this not be better in tools/xentrace/xenalyze ? Yes, I forgot that tools/xentrace/ exists.

Re: [Xen-devel] [PATCH 5/7] xenalyze: disable sched_switch_process

2015-04-27 Thread Olaf Hering
On Tue, Apr 28, Wei Liu wrote: On Mon, Apr 27, 2015 at 01:22:14PM +, Olaf Hering wrote: It causes a crash, dump data and return early This doesn't look right. You skip all things below. Yes, to avoid the crash when booted with tbuf_size=-1. When I noticed that I did not have the energy

[Xen-devel] [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI

2015-04-27 Thread Julien Grall
Currently, the GICv3 drivers is only able to send an SGI when the cpumask is provided. Although with the modes SGI_TARGET_OTHERS and SGI_TARGET_SELF, no cpumask is provided. Any usage of those modes will crash the hypersivor. Move the rename gicv3_send_sgi to gicv3_send_sgi_list and implement the

[Xen-devel] [xen-4.5-testing test] 52623: regressions - FAIL

2015-04-27 Thread osstest service user
flight 52623 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/52623/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 5 xen-build fail REGR. vs. 50408