Re: [Xen-devel] [PATCH] xen/arm: vgic-v3: Clean the emulation of IROUTER

2015-05-26 Thread Chen Baozi
On Mon, May 25, 2015 at 09:44:20PM +0100, Julien Grall wrote: The read emulation of the register IROUTER contains lots of uncessary code as irouter is already valid and doesn't need any processing before setting the value in a register. Also take the opportunity to factorize the code to find

Re: [Xen-devel] [PATCH Part2 v11 1/2] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-05-26 Thread Yijing Wang
Hi Konrad, sorry to bother you again, any comments for this patch ? Thanks! Yijing. On 2015/4/28 17:32, Yijing Wang wrote: 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

Re: [Xen-devel] [PATCH] PCI / ACPI: Do not set ACPI companions for host bridges with parents

2015-05-26 Thread Boris Ostrovsky
On 05/26/2015 08:07 PM, Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 10:32:03 AM Boris Ostrovsky wrote: On 05/25/2015 10:17 PM, Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 03:08:17 AM Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 01:42:16 AM Rafael J. Wysocki wrote: On

[Xen-devel] [qemu-mainline test] 57315: regressions - trouble: broken/fail/pass

2015-05-26 Thread osstest service user
flight 57315 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/57315/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 3 host-install(3) broken REGR. vs. 56831

Re: [Xen-devel] [PATCH v2 for Xen 4.6 1/4] xen: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-26 Thread Chong Li
On Tue, May 26, 2015 at 12:18 PM, Chong Li lichong...@gmail.com wrote: On Tue, May 26, 2015 at 4:08 AM, Jan Beulich jbeul...@suse.com wrote: On 26.05.15 at 02:05, lichong...@gmail.com wrote: Add two hypercalls(XEN_DOMCTL_SCHEDOP_getvcpuinfo/putvcpuinfo) to get/set a domain's per-VCPU

[Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Mazen Ezzeddine (Student)
Dear experts, I am running Xen 4.5 on the arndale 5250 by compiling u-boot, Xen, Linux kernel(3.18.3) and filesystem (ubuntu Trusty). Boot messages of Xen and kernel are fine  and Dom0 is booted. However, I see the below login message and can not login to Dom0. Please note that typed

Re: [Xen-devel] [OSSTEST Nested PATCH v10 6/9] Changes on test step of Debian hvm guest install

2015-05-26 Thread Pang, LongtaoX
-Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: Wednesday, May 20, 2015 9:56 PM To: Pang, LongtaoX Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; Hu, Robert Subject: Re: [OSSTEST Nested PATCH v10 6/9] Changes on test

Re: [Xen-devel] [RFC] xen/arm: Find automatically the gnttab region for DOM0

2015-05-26 Thread Julien Grall
Hi, On 22/05/2015 01:38, Julien Grall wrote: Currently, the grant table region is hardcoded per-platform. When a new board is coming up, we have to check the spec in order to find a space in the memory layout free. Depending on the platform it may be tedious. A good candidate for the gnttab

[Xen-devel] [OSSTEST Nested PATCH v11 5/7] Add new script to customize nested test configuration

2015-05-26 Thread longtao.pang
1. In this script, make some appropriate runvars which selecthost would recognise. 2. Prepare the configurations for installing L2 guest VM. 3. Create a lv disk in L0 and hot-attach it to L1; Inside L1, using this new added disk to create a VG which will be used for installing L2 guest.

[Xen-devel] [OSSTEST Nested PATCH v11 7/7] Add test job for nest test case

2015-05-26 Thread longtao.pang
1. This patch adds creation of the nested test job, when job creation procedure is invoked. 2. Set nested L1's vif model, nestedhvm feature, set specific disk size and memory size for nested test by make-flight. Signed-off-by: longtao.pang longtaox.p...@intel.com Acked-by: Ian Campbell

[Xen-devel] [OSSTEST Nested PATCH v11 2/7] Parsing grub which has 'submenu' primitive

2015-05-26 Thread longtao.pang
Now auto-gen kernel grub2 config file's boot menu entries can have 2-level hierarchy, containing 'submenu' primitive, which is comprised by several sub-menuentries. Xen boot entries are grouped into such kind of 'submenu' block. This patch adds setupboot_grub2() ability to handle such new grub.cfg

[Xen-devel] [OSSTEST Nested PATCH v11 0/7] Introduction of netsted HVM test job

2015-05-26 Thread longtao.pang
This patch set adds nested HVM test case for osstest. In this test case, a Xen hypervisor (L1) runs on top of another Xen hypervisor (L0). Upon L1 hypervisor, we will then create a nested guest (L2), and test if the Linux guest can then be installed and run well. About nested Xen

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

2015-05-26 Thread Julien Grall
Hi, On 20/05/2015 11:56, Ian Campbell wrote: On Wed, 2015-05-20 at 09:34 +, osstest service user wrote: flight 56759 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/56759/ Regressions :-( Tests which did not succeed and are blocking, including tests which could

Re: [Xen-devel] [PATCH OSSTEST v1 00/15] Initial support for ARM64

2015-05-26 Thread Ian Campbell
On Fri, 2015-05-22 at 13:29 +0100, Ian Campbell wrote: This has been tested on a Mustang board booting UEFI and build-* works with one (slightly major) exception: The Debian kernel does not currently reboot correctly on this system. This will likely require a kernel from backports in order

Re: [Xen-devel] [OSSTEST Nested PATCH v10 6/9] Changes on test step of Debian hvm guest install

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 08:53 +, Pang, LongtaoX wrote: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: Wednesday, May 20, 2015 9:56 PM To: Pang, LongtaoX Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; Hu,

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

2015-05-26 Thread osstest service user
flight 57271 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/57271/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 17 leak-check/check fail in 57242 REGR. vs. 56375 Tests which are

[Xen-devel] SG off on domU middle node drops packets

2015-05-26 Thread Lennart Schulte
Hi, I use a Xen domU with vanilla Linux 3.19 kernel as a middle node. SG is switched off via ethtool. I get random packet drops for about 7% of small packets (pings, TCP ACKs/SYNs/little payload). From the code in Linux 4.0 it seems that the behavior should be the same. I posted on Xen-users

Re: [Xen-devel] [PATCH OSSTEST 01/15] mg-debian-installer-update: updates to better handle Jessie onwards.

2015-05-26 Thread Ian Campbell
On Mon, 2015-05-25 at 09:57 +0100, Wei Liu wrote: On Mon, May 25, 2015 at 09:36:06AM +0100, Wei Liu wrote: On Fri, May 22, 2015 at 01:29:38PM +0100, Ian Campbell wrote: In mg-debian-installer-update: - Expand the list of (suite,arch) combinations which don't exist and move it

Re: [Xen-devel] [PATCH v2 24/41] arm : acpi create efi node for DOM0

2015-05-26 Thread Jan Beulich
On 26.05.15 at 10:21, jbeul...@suse.com wrote: Btw - please correct your reply style such that it is immediately clear which parts comprise your response and which parts are what you respond to (you have a misguiding on the first line of your reply text here as well as in the reply to

Re: [Xen-devel] [PATCH v2 for Xen 4.6 1/4] xen: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-26 Thread Jan Beulich
On 26.05.15 at 02:05, lichong...@gmail.com wrote: Add two hypercalls(XEN_DOMCTL_SCHEDOP_getvcpuinfo/putvcpuinfo) to get/set a domain's per-VCPU parameters. Hypercalls are handled by newly added hook (.adjust_vcpu) in the scheduler interface. Add a new data structure (struct

[Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Vitaly Kuznetsov
'gfn' is not defined in p2m_get_mem_access() and this code compiles only because of a coincidence: gfn_lock/gfn_unlock are currently macros which don't use their second argument. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- xen/arch/x86/mm/p2m.c | 4 ++-- 1 file changed, 2

Re: [Xen-devel] [PATCH v6 04/10] xen: Introduce XENMEM_soft_reset operation

2015-05-26 Thread Vitaly Kuznetsov
Tim Deegan t...@xen.org writes: At 12:06 +0200 on 25 May (143265), Vitaly Kuznetsov wrote: Tim Deegan t...@xen.org writes: At 17:26 +0100 on 22 May (1432315574), Jan Beulich wrote: On 22.05.15 at 17:36, vkuzn...@redhat.com wrote: On 13.05.15 at 11:49, vkuzn...@redhat.com wrote:

[Xen-devel] [OSSTEST Nested PATCH v11 3/7] Changes to support '/boot' leading paths of kernel, xen, in grub

2015-05-26 Thread longtao.pang
Support situations of grub that have vmlinuz and other things starting with path of '/boot' rather than '/'. Signed-off-by: longtao.pang longtaox.p...@intel.com --- Osstest/Debian.pm |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Osstest/Debian.pm

[Xen-devel] [OSSTEST Nested PATCH v11 4/7] Changes on test step of Debian hvm guest install

2015-05-26 Thread longtao.pang
1. The default disk size for guest is '1M' which is not sufficient for nested HVM guest, using larger disk size for nested guest to accommodate to nested test requirement, the specific disk_size is defined by make-flight. 2. In L1 installation context, assign more memory (defined in runvar) to

[Xen-devel] [OSSTEST Nested PATCH v11 1/7] grub: remove patch to disable submenu from 20_linux_xen overlay

2015-05-26 Thread longtao.pang
setupboot_grub2 now supports submenus, so we can reduce our delta vs upstream a bit. I started by extracting 20_linux_xen from http://snapshot.debian.org/archive/debian/20130703T094657Z/pool/main/g/grub2/grub-common_1.99-27%2Bdeb7u2_amd64.deb and then applying the patch at

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

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 11:11 +0200, Julien Grall wrote: Hi, On 20/05/2015 11:56, Ian Campbell wrote: On Wed, 2015-05-20 at 09:34 +, osstest service user wrote: flight 56759 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/56759/ Regressions :-( Tests

[Xen-devel] Linux kernel version for xen hypervisor 4.2.0

2015-05-26 Thread HANNAS YAYA Issa
Hi I compile and install linux kernel 3.4 but when booting I don't see this kernel in the grub submenu of xen version 4.2.0. Does it means that there is a minimum version of linux kernel that xen 4.2.0 can supprort? Thanks Hannas ___ Xen-devel

Re: [Xen-devel] [PATCH] PCI / ACPI: Do not set ACPI companions for host bridges with parents

2015-05-26 Thread Sander Eikelenboom
Tuesday, May 26, 2015, 4:17:05 AM, you wrote: On Tuesday, May 26, 2015 03:08:17 AM Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 01:42:16 AM Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 01:22:12 AM Rafael J. Wysocki wrote: On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky

Re: [Xen-devel] [PATCH v2 24/41] arm : acpi create efi node for DOM0

2015-05-26 Thread Jan Beulich
On 24.05.15 at 08:30, parth.di...@linaro.org wrote: On 20 May 2015 at 21:46, Jan Beulich jbeul...@suse.com wrote: On 17.05.15 at 22:03, parth.di...@linaro.org wrote: --- a/xen/include/xen/efi.h +++ b/xen/include/xen/efi.h @@ -8,7 +8,7 @@ extern const bool_t efi_enabled; #define

Re: [Xen-devel] [PATCH v6 04/10] xen: Introduce XENMEM_soft_reset operation

2015-05-26 Thread Jan Beulich
On 26.05.15 at 10:05, vkuzn...@redhat.com wrote: No, not really. Protecting against a misbehaving control domain (guaranteeing the correctness of the operation) is going to be incomplete anyway. I think we just need to make this operation safe so even the control domain won't be able to

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

2015-05-26 Thread Julien Grall
Hi Ian, On 26/05/2015 11:17, Ian Campbell wrote: On Tue, 2015-05-26 at 11:11 +0200, Julien Grall wrote: Hi, On 20/05/2015 11:56, Ian Campbell wrote: On Wed, 2015-05-20 at 09:34 +, osstest service user wrote: flight 56759 xen-unstable real [real]

Re: [Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Jan Beulich
On 26.05.15 at 09:34, vkuzn...@redhat.com wrote: 'gfn' is not defined in p2m_get_mem_access() and this code compiles only because of a coincidence: gfn_lock/gfn_unlock are currently macros which don't use their second argument. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com ---

Re: [Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Andrew Cooper
On 26/05/15 10:58, Jan Beulich wrote: On 26.05.15 at 09:34, vkuzn...@redhat.com wrote: 'gfn' is not defined in p2m_get_mem_access() and this code compiles only because of a coincidence: gfn_lock/gfn_unlock are currently macros which don't use their second argument. Signed-off-by: Vitaly

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

2015-05-26 Thread osstest service user
flight 57279 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/57279/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stopfail REGR. vs. 56492

[Xen-devel] [PATCH] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Ian Campbell
In 38b37ed82705 x86/domctl: cleanup, XEN_DOMCTL_gettscinfo was changed to use the standard copyback mechanism. However the output TSC Info is a guerst handle, i.e. a pointer to the location for the information, copyback just copies the unchanged pointer back. Switch back to fetching the details

Re: [Xen-devel] [PATCH] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 11:13 +0100, Andrew Cooper wrote: On 26/05/15 11:04, Ian Campbell wrote: In 38b37ed82705 x86/domctl: cleanup, XEN_DOMCTL_gettscinfo was changed to use the standard copyback mechanism. However the output TSC Info is a guerst handle, i.e. a pointer to the location

Re: [Xen-devel] [PATCH] dmar: device scope mem leak fix

2015-05-26 Thread Jan Beulich
On 23.05.15 at 03:27, elena.ufimts...@oracle.com wrote: @@ -318,13 +321,13 @@ static int __init acpi_parse_dev_scope( if ( (cnt = scope_device_count(start, end)) 0 ) return cnt; -scope-devices_cnt = cnt; if ( cnt 0 ) { scope-devices =

Re: [Xen-devel] [edk2] Question about PEX boot on Xen with OVMF as bios

2015-05-26 Thread Laszlo Ersek
On 05/25/15 03:50, lidonglin wrote: Hi all: Recentlly, I want to use PXE boot on Xen with OVMF as bios. At beginning, I just add rtl8139 as guest nic device, and I compile a release ovmf. When I enter into uefi, I can't find network boot menu. According to edk2/OvmfPkg/README file, I know

Re: [Xen-devel] Linux kernel version for xen hypervisor 4.2.0

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 09:45 +0200, HANNAS YAYA Issa wrote: Hi I compile and install linux kernel 3.4 but when booting I don't see this kernel in the grub submenu of xen version 4.2.0. Does it means that there is a minimum version of linux kernel that xen 4.2.0 can supprort? This is the

[Xen-devel] [PATCH v2 1/2] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Ian Campbell
In 38b37ed82705 x86/domctl: cleanup, XEN_DOMCTL_gettscinfo was changed to use the standard copyback mechanism. However the output TSC Info is a guerst handle, i.e. a pointer to the location for the information, copyback just copies the unchanged pointer back. Switch back to fetching the details

Re: [Xen-devel] [PATCH v5 3/4] pci: add wrapper for parse_pci

2015-05-26 Thread Jan Beulich
On 23.05.15 at 03:33, elena.ufimts...@oracle.com wrote: --- a/xen/drivers/pci/pci.c +++ b/xen/drivers/pci/pci.c @@ -119,11 +119,21 @@ const char *__init parse_pci(const char *s, unsigned int *seg_p, unsigned int *bus_p, unsigned int *dev_p,

[Xen-devel] [PATCH OSSTEST] ts-libvirt-build: initscript should depend on xenstored service

2015-05-26 Thread Ian Campbell
In order that xencommons is guarenteed to have been started before libvirtd. Otherwise sometimes libvirt can be started first resulting in: error: invalid argument: unsupported config type xen-xl Because xen wasn't available when libvirt started. Signed-off-by: Ian Campbell

Re: [Xen-devel] [PATCH v2 1/2] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Jan Beulich
On 26.05.15 at 13:14, ian.campb...@citrix.com wrote: --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -856,13 +856,16 @@ long arch_do_domctl( ret = -EINVAL; else { +xen_guest_tsc_info_t info = { 0 }; + domain_pause(d); -

Re: [Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Julien Grall
On 26/05/2015 08:57, Mazen Ezzeddine (Student) wrote: Dear experts, Hi, I am running Xen 4.5 on the arndale 5250 by compiling u-boot, Xen, Linux kernel(3.18.3) and filesystem (ubuntu Trusty). Boot messages of Xen and kernel are fine and Dom0 is booted. However, I see the below login

Re: [Xen-devel] [PATCH v2 2/9] x86/intel_pstate: add some calculation related support

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:49, wei.w.w...@intel.com wrote: The added calculation related functions will be used in the intel_pstate.c. If these are taken from Linux, please say so here (including the version they got cloned from), as in that case close review can be considered unnecessary. That said -

Re: [Xen-devel] [PATCH v2 3/9] x86/cpu_hotplug: add the unregister_cpu_notifier function to support CPU hotplug

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: The unregister notifier function is needed to support cpu hotplug. Without loadable module support I have some difficulty seeing why this should be needed. Jan ___ Xen-devel mailing list

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

2015-05-26 Thread osstest service user
flight 57288 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/57288/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 18 guest-start.2 fail in 57141 REGR. vs. 56831 Tests which are

Re: [Xen-devel] [PATCH v2 1/2] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 13:25 +0100, Jan Beulich wrote: On 26.05.15 at 13:14, ian.campb...@citrix.com wrote: --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -856,13 +856,16 @@ long arch_do_domctl( ret = -EINVAL; else { +

Re: [Xen-devel] [PATCH v2 4/9] x86/intel_pstate: add new policy fields and a new driver interface

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: --- a/xen/drivers/cpufreq/utility.c +++ b/xen/drivers/cpufreq/utility.c @@ -456,6 +456,11 @@ int __cpufreq_set_policy(struct cpufreq_policy *data, data-min = policy-min; data-max = policy-max; +data-min_perf_pct =

Re: [Xen-devel] Xen/arm: Virtual ITS command queue handling

2015-05-26 Thread Ian Campbell
On Thu, 2015-05-21 at 05:37 -0700, Manish Jaggi wrote: On Tuesday 19 May 2015 07:18 AM, Ian Campbell wrote: On Tue, 2015-05-19 at 19:34 +0530, Vijay Kilari wrote: On Tue, May 19, 2015 at 7:24 PM, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2015-05-19 at 14:36 +0100, Ian

[Xen-devel] [libvirt test] 57291: regressions - FAIL

2015-05-26 Thread osstest service user
flight 57291 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/57291/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt 11 guest-start fail REGR. vs. 53854 test-amd64-amd64-libvirt

Re: [Xen-devel] [PATCH v2 5/9] x86/intel_pstate: relocate the driver register/unregister function

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: Register/unregister the CPU hotplug notifier when the driver is registered, and move the driver register/unregister function to the cpufreq.c. Without saying why I'm afraid I don't even see much reason to review this in any detail. ---

[Xen-devel] [PATCH v2 2/2] xen: Simplify TSC domctls by removing double info field

2015-05-26 Thread Ian Campbell
There is no need to have this twice and we can simply inline xen_guest_tsc_info into xen_domctl_tsc_info as well. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- --- tools/libxc/xc_domain.c | 23 --- xen/arch/x86/domctl.c | 21 +

Re: [Xen-devel] [PATCH v5 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-05-26 Thread Jan Beulich
On 23.05.15 at 03:33, elena.ufimts...@oracle.com wrote: --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -1185,6 +1185,19 @@ Specify the host reboot method. 'efi' instructs Xen to reboot using the EFI reboot call (in EFI mode by default it will use

Re: [Xen-devel] Earlier embargoed pre-disclosure without patches

2015-05-26 Thread Stefano Stabellini
On Fri, 22 May 2015, Major Hayden wrote: On 05/22/2015 09:04 AM, Jan Beulich wrote: If you were to ask for this only if the time gap until embargo expiry was less than the default of two weeks, maybe I would buy this. I'm good with that as well. I think we're saying: if

Re: [Xen-devel] [PATCH v2 1/9] x86/acpi: add a common interface for x86 cpu matching

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:49, wei.w.w...@intel.com wrote: --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -45,6 +45,45 @@ unsigned int paddr_bits __read_mostly = 36; */ u64 host_pat = 0x050100070406; +/* + * x86_match_cpu - match the current CPU against an array of + *

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

2015-05-26 Thread osstest service user
flight 57283 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/57283/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 9 debian-install fail REGR. vs. 52209-bisect test-amd64-amd64-pair

Re: [Xen-devel] Kernel panic, reboot in 5 seconds

2015-05-26 Thread Dario Faggioli
On Mon, 2015-05-25 at 15:41 +0200, Mr Idris wrote: On 5/21/15, Dario Faggioli dario.faggi...@citrix.com wrote: ret.time is the next time instant you want a timer to fire, as you can see right below the call do sched-do_schedule(), in schedule.c. That timer, when firing, will cause the

Re: [Xen-devel] [PATCH v2 2/2] xen: Simplify TSC domctls by removing double info field

2015-05-26 Thread Andrew Cooper
On 26/05/15 12:14, Ian Campbell wrote: There is no need to have this twice and we can simply inline xen_guest_tsc_info into xen_domctl_tsc_info as well. Signed-off-by: Ian Campbell ian.campb...@citrix.com Nice diffstat. Reviewed-by: Andrew Cooper andrew.coop...@citrix.com --- ---

Re: [Xen-devel] [PATCH v2 1/2] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Jan Beulich
On 26.05.15 at 14:56, ian.campb...@citrix.com wrote: On Tue, 2015-05-26 at 13:25 +0100, Jan Beulich wrote: On 26.05.15 at 13:14, ian.campb...@citrix.com wrote: --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -856,13 +856,16 @@ long arch_do_domctl( ret = -EINVAL;

Re: [Xen-devel] [PATCH v2 5/9] x86/intel_pstate: relocate the driver register/unregister function

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: +extern int cpufreq_register_driver(struct cpufreq_driver *driver_data); +extern int cpufreq_unregister_driver(struct cpufreq_driver *driver); Oh, btw, please also get rid of extern on function declarations, unless in a particular header it is

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

2015-05-26 Thread Ian Campbell
On Wed, 2015-05-20 at 10:56 +0100, Ian Campbell wrote: On Wed, 2015-05-20 at 09:34 +, osstest service user wrote: flight 56759 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/56759/ Regressions :-( Tests which did not succeed and are blocking,

[Xen-devel] [PATCH] x86/arm/mm: use gfn instead of pfn in p2m_get_mem_access/p2m_set_mem_access

2015-05-26 Thread Vitaly Kuznetsov
'pfn' and 'start_pfn' are ambiguous, both these functions expect GFNs as input. On x86 the interface of p2m_set_mem_access() in p2m.c doesn't match the declaration in p2m-common.h as 'pfn' is being used instead of 'start_pfn'. On ARM both p2m_set_mem_access and p2m_get_mem_access interfaces

Re: [Xen-devel] [PATCH v22 11/14] x86/VPMU: Handle PMU interrupts for PV(H) guests

2015-05-26 Thread Boris Ostrovsky
On 05/26/2015 12:24 PM, Jan Beulich wrote: On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote: @@ -188,27 +189,52 @@ static inline void context_load(struct vcpu *v) } } -static void amd_vpmu_load(struct vcpu *v) +static int amd_vpmu_load(struct vcpu *v, bool_t from_guest) {

[Xen-devel] [PATCHv10 3/4] gnttab: make the grant table lock a read-write lock

2015-05-26 Thread David Vrabel
In combination with the per-active entry locks, the grant table lock can be made a read-write lock since the majority of cases only the read lock is required. The grant table read lock protects against changes to the table version or size (which are done with the write lock held). The write lock

[Xen-devel] [PATCHv10 4/4] gnttab: use per-VCPU maptrack free lists

2015-05-26 Thread David Vrabel
From: Malcolm Crossley malcolm.cross...@citrix.com Performance analysis of aggregate network throughput with many VMs shows that performance is signficantly limited by contention on the maptrack lock when obtaining/releasing maptrack handles from the free list. Instead of a single free list use

[Xen-devel] [PATCHv10 0/4] gnttab: Improve scaleability

2015-05-26 Thread David Vrabel
The series builds on the original series by Matt Wilson and Christoph Egger from Amazon. Performance results for aggregate intrahost network throughput (between 20 VM pairs, with 16 dom0 VCPUs) show substantial improvements. Throughput/Gbit/s Base

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-05-26 Thread George Dunlap
On Fri, May 22, 2015 at 5:21 AM, Juergen Gross jgr...@suse.com wrote: On 05/21/2015 07:07 PM, George Dunlap wrote: We have several outstanding patch series which add devices that have two levels: a controller and individual devices attached to that controller. In the interest of

[Xen-devel] [PATCHv10 2/4] gnttab: introduce maptrack lock

2015-05-26 Thread David Vrabel
Split grant table lock into two separate locks. One to protect maptrack state (maptrack_lock) and one for everything else (lock). Based on a patch originally by Matt Wilson m...@amazon.com. Signed-off-by: David Vrabel david.vra...@citrix.com --- docs/misc/grant-tables.txt|9 +

[Xen-devel] [PATCH 2/3] xen/flask: change bool_maxstr to PAGE_SIZE

2015-05-26 Thread Daniel De Graaf
When FLASK_{GET,SET}BOOL is called with a named boolean, the call to flask_security_resolve_bool is made prior to bool_maxstr being populated by flask_security_make_bools. This results in the maximum string length being specified as zero, which is not useful. While it would be possible to

Re: [Xen-devel] [PATCH v22 02/14] x86/VPMU: Add public xenpmu.h

2015-05-26 Thread Boris Ostrovsky
On 05/26/2015 12:13 PM, Jan Beulich wrote: On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote: + * guest when PMU_CACHED bit in pmu_flags is set (which is done by the + * hypervisor during PMU interrupt). Hypervisor will read updated data in + * XENPMU_flush hypercall and clear PMU_CACHED

[Xen-devel] [PATCHv10 1/4] gnttab: per-active entry locking

2015-05-26 Thread David Vrabel
Introduce a per-active entry spin lock to protect active entry state The grant table lock must be locked before acquiring (locking) an active entry. This is a step in reducing contention on the grant table lock, but will only do so once the grant table lock is turned into a read-write lock.

[Xen-devel] [PATCH 3/3] libxc: add missing xc_hypercall_bounce_pre calls

2015-05-26 Thread Daniel De Graaf
Signed-off-by: Daniel De Graaf dgde...@tycho.nsa.gov --- tools/libxc/xc_flask.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/libxc/xc_flask.c b/tools/libxc/xc_flask.c index bb117f7..e24a2e7 100644 --- a/tools/libxc/xc_flask.c +++ b/tools/libxc/xc_flask.c @@ -191,6

[Xen-devel] [PATCH 1/3] flask/policy: updates from osstest runs

2015-05-26 Thread Daniel De Graaf
Migration and HVM domain creation both trigger AVC denials that should be allowed in the default policy; add these rules. Guest console writes need to be either allowed or denied without audit depending on the decision of the local administrator; introduce a policy boolean to switch between these

Re: [Xen-devel] XSM: new set of avc denied

2015-05-26 Thread Daniel De Graaf
On 05/26/2015 05:34 AM, Jan Beulich wrote: On 25.05.15 at 11:40, wei.l...@citrix.com wrote: I had a look at Osstest's latest xen-unstable run [0]. With Ian's patch series we finally passed the point of guest creation on x86. We now have a new set of avc denied. May 24 20:18:05.945118 (XEN)

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

2015-05-26 Thread osstest service user
flight 57299 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/57299/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 17 leak-check/check fail REGR. vs. 56375 Tests which are

Re: [Xen-devel] Earlier embargoed pre-disclosure without patches

2015-05-26 Thread Major Hayden
On 05/26/2015 07:15 AM, Stefano Stabellini wrote: On Fri, 22 May 2015, Major Hayden wrote: On 05/22/2015 09:04 AM, Jan Beulich wrote: If you were to ask for this only if the time gap until embargo expiry was less than the default of two weeks, maybe I would buy this. I'm good with

[Xen-devel] Question on QEMU restore process

2015-05-26 Thread Lengyel, Tamas
Hi all, I'm wondering if someone can point me in the right direction. I'm trying to understand the process around domain save/restore using XL. I can see the xl save format and how its appended with the QEMU state aquired via the xen-save-devices-state qmp command (this is for upstream QEMU).

Re: [Xen-devel] [PATCH v22 02/14] x86/VPMU: Add public xenpmu.h

2015-05-26 Thread Jan Beulich
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote: --- a/xen/include/public/arch-arm.h +++ b/xen/include/public/arch-arm.h @@ -434,6 +434,11 @@ struct xen_arch_domainconfig { #endif +#ifndef __ASSEMBLY__ +/* Stub definition of PMU structure */ +typedef struct xen_pmu_arch {}

Re: [Xen-devel] [PATCH V5] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-05-26 Thread Razvan Cojocaru
On 05/26/2015 06:47 PM, Jan Beulich wrote: On 25.05.15 at 10:33, rcojoc...@bitdefender.com wrote: --- a/xen/arch/x86/hvm/event.c +++ b/xen/arch/x86/hvm/event.c @@ -19,6 +19,7 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. */ +#include asm/monitor.h #include xen/vm_event.h

Re: [Xen-devel] [PATCH v22 10/14] x86/VPMU: Use pre-computed masks when checking validity of MSRs

2015-05-26 Thread Jan Beulich
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote: +/* Masks used for testing whether and MSR is valid */ +#define ARCH_CTRL_MASK (~((1ull 32) - 1) | (1ull 21)) Considering this and ... @@ -556,7 +558,7 @@ static int core2_vpmu_do_wrmsr(unsigned int msr, uint64_t msr_content,

Re: [Xen-devel] [PATCH V5] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-05-26 Thread Jan Beulich
On 25.05.15 at 10:33, rcojoc...@bitdefender.com wrote: --- a/xen/arch/x86/hvm/event.c +++ b/xen/arch/x86/hvm/event.c @@ -19,6 +19,7 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. */ +#include asm/monitor.h #include xen/vm_event.h #include xen/paging.h Just like almost

Re: [Xen-devel] [PATCH V5] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-05-26 Thread Jan Beulich
On 26.05.15 at 18:21, rcojoc...@bitdefender.com wrote: On 05/26/2015 06:47 PM, Jan Beulich wrote: On 25.05.15 at 10:33, rcojoc...@bitdefender.com wrote: --- a/xen/arch/x86/hvm/event.c +++ b/xen/arch/x86/hvm/event.c @@ -19,6 +19,7 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. */

Re: [Xen-devel] Earlier embargoed pre-disclosure without patches

2015-05-26 Thread Major Hayden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/26/2015 11:50 AM, Stefano Stabellini wrote: I would go for: In the event that public disclosure is less than 15 days away, we will send a draft with information about the vulnerability to the pre-disclosure list as soon as possible, even

Re: [Xen-devel] [PATCH V2 6/8] tools/libxl: Make DT node of GICv3 according to max_vcpus

2015-05-26 Thread Julien Grall
Hi Chen, On 23/05/2015 15:52, Chen Baozi wrote: From: Chen Baozi baoz...@gmail.com Since the size of GICR is determined by the number of CPU cores, add 'nr_cpus' parameter when creating its DT node and set gicr0_size dynamically. This patch is not necessary, the re-distributor region can be

Re: [Xen-devel] [PATCH V2 7/8] tools/libxl: Set logical CPUID in DT node equal to MPIDR for domU

2015-05-26 Thread Julien Grall
Hi Chen, On 23/05/2015 15:52, Chen Baozi wrote: From: Chen Baozi baoz...@gmail.com Linux kernel sometimes uses the 'hwid' which is fetched from DT node of CPU as the MPIDR. We set the logical CPUID in the corresponding DT node to MPIDR to keep consistency. Hmmm... this is wrong. The field

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

2015-05-26 Thread osstest service user
flight 57304 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/57304/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stopfail REGR. vs. 56492

[Xen-devel] Document Day is Tomorrow, May 27

2015-05-26 Thread Russ Pavlicek
Reminder: Our project's Document Day for May is tomorrow! Theme for this month: No-Can-Do Without a HowTo, Part 2. Last month, we ended up creating a great new page describing Huge Page support. Can we top that this month? We've got a lot of good information in the documentation, but it isn't

[Xen-devel] [linux-3.18 baseline test] 57312: tolerable trouble: broken/fail/pass

2015-05-26 Thread osstest service user
Old tested version had not actually been tested; therefore in this flight we test it, rather than a new candidate. The baseline, if any, is the most recent actually tested revision. flight 57312 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/57312/ Failures :-/ but no

Re: [Xen-devel] [PATCH v2 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: +static inline int ceiling_fp(int32_t x) +{ +int mask, ret; Please here and below, consider whether types really need to be signed. One exception: If you intend to import the Linux source file with minimal modifications, and if that indeed

Re: [Xen-devel] [PATCH] PCI / ACPI: Do not set ACPI companions for host bridges with parents

2015-05-26 Thread Boris Ostrovsky
On 05/25/2015 10:17 PM, Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 03:08:17 AM Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 01:42:16 AM Rafael J. Wysocki wrote: On Tuesday, May 26, 2015 01:22:12 AM Rafael J. Wysocki wrote: On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky wrote:

Re: [Xen-devel] [PATCH V2 5/8] xen/arm: vGIC: Consider AFF1 when injecting SGI.

2015-05-26 Thread Julien Grall
Hi Chen, On 23/05/2015 15:52, Chen Baozi wrote: From: Chen Baozi baoz...@gmail.com Use the AFF1 value of ICC_SGI1R_EL1 when injecting SGI in vGIC, which expands the number of supported vCPU more than 16 that target list bitmap can hold independently. Signed-off-by: Chen Baozi

Re: [Xen-devel] [PATCH v2 21/41] arm : acpi Initialize serial port from ACPI SPCR table

2015-05-26 Thread Julien Grall
Hi Parth, On 17/05/2015 22:03, Parth Dixit wrote: @@ -307,6 +308,54 @@ DT_DEVICE_START(pl011, PL011 UART, DEVICE_SERIAL) .init = dt_pl011_uart_init, DT_DEVICE_END +#ifdef CONFIG_ACPI +static int __init acpi_pl011_uart_init(const void *data) +{ +struct pl011 *uart; +

Re: [Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Julien Grall
On 26/05/2015 15:40, Mazen Ezzeddine (Student) wrote: Thanks Julien, I added the hvc0 config file but now I can see the typed characthers on the console, but I still can not login, what is the default login, I tried several alternatives but still not able to login. I am missing

Re: [Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 13:52 +, Mazen Ezzeddine (Student) wrote: I followed the instructions on ssup2.iptime.org/wiki/Xen_4.5.0_on_Arndale just replacing saucy with trusty (section 11-12) without setting any passwd? any hint please? Please don't top post. Any default password will be

Re: [Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Mazen Ezzeddine (Student)
Thanks, Last time I did not set any passwd. In all cases, I will recompile/rebuild and report. Thank you so much. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH V2 8/8] xen/arm: Set logical CPUID in DT node for dom0 the same as MPIDR

2015-05-26 Thread Julien Grall
Hi Chen, On 23/05/2015 15:52, Chen Baozi wrote: From: Chen Baozi baoz...@gmail.com This patch does the same thing as the previous one but for dom0 kernel. Please be explicit, the 2 patches may not be contiguous in Xen upstream. Signed-off-by: Chen Baozi baoz...@gmail.com ---

Re: [Xen-devel] [PATCH v2 1/2] xen: x86: copy back tsc info, not pointer to tsc info in domctl

2015-05-26 Thread Ian Campbell
On Tue, 2015-05-26 at 14:11 +0100, Jan Beulich wrote: On 26.05.15 at 14:56, ian.campb...@citrix.com wrote: On Tue, 2015-05-26 at 13:25 +0100, Jan Beulich wrote: On 26.05.15 at 13:14, ian.campb...@citrix.com wrote: --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -856,13

Re: [Xen-devel] Xen on arndale 5250.

2015-05-26 Thread Mazen Ezzeddine (Student)
Thanks Julien, I added the hvc0 config file but now I can see the typed characthers on the console, but I still can not login, what is the default login, I tried several alternatives but still not able to login. I am missing something? Thank you so much. Regards,

Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-05-26 Thread Jan Beulich
On 13.05.16 at 09:51, wei.w.w...@intel.com wrote: --- a/xen/drivers/acpi/pmstat.c +++ b/xen/drivers/acpi/pmstat.c @@ -167,7 +167,7 @@ int do_get_pm_info(struct xen_sysctl_get_pmstat *op) * 2. Provide user PM control */ static int read_scaling_available_governors(char

  1   2   >