Re: [Xen-devel] [PATCH v2 0/3] VPMU fixes

2015-12-07 Thread Tian, Kevin
Add Andi who is our PMU expert. He will give some insight into this issue. Thanks Kevin > From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > Sent: Thursday, December 03, 2015 11:45 PM > > On 12/03/2015 06:02 AM, Jan Beulich wrote: > On 03.12.15 at 11:46, wrote: > >>> From: Jan B

Re: [Xen-devel] [PATCH] x86: re-enable NX if disabled

2015-12-07 Thread Jan Beulich
>>> On 04.12.15 at 19:25, wrote: > On 04/12/15 16:31, Jan Beulich wrote: >> @@ -56,6 +60,9 @@ trampoline_gdt: >> .long trampoline_gdt + BOOT_PSEUDORM_DS + 2 - . >> .popsection >> >> +GLOBAL(trampoline_misc_enable_off) >> +.quad 0 >> + > > For clarity, I would name

Re: [Xen-devel] [PATCH v3 07/62] arm/acpi: Add arch_acpi_os_map_memory helper function for ARM

2015-12-07 Thread Shannon Zhao
Hi, On 2015/11/30 22:47, Julien Grall wrote: > Hi, > > On 23/11/15 11:37, Stefano Stabellini wrote: >> > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >>> >> From: Shannon Zhao >> > could you please add a couple of lines to the commit message mentioning >> > why __va(phys) is an acceptable

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-07 Thread Egger, Christoph
Did you consider nested virtualization? L1 hypervisor may have a different tsc scaling and L2 guest again may have a different tsc scale ratio. Christoph On 2015/12/06 22:14, Haozhong Zhang wrote: > I have tested this patchset on both Intel and AMD systems. > > For the test on AMD systems, I mad

[Xen-devel] Xc_mem_access_enable_emulate() is currently a no-operation

2015-12-07 Thread Razvan Cojocaru
Hello, While looking at some code with Tamas these past few days, we discovered that xc_mem_access_enable_emulate() doesn't actually do anything other that setting the mem_access_emulate_enabled flag. Fixing that would likely be trivial (if the flag is not set, p2m_mem_access_emulate_check() shou

[Xen-devel] [V3 PATCH 1/9] x86/hvm: pkeys, add the flag to enable Memory Protection Keys

2015-12-07 Thread Huaitong Han
This patch adds the flag to enable Memory Protection Keys. Signed-off-by: Huaitong Han Reviewed-by: Andrew Cooper --- docs/misc/xen-command-line.markdown | 21 + xen/arch/x86/cpu/common.c | 10 +- xen/include/asm-x86/cpufeature.h| 6 +- 3 files cha

[Xen-devel] [V3 PATCH 5/9] x86/hvm: pkeys, add functions to support PKRU access

2015-12-07 Thread Huaitong Han
This patch adds functions to support PKRU access. Signed-off-by: Huaitong Han --- xen/include/asm-x86/processor.h | 20 1 file changed, 20 insertions(+) diff --git a/xen/include/asm-x86/processor.h b/xen/include/asm-x86/processor.h index 3f8411f..c345787 100644 --- a/xen/in

[Xen-devel] [V3 PATCH 2/9] x86/hvm: pkeys, add pkeys support when setting CR4

2015-12-07 Thread Huaitong Han
This patch adds pkeys support when setting CR4. Signed-off-by: Huaitong Han Reviewed-by: Andrew Cooper --- xen/arch/x86/hvm/hvm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index db0aeba..59916ed 100644 --- a/xen/arch/

[Xen-devel] [V3 PATCH 9/9] x86/hvm: pkeys, add pkeys support for cpuid handling

2015-12-07 Thread Huaitong Han
This patch adds pkeys support for cpuid handing. Pkeys hardware support is CPUID.7.0.ECX[3]:PKU. software support is CPUID.7.0.ECX[4]:OSPKE and it reflects the support setting of CR4.PKE. Signed-off-by: Huaitong Han --- tools/libxc/xc_cpufeature.h | 2 ++ tools/libxc/xc_cpuid_x86.c | 6 -

[Xen-devel] [V3 PATCH 7/9] x86/hvm: pkeys, add pkeys support for guest_walk_tables

2015-12-07 Thread Huaitong Han
This patch adds pkeys support for guest_walk_tables. Signed-off-by: Huaitong Han --- xen/arch/x86/i387.c | 2 +- xen/arch/x86/mm/guest_walk.c | 73 +++ xen/include/asm-x86/hvm/hvm.h | 2 ++ xen/include/asm-x86/i387.h| 1 + 4 files changed

[Xen-devel] [V3 PATCH 6/9] x86/hvm: pkeys, add xstate support for pkeys

2015-12-07 Thread Huaitong Han
This patch adds xstate support for pkeys. Signed-off-by: Huaitong Han --- xen/arch/x86/xstate.c| 7 +-- xen/include/asm-x86/xstate.h | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/xstate.c b/xen/arch/x86/xstate.c index b65da38..db978c4 100644 --

[Xen-devel] [V3 PATCH 0/9] x86/hvm: pkeys, add memory protection-key support

2015-12-07 Thread Huaitong Han
Changes in v3: *Get CPUID:ospke depend on guest cpuid instead of host hardware capable, and Move cpuid patch to the last of patches. *Move opt_pku to cpu/common.c. *Use MASK_EXTR for get_pte_pkeys. *Add quoting for pkru macro, and use static inline pkru_read functions. *Rebase get_xsave_addr for u

[Xen-devel] [V3 PATCH 8/9] x86/hvm: pkeys, add pkeys support for gva2gfn funcitons

2015-12-07 Thread Huaitong Han
This patch adds pkeys support for gva2gfn funcitons. Signed-off-by: Huaitong Han --- xen/arch/x86/hvm/hvm.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 59916ed..b88f381 100644 --- a/xen/arch/x86/hvm/h

[Xen-devel] [V3 PATCH 3/9] x86/hvm: pkeys, disable pkeys for guests in non-paging mode

2015-12-07 Thread Huaitong Han
This patch disables pkeys for guest in non-paging mode, However XEN always uses paging mode to emulate guest non-paging mode, To emulate this behavior, pkeys needs to be manually disabled when guest switches to non-paging mode. Signed-off-by: Huaitong Han Reviewed-by: Andrew Cooper --- xen/arch

[Xen-devel] [V3 PATCH 4/9] x86/hvm: pkeys, add functions to get pkeys value from PTE

2015-12-07 Thread Huaitong Han
This patch adds functions to get pkeys value from PTE. Signed-off-by: Huaitong Han --- xen/include/asm-x86/guest_pt.h| 7 +++ xen/include/asm-x86/page.h| 5 + xen/include/asm-x86/x86_64/page.h | 12 3 files changed, 24 insertions(+) diff --git a/xen/include/as

Re: [Xen-devel] [linux-linus bisection] complete test-amd64-i386-xl-qemut-winxpsp3

2015-12-07 Thread Ian Campbell
On Sun, 2015-12-06 at 07:51 +, osstest service owner wrote: >  > *** Found and reproduced problem changeset *** > >   Bug is in tree:  linux > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git >   Bug introduced:  849ee3d46a7334e950fb17d1ac2cbe2c6b088f65 >   Bug not present

Re: [Xen-devel] [OSSTEST PATCH 01/11] tcl daemons: log host and port number we bind to, at startup

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > If the socket setup fails, this makes it easier to see what the > program was trying to do. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.

Re: [Xen-devel] [OSSTEST PATCH 02/11] cri-getconfig: Break out exec_resetting_sigint.

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > Move this oddity (and the associated comment) from > standalone-generate-dump-flight-runvars to cri-getconfig.  We are > going to want it elsewhere. > > We put this in cri-getconfig because that is the one library of > generic shell functions

[Xen-devel] Introduction by Outreachy intern

2015-12-07 Thread Harmandeep Kaur
Hi, I am Harmandeep Kaur, Outreachy intern for December 2015 – March 2016 round from India. I will be working on the project “Introducing PowerClamp-like driver for Xen” with Dario Faggioli and George Dunlap. More info about the project on my blog https://harmanio.wordpress.com/ Looking forward t

Re: [Xen-devel] [OSSTEST PATCH 03/11] Configuration: No longer set password=<~/.xen-osstest/db-password>

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > Instead, expect the user to provide ~/.pgpass. > > This is a good idea because we don't really want to be handling > passwords ourselves if we can help it.  And, we are shortly going to > want to do some exciting mangling of the database acce

Re: [Xen-devel] [OSSTEST PATCH 04/11] mg-debug-fail: New utility script for debugging

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > Signed-off-by: Ian Jackson > --- >  mg-debug-fail |   13 + >  1 file changed, 13 insertions(+) >  create mode 100755 mg-debug-fail > > diff --git a/mg-debug-fail b/mg-debug-fail > new file mode 100755 > index 000..64fa235 > -

Re: [Xen-devel] [OSSTEST PATCH 05/11] mg-debug-fail: Catch attempts to read from a tty

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > When stdin is a tty, do not try to dump it. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell > --- >  mg-debug-fail |8 >  1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/mg-debug-fail b/mg-debug-fail >

Re: [Xen-devel] [OSSTEST PATCH 06/11] cri-getconfig: Provide get_psql_cmd and get_pgdump_cmd

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > This is for (non-standalone-mode) shell scripts which want to access > the postgresql database. > > get_psql_command provides `-v ON_ERROR_STOP' because it is not the > default (!) and no sane caller would not want it. > > No callers as yet.

Re: [Xen-devel] [OSSTEST PATCH 07/11] cri-getconfig: Provide debugging for get_psql_cmd

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > This allows us to execute only the first SQL > invocations.  The first non-executed one is dumped, instead, by having > get_psql_command print a rune involving ./mg-debug-fail (which the > caller will then execute). > > The locking makes thi

Re: [Xen-devel] [OSSTEST PATCH 08/11] Osstest.pm: Break out and export globalconfigfiles

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > No functional change; no callers as yet. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [OSSTEST PATCH 09/11] mg-schema-test-database: New script

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > This allows a user in non-standalone mode to make a whole new test > database, which is largely a clone of the original database. > > The new db refers to the same resources (hosts), and more-or-less > safely borrows some of those hosts. "mo

Re: [Xen-devel] [OSSTEST PATCH 10/11] mg-schema-test-database: Move setting of test_cfg_setting to dbname

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > This will makes it available to a wider subset of the script, which is > going to be important in a moment. > > No functional change. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-07 Thread Haozhong Zhang
On 12/07/15 10:03, Egger, Christoph wrote: > Did you consider nested virtualization? > L1 hypervisor may have a different tsc scaling > and L2 guest again may have a different tsc scale ratio. > Oh, I forgot this. I'll check the nested TSC scaling code (mostly about nested SVM TSC ratio, because t

Re: [Xen-devel] [OSSTEST PATCH 11/11] mg-schema-test-database: Sort out daemons; provide `daemons' subcommand

2015-12-07 Thread Ian Campbell
On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > We arrange for the test configuration to look for the daemons on a > different host and port, and we provide a convenient way to run such a > pair of daemons. I was missing where *Daemon{Host,Port} were set here, it turns out to be in patch 9

Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-07 Thread George Dunlap
On Fri, Dec 4, 2015 at 1:39 PM, David Vrabel wrote: > On 04/12/15 11:00, George Dunlap wrote: >> On 03/12/15 16:42, David Vrabel wrote: >>> If a guest allocates a page and the tlbflush_timestamp on the page >>> indicates that a TLB flush of the previous owner is required, only the >>> linear and c

Re: [Xen-devel] [PATCH v3 07/62] arm/acpi: Add arch_acpi_os_map_memory helper function for ARM

2015-12-07 Thread Jan Beulich
>>> On 07.12.15 at 09:58, wrote: > On 2015/11/30 22:47, Julien Grall wrote: >> On 23/11/15 11:37, Stefano Stabellini wrote: >>> > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >> From: Shannon Zhao >>> > could you please add a couple of lines to the commit message mentioning >>> > why

[Xen-devel] [distros-debian-sid test] 38457: tolerable trouble: blocked/broken/fail/pass

2015-12-07 Thread Platform Team regression test user
flight 38457 distros-debian-sid real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38457/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): build-i3863 host-install(3) broken like 38388 test-armhf-armhf-ar

[Xen-devel] [linux-mingo-tip-master test] 65458: regressions - FAIL

2015-12-07 Thread osstest service owner
flight 65458 linux-mingo-tip-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/65458/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 6 xen-boot fail REGR. vs. 60684 test-amd64

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-07 Thread Jan Beulich
>>> On 06.12.15 at 22:14, wrote: > I have tested this patchset on both Intel and AMD systems. > > For the test on AMD systems, I made two rounds of tests. The first > round only applied bug-fix patches 1-6. The second round applied the > entire series. In both rounds, I used the test process at >

Re: [Xen-devel] [PATCH v3 07/62] arm/acpi: Add arch_acpi_os_map_memory helper function for ARM

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 03:32 -0700, Jan Beulich wrote: > > > > On 07.12.15 at 09:58, wrote: > > On 2015/11/30 22:47, Julien Grall wrote: > > > On 23/11/15 11:37, Stefano Stabellini wrote: > > > > > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > > > > > > > From: Shannon Zhao > > > > > could

Re: [Xen-devel] [PATCH] efi: mark input variables to funcs as const

2015-12-07 Thread Jan Beulich
>>> On 05.12.15 at 21:25, wrote: > Variables that are input (IN) variables to EFI functions should be > marked as const. Just avoid potential problems of changing data that > shouldn't be changed. I don't think this is correct (there's no reason for a function to not use its input arguments as va

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-07 Thread Haozhong Zhang
On 12/07/15 03:37, Jan Beulich wrote: > >>> On 06.12.15 at 22:14, wrote: > > I have tested this patchset on both Intel and AMD systems. > > > > For the test on AMD systems, I made two rounds of tests. The first > > round only applied bug-fix patches 1-6. The second round applied the > > entire se

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

2015-12-07 Thread osstest service owner
flight 65460 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/65460/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 63340 test-amd64-i386-l

Re: [Xen-devel] [PATCH v3 06/62] acpi: Refactor acpi_os_map_memory to be architecturally independent

2015-12-07 Thread Julien Grall
Hi Shannon, On 17/11/15 09:40, shannon.z...@linaro.org wrote: > From: Shannon Zhao > > Current acpi_os_map_memory is specific to x86. Refactor it to be > architecturally independent. The function acpi_os_unmap_memory should also be arch-independent. Otherwise, with the implementation you did o

[Xen-devel] blkback feature announcement

2015-12-07 Thread Jan Beulich
Hello, is there a particular reason why "max-ring-page-order" gets written in xen_blkbk_probe(), but e.g. "feature-max-indirect-segments" and "feature-persistent" get written only in connect(), despite both having constant values (and hence the node value effectively being known as soon as the dev

Re: [Xen-devel] [PATCH v3 07/62] arm/acpi: Add arch_acpi_os_map_memory helper function for ARM

2015-12-07 Thread Julien Grall
On 07/12/15 10:38, Ian Campbell wrote: > On Mon, 2015-12-07 at 03:32 -0700, Jan Beulich wrote: > On 07.12.15 at 09:58, wrote: >>> On 2015/11/30 22:47, Julien Grall wrote: On 23/11/15 11:37, Stefano Stabellini wrote: >> On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: From:

[Xen-devel] Patch "x86/cpu: Fix SMAP check in PVOPS environments" has been added to the 4.1-stable tree

2015-12-07 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/cpu: Fix SMAP check in PVOPS environments to the 4.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-cpu-fi

[Xen-devel] Patch "x86/cpu: Fix SMAP check in PVOPS environments" has been added to the 3.10-stable tree

2015-12-07 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/cpu: Fix SMAP check in PVOPS environments to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-cpu-f

[Xen-devel] Patch "x86/cpu: Fix SMAP check in PVOPS environments" has been added to the 3.14-stable tree

2015-12-07 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/cpu: Fix SMAP check in PVOPS environments to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-cpu-f

[Xen-devel] Patch "x86/cpu: Fix SMAP check in PVOPS environments" has been added to the 4.2-stable tree

2015-12-07 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/cpu: Fix SMAP check in PVOPS environments to the 4.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-cpu-fi

Re: [Xen-devel] [PATCH v2] xen: sched: fix (ACPI S3) resume with cpupools with different schedulers.

2015-12-07 Thread George Dunlap
On 24/11/15 17:14, Dario Faggioli wrote: > On Tue, 2015-11-24 at 15:32 +, George Dunlap wrote: >> On 13/11/15 17:10, Dario Faggioli wrote: >>> >>> During suspend, the pCPUs are not removed from their >>> pools with the standard procedure (which would involve >>> schedule_cpu_switch(). During

[Xen-devel] Patch "x86/cpu: Fix SMAP check in PVOPS environments" has been added to the 4.3-stable tree

2015-12-07 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/cpu: Fix SMAP check in PVOPS environments to the 4.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-cpu-fi

Re: [Xen-devel] [PATCH v2 1/4] xen/MSI-X: latch MSI-X table writes

2015-12-07 Thread Stefano Stabellini
On Tue, 24 Nov 2015, Jan Beulich wrote: > The remaining log message in pci_msix_write() is wrong, as there guest > behavior may only appear to be wrong: For one, the old logic didn't > take the mask-all bit into account. And then this shouldn't depend on > host device state (i.e. the host may have

Re: [Xen-devel] blkback feature announcement

2015-12-07 Thread Roger Pau Monné
El 07/12/15 a les 13.00, Jan Beulich ha escrit: > Hello, > > is there a particular reason why "max-ring-page-order" gets written in > xen_blkbk_probe(), but e.g. "feature-max-indirect-segments" and > "feature-persistent" get written only in connect(), despite both having > constant values (and hen

Re: [Xen-devel] [PATCH v2 3/4] xen/pass-through: correctly deal with RW1C bits

2015-12-07 Thread Stefano Stabellini
On Tue, 24 Nov 2015, Jan Beulich wrote: > Introduce yet another mask for them, so that the generic routine can > handle them, at once rendering xen_pt_pmcsr_reg_write() superfluous. > > Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini > --- a/hw/xen/xen_pt.h > +++ b/hw/xen/xen_pt.h

[Xen-devel] vcpu state are all paused

2015-12-07 Thread Big Strong
I set the xen.efi directly boot without grub2 to be able to list all the cpu cores. However, after that all the vcpus are in paused state except one for dom0. ~$ sudo xl vcpu-list > NameID VCPU CPU State Time(s) > Affinity (Hard / Soft) > Domain-0

Re: [Xen-devel] [PATCH RFC v2 4/4] xen/MSI: re-expose masking capability

2015-12-07 Thread Stefano Stabellini
On Tue, 24 Nov 2015, Jan Beulich wrote: > Now that the hypervisor intercepts all config space writes and monitors > changes to the masking flags, this undoes the main effect of the > XSA-129 fix, exposing the masking capability again to guests. > > Signed-off-by: Jan Beulich > --- > TBD: We proba

Re: [Xen-devel] Patch "x86/irq: Probe for PIC presence before allocating descs for legacy IRQs" has been added to the 4.3-stable tree

2015-12-07 Thread Vitaly Kuznetsov
writes: > This is a note to let you know that I've just added the patch titled > > x86/irq: Probe for PIC presence before allocating descs for legacy IRQs > > to the 4.3-stable tree which can be found at: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Re: [Xen-devel] vcpu state are all paused

2015-12-07 Thread Andrew Cooper
On 07/12/15 12:39, Big Strong wrote: > I set the xen.efi directly boot without grub2 to be able to list all > the cpu cores. > However, after that all the vcpus are in paused state except one for dom0. > > ~$ sudo xl vcpu-list > NameID VCPU CPU State Tim

Re: [Xen-devel] vcpu state are all paused

2015-12-07 Thread Jan Beulich
>>> On 07.12.15 at 13:56, wrote: > On 07/12/15 12:39, Big Strong wrote: >> I set the xen.efi directly boot without grub2 to be able to list all >> the cpu cores. >> However, after that all the vcpus are in paused state except one for dom0. >> >> ~$ sudo xl vcpu-list >> Name

Re: [Xen-devel] [PATCH RFC v2 4/4] xen/MSI: re-expose masking capability

2015-12-07 Thread Jan Beulich
>>> On 07.12.15 at 13:45, wrote: > On Tue, 24 Nov 2015, Jan Beulich wrote: >> Now that the hypervisor intercepts all config space writes and monitors >> changes to the masking flags, this undoes the main effect of the >> XSA-129 fix, exposing the masking capability again to guests. >> >> Signed-o

[Xen-devel] [PATCH] tools/libxc: Identify problematic file in error messages

2015-12-07 Thread Andrew Cooper
Error messages along the lines of: xc: error: panic: xc_dom_core.c:207: failed to open file: No such file or directory: Internal error are of very little use. Include the filename in the error messages, so the user does not have to resort to debug level logging to identify the problem. Si

Re: [Xen-devel] Patch "x86/irq: Probe for PIC presence before allocating descs for legacy IRQs" has been added to the 4.3-stable tree

2015-12-07 Thread Sander Eikelenboom
Monday, December 7, 2015, 1:54:35 PM, you wrote: > writes: >> This is a note to let you know that I've just added the patch titled >> >> x86/irq: Probe for PIC presence before allocating descs for legacy IRQs >> >> to the 4.3-stable tree which can be found at: >> >> http://www.kernel.o

Re: [Xen-devel] [PATCH v13 7/8] Add IOREQ_TYPE_VMWARE_PORT

2015-12-07 Thread Paul Durrant
> -Original Message- [snip] > > if ( rc ) > -hvm_unmap_ioreq_page(s, 0); > +{ > +hvm_unmap_ioreq_page(s, IOREQ_PAGE_TYPE_IOREQ); > +return rc; > +} > + > +rc = hvm_map_ioreq_page(s, IOREQ_PAGE_TYPE_VMPORT,

Re: [Xen-devel] Patch "x86/irq: Probe for PIC presence before allocating descs for legacy IRQs" has been added to the 4.3-stable tree

2015-12-07 Thread Greg KH
On Mon, Dec 07, 2015 at 01:54:35PM +0100, Vitaly Kuznetsov wrote: > writes: > > > This is a note to let you know that I've just added the patch titled > > > > x86/irq: Probe for PIC presence before allocating descs for legacy IRQs > > > > to the 4.3-stable tree which can be found at: > >

Re: [Xen-devel] Patch "x86/irq: Probe for PIC presence before allocating descs for legacy IRQs" has been added to the 4.3-stable tree

2015-12-07 Thread Greg KH
On Mon, Dec 07, 2015 at 02:17:30PM +0100, Sander Eikelenboom wrote: > > Monday, December 7, 2015, 1:54:35 PM, you wrote: > > > writes: > > >> This is a note to let you know that I've just added the patch titled > >> > >> x86/irq: Probe for PIC presence before allocating descs for legacy IRQ

[Xen-devel] [PATCH 3.10 17/31] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-07 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns th

[Xen-devel] [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist

2015-12-07 Thread Wei Liu
Signed-off-by: Wei Liu --- mg-execute-flight | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-execute-flight b/mg-execute-flight index 8b2c21c..dd64aef 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -66,6 +66,8 @@ export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\ : ${OSSTE

Re: [Xen-devel] fyi, Xen's EFI workarounds (/mapbs & efi=no-rs) on SuperMicro hardware; fixes solve 1/2 problems & SM responds that can't/won't fix their firmware

2015-12-07 Thread Konrad Rzeszutek Wilk
On Sat, Dec 05, 2015 at 12:54:56PM -0800, PGNet Dev wrote: > On 12/05/2015 11:44 AM, Konrad Rzeszutek Wilk wrote: > >>Two issues exist with the SuperMicro EFI > >> > >>(1) firmware EFI mis-mapping causing Xen PANIC on restart > > > >Can you try 'reboot=acpi' ? > > > ... > >>I.e., what combinati

Re: [Xen-devel] fyi, Xen's EFI workarounds (/mapbs & efi=no-rs) on SuperMicro hardware; fixes solve 1/2 problems & SM responds that can't/won't fix their firmware

2015-12-07 Thread Konrad Rzeszutek Wilk
On Mon, Dec 07, 2015 at 09:20:12AM -0500, Konrad Rzeszutek Wilk wrote: > On Sat, Dec 05, 2015 at 12:54:56PM -0800, PGNet Dev wrote: > > On 12/05/2015 11:44 AM, Konrad Rzeszutek Wilk wrote: > > >>Two issues exist with the SuperMicro EFI > > >> > > >> (1) firmware EFI mis-mapping causing Xen PANIC o

Re: [Xen-devel] [PATCH v3 0/2] block/xen-blkfront: Support non-indirect grant with 64KB page granularity

2015-12-07 Thread Julien Grall
Hi Konrad, On 01/12/15 18:52, Konrad Rzeszutek Wilk wrote: > On Tue, Dec 01, 2015 at 05:55:48PM +, Julien Grall wrote: >> Hi Konrad, >> >> On 01/12/15 15:37, Konrad Rzeszutek Wilk wrote: >>> On Wed, Nov 18, 2015 at 06:57:23PM +, Julien Grall wrote: Hi all, This is a follow-u

[Xen-devel] [PATCH 3.14 20/37] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-07 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns th

[Xen-devel] [PATCH OSSTEST] mg-allocate: fix comment for deallocation

2015-12-07 Thread Wei Liu
Signed-off-by: Wei Liu --- mg-allocate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg-allocate b/mg-allocate index 1e517a2..4c32fa8 100755 --- a/mg-allocate +++ b/mg-allocate @@ -4,7 +4,7 @@ # [!][/][/] type defaults to 'host' #

Re: [Xen-devel] [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 14:09 +, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Ian Campbell Most other places just do "mkdir -p tmp" (-p includes "no error if existing"). I guess it doesn't really matter either way. Ian. > --- >  mg-execute-flight | 2 ++ >  1 file changed, 2 insertions(

[Xen-devel] [PATCH 4.1 41/95] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-07 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the

Re: [Xen-devel] [PATCH OSSTEST] mg-allocate: fix comment for deallocation

2015-12-07 Thread Ian Jackson
Wei Liu writes ("[PATCH OSSTEST] mg-allocate: fix comment for deallocation"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist"): > On Mon, 2015-12-07 at 14:09 +, Wei Liu wrote: > > Signed-off-by: Wei Liu > > Acked-by: Ian Campbell > > Most other places just do "mkdir -p tmp" (-p includes "no error if > existing")

Re: [Xen-devel] fyi, Xen's EFI workarounds (/mapbs & efi=no-rs) on SuperMicro hardware; fixes solve 1/2 problems & SM responds that can't/won't fix their firmware

2015-12-07 Thread PGNet Dev
On 12/07/2015 06:20 AM, Konrad Rzeszutek Wilk wrote: However I am wondering - why are you using '/mapbs' ? What did it help? (The combination of 'efi=no-rs' means you are in effect not using _any_ EFI operations - so doing /mapbs is not needed). I used /mapbs because it was suggested in #irc by

[Xen-devel] [PATCH OSSTEST v2] mg-execute-flight: create tmp directory before using it

2015-12-07 Thread Wei Liu
Signed-off-by: Wei Liu --- mg-execute-flight | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-execute-flight b/mg-execute-flight index 8b2c21c..b0172e0 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -66,6 +66,8 @@ export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\ : ${OSSTE

Re: [Xen-devel] blkback feature announcement

2015-12-07 Thread Konrad Rzeszutek Wilk
On Mon, Dec 07, 2015 at 01:42:09PM +0100, Roger Pau Monné wrote: > El 07/12/15 a les 13.00, Jan Beulich ha escrit: > > Hello, Ccing Bob. > > > > is there a particular reason why "max-ring-page-order" gets written in > > xen_blkbk_probe(), but e.g. "feature-max-indirect-segments" and > > "feature-

Re: [Xen-devel] [PATCH OSSTEST v2] mg-execute-flight: create tmp directory before using it

2015-12-07 Thread Ian Jackson
Wei Liu writes ("[PATCH OSSTEST v2] mg-execute-flight: create tmp directory before using it"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH RFC v2 4/4] xen/MSI: re-expose masking capability

2015-12-07 Thread Stefano Stabellini
On Mon, 7 Dec 2015, Jan Beulich wrote: > >>> On 07.12.15 at 13:45, wrote: > > On Tue, 24 Nov 2015, Jan Beulich wrote: > >> Now that the hypervisor intercepts all config space writes and monitors > >> changes to the masking flags, this undoes the main effect of the > >> XSA-129 fix, exposing the ma

Re: [Xen-devel] [PATCH v3 0/2] block/xen-blkfront: Support non-indirect grant with 64KB page granularity

2015-12-07 Thread Konrad Rzeszutek Wilk
On Mon, Dec 07, 2015 at 02:21:46PM +, Julien Grall wrote: > Hi Konrad, > > On 01/12/15 18:52, Konrad Rzeszutek Wilk wrote: > > On Tue, Dec 01, 2015 at 05:55:48PM +, Julien Grall wrote: > >> Hi Konrad, > >> > >> On 01/12/15 15:37, Konrad Rzeszutek Wilk wrote: > >>> On Wed, Nov 18, 2015 at 0

Re: [Xen-devel] [OSSTEST PATCH 07/11] cri-getconfig: Provide debugging for get_psql_cmd

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 07/11] cri-getconfig: Provide debugging for get_psql_cmd"): > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > If set -x is in force, turn it off for get_psql_cmd: our perl rune is > > uninteresting to see repeated ad infinitum in debugging output.

[Xen-devel] [PATCH 4.2 058/124] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-07 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the

Re: [Xen-devel] [OSSTEST PATCH 06/11] cri-getconfig: Provide get_psql_cmd and get_pgdump_cmd

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 06/11] cri-getconfig: Provide get_psql_cmd and get_pgdump_cmd"): > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > +get_psql_cmd () { > > + perl -we ' > > + use Osstest; > > + use Osstest::Executive; > > + use DBI; > > + csreadconfig();

Re: [Xen-devel] [OSSTEST PATCH 03/11] Configuration: No longer set password=<~/.xen-osstest/db-password>

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 03/11] Configuration: No longer set password=<~/.xen-osstest/db-password>"): > I think you need to create a ~osstest/.pgpass in Cambridge before deploying > this. Yes. I have just done so, and checked that it works: (cam)iwj@osstest:~$ psql -d osstestdb

Re: [Xen-devel] [OSSTEST PATCH 09/11] mg-schema-test-database: New script

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 09/11] mg-schema-test-database: New script"): > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > This allows a user in non-standalone mode to make a whole new test > > database, which is largely a clone of the original database. > > > > The new db

[Xen-devel] [PATCH 4.3 047/125] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-07 Thread Greg Kroah-Hartman
4.3-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the

Re: [Xen-devel] [OSSTEST PATCH 11/11] mg-schema-test-database: Sort out daemons; provide `daemons' subcommand

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 11/11] mg-schema-test-database: Sort out daemons; provide `daemons' subcommand"): > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > We arrange for the test configuration to look for the daemons on a > > different host and port, and we provide a co

Re: [Xen-devel] [OSSTEST PATCH 04/11] mg-debug-fail: New utility script for debugging

2015-12-07 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 04/11] mg-debug-fail: New utility script for debugging"): > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > diff --git a/mg-debug-fail b/mg-debug-fail > > new file mode 100755 > > index 000..64fa235 > > --- /dev/null > > +++ b/mg-debug-fail >

Re: [Xen-devel] [PATCH RFC v2 4/4] xen/MSI: re-expose masking capability

2015-12-07 Thread Jan Beulich
>>> On 07.12.15 at 15:56, wrote: > On Mon, 7 Dec 2015, Jan Beulich wrote: >> >>> On 07.12.15 at 13:45, wrote: >> > On Tue, 24 Nov 2015, Jan Beulich wrote: >> >> Now that the hypervisor intercepts all config space writes and monitors >> >> changes to the masking flags, this undoes the main effect

Re: [Xen-devel] [OSSTEST PATCH 07/11] cri-getconfig: Provide debugging for get_psql_cmd

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 15:02 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 07/11] cri-getconfig: Provide > debugging for get_psql_cmd"): > > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > > If set -x is in force, turn it off for get_psql_cmd: our perl rune is > > >

Re: [Xen-devel] [OSSTEST PATCH 04/11] mg-debug-fail: New utility script for debugging

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 15:10 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 04/11] mg-debug-fail: New > utility script for debugging"): > > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > > diff --git a/mg-debug-fail b/mg-debug-fail > > > new file mode 100755 > > > in

Re: [Xen-devel] [OSSTEST PATCH 04/11] mg-debug-fail: New utility script for debugging

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 15:40 +, Ian Campbell wrote: > On Mon, 2015-12-07 at 15:10 +, Ian Jackson wrote: > > Ian Campbell writes ("Re: [OSSTEST PATCH 04/11] mg-debug-fail: New > > utility script for debugging"): > > > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > > > diff --git a/

Re: [Xen-devel] [OSSTEST PATCH 09/11] mg-schema-test-database: New script

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 15:12 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 09/11] mg-schema-test-database: > New script"): > > On Fri, 2015-12-04 at 19:35 +, Ian Jackson wrote: > > > This allows a user in non-standalone mode to make a whole new test > > > database, which i

Re: [Xen-devel] [PATCH v2 1/4] xen/MSI-X: latch MSI-X table writes

2015-12-07 Thread Jan Beulich
>>> On 07.12.15 at 13:41, wrote: > On Tue, 24 Nov 2015, Jan Beulich wrote: >> @@ -332,6 +334,13 @@ static int xen_pt_msix_update_one(XenPCI >> >> pirq = entry->pirq; > > I know that in your opinion is superfluous, nonetheless could you please > add 2-3 lines of in-code comment right here,

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

2015-12-07 Thread Jan Beulich
>>> On 05.12.15 at 09:09, wrote: > On Wed, 2015-12-02 at 13:51 +, Ian Campbell wrote: > >> http://osstest.test-lab.xenproject.org/~osstest/pub/logs/65301/ >> >> I think that ought to give a baseline for the bisector to work with. I'll >> prod it to do so. > > Results are below. TL;DR: d02e

[Xen-devel] [PATCH RFC 0/3] Xen on Virtio

2015-12-07 Thread Stefano Stabellini
Hi all, this patch series introduces support for running Linux on top of Xen inside a virtual machine with virtio devices (nested virt scenario). The problem is that Linux virtio drivers use virt_to_phys to get the guest pseudo-physical addresses to pass to the backend, which doesn't work as expec

[Xen-devel] [PATCH RFC 1/3] xen: export xen_phys_to_bus, xen_bus_to_phys and xen_virt_to_bus

2015-12-07 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini CC: konrad.w...@oracle.com CC: boris.ostrov...@oracle.com CC: david.vra...@citrix.com --- drivers/xen/swiotlb-xen.c | 31 --- include/xen/swiotlb-xen.h | 32 2 files changed, 32 insertions(+), 31 de

[Xen-devel] [PATCH RFC 2/3] xen/virtio: allocate a contiguous region to be use as virtio queue

2015-12-07 Thread Stefano Stabellini
When running on Xen inside as virtual machine (nested virt scenario), memory allocated by alloc_pages_exact might not actually be contiguous. Call xen_swiotlb_alloc_coherent instead, which is going to take care of making the buffer contiguous in machine memory. No changes in behavior for the non-X

[Xen-devel] [PATCH RFC 3/3] xen/virtio_ring: introduce cpu_to_virtio_addr and virtio_addr_to_cpu

2015-12-07 Thread Stefano Stabellini
When running on Xen inside as virtual machine (nested virt scenario), addresses need to be translated from phys to machine to get the actual guest pseudo-physical address. Introduce a new pair of functions, cpu_to_virtio_addr and virtio_addr_to_cpu, which call the appriopriate __virtio64_to_cpu an

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

2015-12-07 Thread Ian Campbell
On Mon, 2015-12-07 at 09:18 -0700, Jan Beulich wrote: > > > > On 05.12.15 at 09:09, wrote: > > On Wed, 2015-12-02 at 13:51 +, Ian Campbell wrote: > > > > > http://osstest.test-lab.xenproject.org/~osstest/pub/logs/65301/ > > > > > > I think that ought to give a baseline for the bisector to w

Re: [Xen-devel] [PATCH v2 8/8] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-12-07 Thread David Laight
From: Michal Marek > Sent: 04 December 2015 15:26 > Otherwise make tags can't parse them: > > ctags: Warning: arch/ia64/kernel/smp.c:60: null expansion of name pattern "\1" ... Seems to me you need to fix ctags. David ___ Xen-devel mailing lis

[Xen-devel] [FOR 1.3.0 PATCH] conf: add net device prefix for Xen

2015-12-07 Thread Jim Fehlig
In commit d2e5538b1, the libxl driver was changed to copy interface names autogenerated by libxl to the corresponding network def in the domain's virDomainDef object. The copied name is freed when the domain transitions to the shutoff state. But when migrating a domain, the autogenerated name is in

  1   2   >