Re: [Xen-devel] [PATCH RFC 34/35] arm : acpi workarounds for firmware/linux dependencies

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit Some bugs are identified in edk2 and some of the functionality is not yet merged. This patch contains workarounds for them While I understand some workaround (based on your cover letter), some of them is unclear

Re: [Xen-devel] [PATCH RFC 25/35] arm: acpi add helper functions to map memory regions

2015-02-04 Thread Julien Grall
Hi parth, Title: this is not acpi specific. On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit For passing ACPI tables to dom0, UEFI memory needs to be mapped by xen in dom0 address space. This patch adds helper functions for mapping. I believe that this is not ACPI/RAM sp

Re: [Xen-devel] [PATCH RFC 33/35] arm : acpi enable efi for acpi

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit efi should be enabled to fetch the root pointer from uefi Signed-off-by: Parth Dixit --- xen/common/efi/runtime.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/xen/common/efi/runtime.c b/xen/common/

Re: [Xen-devel] [PATCH RFC 30/35] arm : acpi map XSDT table to dom0

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit XSDT table cannot be passed as is to dom0 because new tables specific to xen need to be added to its table entries Signed-off-by: Parth Dixit --- xen/arch/arm/arm64/acpi/arm-core.c | 65 +++

Re: [Xen-devel] [PATCH RFC 28/35] arm: acpi map acpi tables in dom0

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit map acpi tables described in uefi table to dom0 address space Signed-off-by: Parth Dixit --- xen/arch/arm/arm64/acpi/arm-core.c | 43 ++ xen/arch/arm/domain_build.c|

Re: [Xen-devel] [PATCH RFC 31/35] arm : acpi map status override table to dom0

2015-02-04 Thread Julien Grall
Hi Parth, You don't only map the status override table. You also create it. I would update the commit title to reflect it. On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit hide UART used by xen by indicating it in STAO table and map it to dom0 Signed-off-by: Parth Dixit

Re: [Xen-devel] [PATCH RFC 32/35] arm : acpi map xen environment table to dom0

2015-02-04 Thread Julien Grall
Hi Parth, As for the STAO table, this is not only mapping but also creating the table. On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit xen environment table contains the grant table address,size and event , size channel interrupt information required by dom0. Signed-

Re: [Xen-devel] [PATCH RFC 29/35] arm : acpi enable PSCI and hvc in acpi FADT table

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit Enable PSCI and hvc flags in FADT table so that dom0 uses PSCI to boot vcpu's VCPUs Signed-off-by: Parth Dixit --- xen/arch/arm/arm64/acpi/arm-core.c | 16 1 file changed, 16 insertions(+)

Re: [Xen-devel] [PATCH RFC 21/35] xen/arm: Create memory node for DOM0

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Naresh Bhat Create a memory node for DOM0. I'm not convince it's necessary to have a separate patch for this. I would squash it the #20. Signed-off-by: Naresh Bhat --- xen/arch/arm/domain_build.c | 48 +

Re: [Xen-devel] [PATCH RFC 26/35] arm : acpi read mmio tables from uefi

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit For ACPI on arm device initialization is done by dom0 after parsing DSDT. For ACPI on ARM, device ... xen requires mmio region information described in uefi tables for mapping it to dom0. Signed-off-by: Parth D

Re: [Xen-devel] [PATCH RFC 20/35] xen/arm: Prepare a min DT for DOM0

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Naresh Bhat This patch prepare a DT from scratch for DOM0 for ACPI-case only. Basically the DT contains minmal required informations such as DOM0 bootargs, memory and ACPI RSDP informations only. Signed-off-by: Naresh Bhat --

Re: [Xen-devel] [PATCH RFC 18/35] arm : add helper function for setting interrupt type

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit set edge/level type information for an interrupt Signed-off-by: Parth Dixit --- xen/arch/arm/irq.c| 19 +++ xen/include/asm-arm/irq.h | 4 2 files changed, 23 insertions(+) diff

Re: [Xen-devel] [PATCH RFC 17/35] pl011: Initialize serial from ACPI SPCR table

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Naresh Bhat Parse ACPI SPCR (Serial Port Console Redirection table) table and initialize the serial port pl011. Signed-off-by: Naresh Bhat Signed-off-by: Parth Dixit --- xen/arch/arm/setup.c | 6 + xen/drivers/c

Re: [Xen-devel] [PATCH RFC 12/35] ARM64: Initialization of cpu_logical_map(0)

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat Initialization of cpu_logical_map(0) before acpi_boot_init() Perhaps, merging with the previous patch? Regards, Signed-off-by: Hanjun Guo Signed-off-by: Naresh Bhat --- xen/arch/arm/setup.c | 5 + 1 fi

Re: [Xen-devel] [PATCH RFC 19/35] ACPI / GICv2: Add GIC specific ACPI boot support

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Naresh Bhat ACPI on Xen hypervisor uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardwa

Re: [Xen-devel] [PATCH RFC 16/35] ARM64 / ACPI: Parse GTDT to initialize timer

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Naresh Bhat Parse GTDT (Generic Timer Descriptor Table) to initialize timer. Using the information presented by GTDT to initialize the arch timer (not momery-mapped). memory-mapped Signed-off-by: Naresh Bhat Signed-off-by:

Re: [Xen-devel] [PATCH RFC 06/35] ACPI: Add Generic Interrupt and Distributor struct

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat Add Generic Interrupt and Distributor (ACPI 5.0) structure. Signed-off-by: Naresh Bhat --- xen/include/acpi/actbl1.h | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --g

Re: [Xen-devel] [PATCH RFC 11/35] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR

Re: [Xen-devel] [PATCH RFC 04/35] ACPI / ACPICA: Introduce ARM Boot Architecture Flags in FADT

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat The Power State Coordination Interface (PSCI) defines an API that can be used to coordinate power control amongst the various supervisory systems concurrently running on a device. ACPI support for thi

Re: [Xen-devel] [PATCH RFC 10/35] asm / arm: Introduce cputype.h

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat Introduce cputype.h file for arm Most of the defines introduced already exists in asm-arm/processor.h If you really want a separate file, which I don't think it's necessary, please drop the defines in asm-arm/pr

Re: [Xen-devel] [PATCH RFC 09/35] Add cpumask_next_zero set_cpu_present and possible

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat Introduce and use cpumask_next_zero, set_cpu_present and set_cpu_possible. Why don't you use cpu_possible_map, cpu_present_map? Signed-off-by: Naresh Bhat --- xen/common/cpu.c | 18 ++

Re: [Xen-devel] [PATCH RFC 05/35] ARM64 / ACPI: Parse FADT table to get PSCI flags

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, the former signals to the OS that the hardware is PSCI compliant. The latter selects the appropriate conduit for PSCI calls by toggling between Hypervi

Re: [Xen-devel] [PATCH RFC 03/35] xen: arm64: ACPI: Add basic ACPI initialization

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat This patch introduce arm-core.c and its related header file - asm/acpi.h for arch specific variables and functions needed by ACPI driver core; - arm-core.c for ARM64 related ACPI implementation for ACPI driver

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

2015-02-04 Thread xen . org
flight 34153 xen-4.3-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34153/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-win7-amd64 7 windows-install fail REGR. vs. 33687 Regressions which

Re: [Xen-devel] [PATCH RFC 19/35] ACPI / GICv2: Add GIC specific ACPI boot support

2015-02-04 Thread Parth Dixit
On 4 February 2015 at 20:13, G Gregory wrote: > On 4 February 2015 at 14:02, wrote: >> From: Naresh Bhat >> >> ACPI on Xen hypervisor uses MADT table for proper GIC initialization. >> It needs to parse GIC related subtables, collect CPU interface and >> distributor >> addresses and call driver

[Xen-devel] [Patch v4 01/23] ACPICA: Resources: Provide common part for struct acpi_resource_address structures.

2015-02-04 Thread Jiang Liu
From: Lv Zheng struct acpi_resource_address and struct acpi_resource_extended_address64 share substracts just at different offsets. To unify the parsing functions, OSPMs like Linux need a new ACPI_ADDRESS64_ATTRIBUTE as their substructs, so they can extract the shared data. This patch also sync

[Xen-devel] [xen-4.4-testing test] 34151: tolerable FAIL - PUSHED

2015-02-04 Thread xen . org
flight 34151 xen-4.4-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34151/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-pair17 guest-migrate/src_host/dst_host fail like 34091 Tests which did not succee

Re: [Xen-devel] [Xen-users] Xen memory allocation for dom0 and domU

2015-02-04 Thread Jintack Lim
On Wed, Feb 4, 2015 at 9:55 PM, Jintack Lim wrote: > On Wed, Feb 4, 2015 at 11:41 AM, Ian Campbell wrote: >> >> Patch for all this below. Jan, I don't think there is any (possibly >> historical on x86_32) x86 option we should be trying to be consistent >> with. > > Thanks, Ian. > Your patch works

Re: [Xen-devel] apic-v reduce network performance in my test case

2015-02-04 Thread Liuqiming (John)
On 2015/2/5 10:57, Liuqiming (John) wrote: sorry for late replay On 2015/2/3 23:32, Konrad Rzeszutek Wilk wrote: > On Tue, Feb 03, 2015 at 10:24:08AM +0800, Liuqiming (John) wrote: > > On 2015/2/2 22:59, Konrad Rzeszutek Wilk wrote: > >> On Mon, Feb 02, 2015 at 09:58:57PM +0800, Liuqiming (John)

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

2015-02-04 Thread xen . org
flight 34146 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34146/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-debianhvm-amd64 7 debian-hvm-install fail REGR. vs. 33480 test-amd64-i38

Re: [Xen-devel] [Xen-users] Xen memory allocation for dom0 and domU

2015-02-04 Thread Jintack Lim
On Wed, Feb 4, 2015 at 11:41 AM, Ian Campbell wrote: > > Patch for all this below. Jan, I don't think there is any (possibly > historical on x86_32) x86 option we should be trying to be consistent > with. Thanks, Ian. Your patch works well! Jintack _

Re: [Xen-devel] [v2][PATCH] libxl: add one machine property to support IGD GFX passthrough

2015-02-04 Thread Chen, Tiejun
On 2015/2/4 18:41, Ian Campbell wrote: On Wed, 2015-02-04 at 09:34 +0800, Chen, Tiejun wrote: "-machine xxx,igd-passthru=on", to enable/disable that feature. And we also remove that old option, "-gfx_passthru", just from the case of LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN sinc

Re: [Xen-devel] [PATCH 3/3] mini-os: sort objects in binary archives

2015-02-04 Thread Samuel Thibault
Olaf Hering, le Tue 03 Feb 2015 12:45:37 +0100, a écrit : > When building stubdom the mini-os objects are also linked into the > binary. Unfortunately the linker will place them in the order found in > the archive. Since this order is random the resulting stubdom binary > differs when it was built

Re: [Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-04 Thread Don Slutz
On 02/04/15 12:01, Jan Beulich wrote: > The former gets enforced by our debug builds, the latter appears to be > not uncommon for certain distros' Python packages. Newer glibc warns on > uses of _FORTIFY_SOURCE without optimization being enabled, which with > -Werror causes the build to fail. > >

Re: [Xen-devel] [PATCH] x86/hvm: Fix HVM guest regression introduced by c58ba78c84

2015-02-04 Thread Don Slutz
On 02/04/15 08:02, Andrew Cooper wrote: > On 04/02/15 13:00, Jan Beulich wrote: > On 04.02.15 at 13:56, wrote: >>> Something between d0b2caa..c58ba78 has broken HVM guests to point at >>> which HVMloader doesn't reliably function. >> And no crash (with register state dumped) or any other hint

Re: [Xen-devel] Stubdom breakage in 4.5

2015-02-04 Thread Don Slutz
On 02/03/15 09:00, Paul Durrant wrote: >> -Original Message- >> From: Ian Campbell >> Sent: 03 February 2015 13:48 >> To: Paul Durrant >> Cc: Wei Liu; xen-devel@lists.xen.org; Ian Jackson; Jan Beulich; Andrew >> Cooper; Stefano Stabellini >> Subject: Re: Stubdom breakage in 4.5 >> >> On Tue

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

2015-02-04 Thread xen . org
flight 34141 linux-next real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34141/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemuu-rhel6hvm-intel 5 xen-boot fail REGR. vs. 33881 test-amd64-i386-xl-qem

Re: [Xen-devel] Stubdom breakage in 4.5

2015-02-04 Thread Don Slutz
On 02/04/15 07:58, Paul Durrant wrote: >> -Original Message- >> From: Ian Campbell >> Sent: 04 February 2015 12:30 >> To: Paul Durrant >> Cc: Wei Liu; xen-devel@lists.xen.org; Ian Jackson; Jan Beulich; Andrew >> Cooper; Stefano Stabellini >> Subject: Re: Stubdom breakage in 4.5 >> >> On Tue

Re: [Xen-devel] [edk2] [PATCH v3 21/27] Ovmf/Xen: add ARM and AArch64 support to XenBusDxe

2015-02-04 Thread Jordan Justen
On 2015-02-03 11:20:06, Ard Biesheuvel wrote: > This patch adds support to XenBusDxe for executing on ARM and AArch64 > machines (the former only when built with GCC). > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ard Biesheuvel > --- > OvmfPkg/XenBusDxe/AtomicsGcc

Re: [Xen-devel] [Qemu-devel] [PATCH] vl.c: fixed QEMU crash if no display was selected in command line

2015-02-04 Thread Marcel Apfelbaum
On 02/04/2015 10:40 PM, Don Slutz wrote: A proper fix for this is the thread: I suspected I don't have the whole picture, good to know it is fixed! Thanks! Marcel Subject: [PATCH v2 0/3] fix qemu crash about vnc Date: Fri, 30 Jan 2015 10:14:33 +0800 Message-ID: <1422584076-5728-1-git-send-em

Re: [Xen-devel] [Qemu-devel] [PATCH] vl.c: fixed QEMU crash if no display was selected in command line

2015-02-04 Thread Don Slutz
A proper fix for this is the thread: Subject: [PATCH v2 0/3] fix qemu crash about vnc Date: Fri, 30 Jan 2015 10:14:33 +0800 Message-ID: <1422584076-5728-1-git-send-email-arei.gong...@huawei.com> This also has a bug: https://bugs.launchpad.net/qemu/+bug/1414222 Xen expects this to be working.

[Xen-devel] [xen-unstable test] 34137: tolerable FAIL - PUSHED

2015-02-04 Thread xen . org
flight 34137 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34137/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-sedf 5 xen-boot fail REGR. vs. 34087 test-amd64-i386-pair1

Re: [Xen-devel] [PATCH RFC 10/35] asm / arm: Introduce cputype.h

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > Introduce cputype.h file for arm > > Signed-off-by: Naresh Bhat > --- > xen/include/asm-arm/cputype.h | 83 > +++ > 1 file changed, 83 insertions(+) > create mode 100644 xen/incl

Re: [Xen-devel] [PATCH RFC 09/35] Add cpumask_next_zero set_cpu_present and possible

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > Introduce and use cpumask_next_zero, set_cpu_present and set_cpu_possible. > > Signed-off-by: Naresh Bhat > --- > xen/common/cpu.c | 18 ++ > xen/include/xen/cpumask.h | 40 ++

Re: [Xen-devel] [qemu-mainline bisection] complete test-amd64-i386-rhel6hvm-intel

2015-02-04 Thread Don Slutz
This looks like: https://bugs.launchpad.net/qemu/+bug/1414222 Patch "fix qemu crash about vnc" is still pending. -Don Slutz On 01/31/15 23:25, xen.org wrote: > branch xen-unstable > xen branch xen-unstable > job test-amd64-i386-rhel6hvm-intel > test redhat-install > > Tree: linux git://xenb

Re: [Xen-devel] [PATCH RFC 07/35] ACPI / ACPICA: Add new features for MADT which introduced by ACPI 5.1

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > Add new features for MADT which introduced by ACPI 5.1: > -comment on the GIC ID field of the GIC structure which is replaced > by CPU Interface Number. > -add new fields: Redistributor Base Address, GICV, GICH, and MPIDR.

Re: [Xen-devel] [PATCH RFC 06/35] ACPI: Add Generic Interrupt and Distributor struct

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > Add Generic Interrupt and Distributor (ACPI 5.0) structure. > > Signed-off-by: Naresh Bhat > --- > xen/include/acpi/actbl1.h | 29 - > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff

Re: [Xen-devel] [PATCH RFC 05/35] ARM64 / ACPI: Parse FADT table to get PSCI flags

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, > the former signals to the OS that the hardware is PSCI compliant. > The latter selects the appropriate conduit for PSCI calls by > toggling between Hyperviso

Re: [Xen-devel] [PATCH RFC 04/35] ACPI / ACPICA: Introduce ARM Boot Architecture Flags in FADT

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > The Power State Coordination Interface (PSCI) defines an API that > can be used to coordinate power control amongst the various supervisory > systems concurrently running on a device. ACPI support for this >

Re: [Xen-devel] [PATCH RFC 03/35] xen: arm64: ACPI: Add basic ACPI initialization

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > This patch introduce arm-core.c and its related header file > > - asm/acpi.h for arch specific variables and functions needed by > ACPI driver core; > - arm-core.c for ARM64 related ACPI implementation for ACPI driver >

Re: [Xen-devel] [PATCH RFC 02/35] xen: arm64: ACPI: Support common ACPI drivers

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat xen hypervisor will use ACPI for initialisation in the same manner that current x86/x86_64 ones do. Add the calls to initialise the ACPI tables and load devices using the xen/drivers/acpi subsytem. All changes in

Re: [Xen-devel] [PATCH RFC 02/35] xen: arm64: ACPI: Support common ACPI drivers

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: > From: Naresh Bhat > > xen hypervisor will use ACPI for initialisation in the same manner that > current x86/x86_64 ones do. Add the calls to initialise the ACPI tables > and load devices using the xen/drivers/acpi subsytem. > > Signed-off-by: N

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

2015-02-04 Thread xen . org
flight 34131 qemu-upstream-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34131/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386 11 guest-localmigrate fail REGR. vs. 33488 test-amd64

[Xen-devel] [PATCH] xen/arm: Call context_saved() with interrupts enabled during context switch

2015-02-04 Thread Denis Drozdov
From: denys drozdov This is a requirement of the scheduler interface, violating this causes for example with the RT scheduler: (XEN) Assertion 'local_irq_is_enabled()' failed at spinlock.c:137 (XEN) [ Xen-4.5.0 arm32 debug=y Not tainted ] (XEN) CPU:0 (XEN) PC: 0022a074 _spin_l

Re: [Xen-devel] [PATCH RFC 01/35] xen: acpi: Build numa and pmstate x86 only

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Naresh Bhat Configure and build numa, pmstate for x86 architecture only. Can you explain why you need to disable them? I.e this code is contains some x86 dependencies and both feature are not supported on ARM right now. R

Re: [Xen-devel] [PATCH OSSTEST v6 9/9] mfi-common, make-flight: create XSM test jobs

2015-02-04 Thread Wei Liu
On Wed, Feb 04, 2015 at 04:47:51PM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH OSSTEST v6 9/9] mfi-common, make-flight: create XSM > test jobs"): > > Duplicate Debian PV and HVM test jobs for XSM testing. > > This looks pretty good. I have one minor comment: > > > + xsm_suffix="" > > +

[Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-04 Thread Jan Beulich
The former gets enforced by our debug builds, the latter appears to be not uncommon for certain distros' Python packages. Newer glibc warns on uses of _FORTIFY_SOURCE without optimization being enabled, which with -Werror causes the build to fail. Determine Python's intended flags to be passed to

[Xen-devel] [CALL-FOR-AGENDA] Monthly Xen.org Technical Call (2015-02-11)

2015-02-04 Thread Ian Campbell
The next Xen technical call should be at: Wed 11 Feb 17:00:00 GMT 2015 date -d @1423674000 However I'm going to be at a conference next week in GMT+8, so I'm not available to chair. If there is something which needs urgent discussion then I can try and find a standin, otherwise I suggest w

Re: [Xen-devel] [Xen-users] Xen memory allocation for dom0 and domU

2015-02-04 Thread Jan Beulich
>>> On 04.02.15 at 17:41, wrote: > I originally used to think that domheap allocations would fall back to > the xenheap if the domheap was exhausted, but I think I was mistaken in > that. That's an arch choice actually - there are two variants of the Xen heap allocation function. > Patch for all

Re: [Xen-devel] [PATCH OSSTEST v6 9/9] mfi-common, make-flight: create XSM test jobs

2015-02-04 Thread Ian Jackson
Wei Liu writes ("[PATCH OSSTEST v6 9/9] mfi-common, make-flight: create XSM test jobs"): > Duplicate Debian PV and HVM test jobs for XSM testing. This looks pretty good. I have one minor comment: > + xsm_suffix="" > + for rv in $@ ; do > + case $rv in > + enable_xsm=true) xsm_su

[Xen-devel] question about memory allocation for driver domain

2015-02-04 Thread Oleksandr Tyshchenko
Hi, all. We have begun to use the driver domain on OMAP5 platform. To make driver domain running on OMAP5 platform we need to have it memory 1 to 1 mapped because of lacking SMMU support on this platform. To satisfy this requirement we have done temporally solution which works but not entirely com

Re: [Xen-devel] [PATCH v3 21/27] Ovmf/Xen: add ARM and AArch64 support to XenBusDxe

2015-02-04 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Ard Biesheuvel wrote: > This patch adds support to XenBusDxe for executing on ARM and AArch64 > machines (the former only when built with GCC). Wouldn't it be simpler to just provide an asm implementation of them? Similarly to OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm and Ovmf

Re: [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm

2015-02-04 Thread Julien Grall
Hello, On 04/02/2015 15:13, Ian Campbell wrote: On Mon, 2015-02-02 at 20:03 +0200, Denis Drozdov wrote: From: denys drozdov Make Credit2 and RT schedulers to run on arm platform context_saved should be deferred on ARM after IRQs enabled A better subject+message would be: xen/arm:

Re: [Xen-devel] [PATCH v2] Fix building error

2015-02-04 Thread Olaf Hering
On Wed, Feb 04, Jan Beulich wrote: > I also checked Python, and they also seem to have been enabling > _FORTIFY_SOURCE forever. Consequently, with the previously suggested > patches not having found acceptance, how about I'm sure python just carries the CFLAGS used for its build, so that other py

Re: [Xen-devel] [Xen-users] Xen memory allocation for dom0 and domU

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 14:55 +, Ian Campbell wrote: > On Wed, 2015-02-04 at 09:45 -0500, Jintack Lim wrote: > > > Don't forget that Xen itself will consume some RAM, according to your > > > numbers it's something between 256M and 350M on this system (that's more > > > than my gut feeling expects

Re: [Xen-devel] [PATCH RFC 00/35] Add ACPI support for arm64 on Xen

2015-02-04 Thread Julien Grall
Hi Parth, On 04/02/2015 14:01, parth.di...@linaro.org wrote: From: Parth Dixit This patch series adds ACPI support for arm64. Thank you for sending the ACPI patch series. I will give a look at it before the connect, so we could talk about it next week. Xen reads static tables described by

Re: [Xen-devel] [PATCH] common/xz: add comments for the intentionally missing break statements

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 16:08 +, Jan Beulich wrote: > Signed-off-by: Lasse Collin > [Linux commit 84d517f3e56f7d0d305c14a701cee8f7372ebe1e] > Signed-off-by: Jan Beulich Acked-by: IAn Campbell > > --- a/xen/common/xz/dec_lzma2.c > +++ b/xen/common/xz/dec_lzma2.c > @@ -1043,6 +1043,8 @@ XZ_EX

[Xen-devel] [PATCH OSSTEST v6 2/9] ts-xen-build-prep: install checkpolicy

2015-02-04 Thread Wei Liu
This is used to complie Flask policy. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- ts-xen-build-prep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 24a8b25..3684c0a 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -17

[Xen-devel] [PATCH OSSTEST v6 9/9] mfi-common, make-flight: create XSM test jobs

2015-02-04 Thread Wei Liu
Duplicate Debian PV and HVM test jobs for XSM testing. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- Changes in v6: 1. Skip generating xsm job for different platforms. 2. Use "xsms". 3. Reformat some long lines. --- make-flight | 53 +++

[Xen-devel] [PATCH OSSTEST v6 8/9] make-flight: factor out do_pv_debian_tests

2015-02-04 Thread Wei Liu
Pure code motion. No effect on job generation. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson Acked-by: Ian Campbell Acked-by: Ian Jackson --- make-flight | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make-flight b/make-flight index 63b14f5..0cb9b98 100

[Xen-devel] [PATCH OSSTEST v6 4/9] mfi-common: create build-$arch-xsm job

2015-02-04 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Campbell --- Changes in v4: 1. Use "true" and "false" instead of "y" and "n". 2. Rename xenbranch_wants_xsm_tests to xenbranch_xsm_variants. --- mfi-common | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/mfi-common

[Xen-devel] [PATCH OSSTEST v6 6/9] Debian.pm: load flask policy in uboot

2015-02-04 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Campbell Acked-by: Ian Jackson --- Osstest/Debian.pm | 20 1 file changed, 20 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8efc89e..5c5ce7a 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -153,6 +153,

[Xen-devel] [PATCH OSSTEST v6 3/9] ts-xen-build: build with XSM support if requested

2015-02-04 Thread Wei Liu
Signed-off-by: Wei Liu Cc: Ian Jackson Cc: Ian Campbell Acked-by: Ian Campbell Acked-by: Ian Jackson --- Changes in v5: 1. Only set XSM_ENABLE when runvar is defined. 2. Fix inconsistent whitespace. Changes in v4: 1. Use "true" instead of "y" --- ts-xen-build | 14 ++ 1 file chan

[Xen-devel] [PATCH OSSTEST v6 1/9] overlay: update overlay/etc/grub.d/20_linux_xen

2015-02-04 Thread Wei Liu
This file was originally created to work around Debian bug #633127 ("/etc/grub/20_linux does not recognise some old Xen kernels"). According to Debian bug tracker [0], #633127 bug is fixed in Wheezy. As we're now using Wheezy in OSSTest we can safely remove the old overlay file if there's no furth

[Xen-devel] [PATCH OSSTEST v6 0/9] XSM test case for OSSTest

2015-02-04 Thread Wei Liu
Hi all This patch series attempts to duplicate some Debian test cases for XSM. This is version 6 of this series, rebased on top of OSSTest pretest branch. Tests duplicated for xen-unstable branch: build-{i386,amd64,armhf}-xsm test-amd64-{i386,amd64}-{xl,libvirt}-xsm test-armhf-armhf-{xl,lib

[Xen-devel] [PATCH OSSTEST v6 7/9] ts-xen-install: install Xen with XSM support if requested

2015-02-04 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Campbell --- Changes in v4: 1. Use "true" instead of "y" --- ts-xen-install | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index 829c3e9..de4324a 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -46,

[Xen-devel] [PATCH OSSTEST v6 5/9] Debian.pm: pass in XSM configuration to bootloader setup routines

2015-02-04 Thread Wei Liu
Change to Uboot will come in another patch. GRUB 1 is ignored, as currently OSSTest only has Wheezy which has GRUB 2. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- Changes in v6: 1. Wrap some overly long lines. Changes in v4: 1. Modify callsite of debian_boot_setup to avoid regression. ---

Re: [Xen-devel] [PATCH] libvchan: address compiler warnings

2015-02-04 Thread Wei Liu
On Wed, Feb 04, 2015 at 04:07:48PM +, Jan Beulich wrote: > Both vchan_wr() and stdout_wr() should be defined with a non-empty > argument list (i.e. void). Additionally both of them as well as usage() > should be static to make clear that no other code is referencing them. > > Further, statemen

Re: [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm

2015-02-04 Thread Dario Faggioli
On Wed, 2015-02-04 at 15:13 +, Ian Campbell wrote: > On Mon, 2015-02-02 at 20:03 +0200, Denis Drozdov wrote: > > From: denys drozdov > > > > Make Credit2 and RT schedulers to run on arm platform > > context_saved should be deferred on ARM after IRQs enabled > > A better subject+message would

Re: [Xen-devel] [PATCH v2] Fix building error

2015-02-04 Thread Ian Jackson
Jan Beulich writes ("Re: [Xen-devel] [PATCH v2] Fix building error"): > On 04.02.15 at 16:43, wrote: > > This is still bad. What if the user explicitly wants to build without > > optimisation ? That's not unusual. And it's only the combination of > > -O0 and FORTIFY that fails. (And it's only

[Xen-devel] [PATCH] common/xz: add comments for the intentionally missing break statements

2015-02-04 Thread Jan Beulich
Signed-off-by: Lasse Collin [Linux commit 84d517f3e56f7d0d305c14a701cee8f7372ebe1e] Signed-off-by: Jan Beulich --- a/xen/common/xz/dec_lzma2.c +++ b/xen/common/xz/dec_lzma2.c @@ -1043,6 +1043,8 @@ XZ_EXTERN enum xz_ret INIT xz_dec_lzma2_ s->lzma2.sequence = SEQ_LZMA_PRE

[Xen-devel] [PATCH] libvchan: address compiler warnings

2015-02-04 Thread Jan Beulich
Both vchan_wr() and stdout_wr() should be defined with a non-empty argument list (i.e. void). Additionally both of them as well as usage() should be static to make clear that no other code is referencing them. Further, statements should follow declarations. Signed-off-by: Jan Beulich --- a/tool

Re: [Xen-devel] [PATCH v2] Fix building error

2015-02-04 Thread Jan Beulich
>>> On 04.02.15 at 16:43, wrote: > Jan Beulich writes ("Re: [Xen-devel] [PATCH v2] Fix building error"): >> On 15.01.15 at 12:26, wrote: >> > Assuming that the underlying bug is intractible I think the right >> > answer is for an affected developer to do one of the following, as a >> > workaround

Re: [Xen-devel] [OSSTEST PATCH] mg-debian-installer-update: produce deterministic output

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 15:40 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [OSSTEST PATCH] > mg-debian-installer-update: produce deterministic output"): > > On Mon, 2015-01-12 at 12:27 +, Ian Jackson wrote: > > > Ian Campbell writes ("Re: [Xen-devel] [OSSTEST PATCH] > > > m

Re: [Xen-devel] [PATCH v2] Fix building error

2015-02-04 Thread Ian Jackson
Jan Beulich writes ("Re: [Xen-devel] [PATCH v2] Fix building error"): > On 15.01.15 at 12:26, wrote: > > Assuming that the underlying bug is intractible I think the right > > answer is for an affected developer to do one of the following, as a > > workaround: either, manually override Fortify when

Re: [Xen-devel] [OSSTEST PATCH] mg-debian-installer-update: produce deterministic output

2015-02-04 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [OSSTEST PATCH] mg-debian-installer-update: produce deterministic output"): > On Mon, 2015-01-12 at 12:27 +, Ian Jackson wrote: > > Ian Campbell writes ("Re: [Xen-devel] [OSSTEST PATCH] > > mg-debian-installer-update: produce deterministic output"): > > >

Re: [Xen-devel] [PATCH v2] Fix building error

2015-02-04 Thread Jan Beulich
>>> On 15.01.15 at 12:26, wrote: > Wen Congyang writes ("[PATCH v2] Fix building error"): >> ifeq ($(debug),y) >> # Disable optimizations and enable debugging information for macros >> CFLAGS += -O0 -g3 >> +# _FORTIFY_SOURCE requires compiling with optimization >> +CFLAGS += -Wp,-U_FORTIFY_SOUR

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

2015-02-04 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [linux-3.14 bisection] complete test-amd64-amd64-xl-qemut-winxpsp3"): > On Wed, 2015-02-04 at 15:19 +, Stefano Stabellini wrote: > > Is it possible that the bisector is confused? > > It was bisecting over b91261aa8a..4d7313cd7cbe, which doesn't include >

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-04 Thread Paul Durrant
> -Original Message- > From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com] > Sent: 04 February 2015 15:12 > To: Ian Jackson > Cc: xen-de...@lists.xensource.com; Stefano Stabellini; Paul Durrant; Ian > Campbell > Subject: Re: [qemu-upstream-unstable bisection] complete test-am

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

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 15:19 +, Stefano Stabellini wrote: > On Mon, 2 Feb 2015, xen.org wrote: > > branch xen-unstable > > xen branch xen-unstable > > job test-amd64-amd64-xl-qemut-winxpsp3 > > test xen-boot > > > > Tree: linux > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-sta

[Xen-devel] [OSSTest PATCH v2 1/2] ts-cpupools: new test script

2015-02-04 Thread Dario Faggioli
for smoke testing cpupools a bit. It tries to partition a live host in two cpupools, trying out the following 3 schedulers for the new cpupool (one after the other): credit, credit2 and RTDS. It also tries to migrating a domain to the new cpupool and then back to Pool-0. Signed-off-by: Dario Fag

[Xen-devel] [OSSTest PATCH v2 2/2] Testing cpupools: recipe for it and job definition

2015-02-04 Thread Dario Faggioli
Signed-off-by: Dario Faggioli --- Changes from v1: * added invocation to ts-guest-stop in the recipe to kill leak-check complaints (which went unnoticed during v1 testing, sorry) * moved the test before the "ARM cutoff", and remove the per-arch filtering, so that the test can run on ARM

[Xen-devel] [OSSTest PATCH v2 0/2] Test case for cpupools

2015-02-04 Thread Dario Faggioli
We aren't doing any cpupools smoke testing as of now. So, do some. :-) As suggested by Juergen, I adjusted things such that we are now generating test jobs for ARM too. In fact, here is the list of jobs, and for each jobs the runvars, being introduced by this series: dariof@hoopak:~/osstest.git$

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

2015-02-04 Thread Stefano Stabellini
On Mon, 2 Feb 2015, xen.org wrote: > branch xen-unstable > xen branch xen-unstable > job test-amd64-amd64-xl-qemut-winxpsp3 > test xen-boot > > Tree: linux > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.gi

Re: [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm

2015-02-04 Thread Ian Campbell
On Mon, 2015-02-02 at 20:03 +0200, Denis Drozdov wrote: > From: denys drozdov > > Make Credit2 and RT schedulers to run on arm platform > context_saved should be deferred on ARM after IRQs enabled A better subject+message would be: xen/arm: Call context_saved() with interrupts enabled d

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-04 Thread Stefano Stabellini
Paul, do you have an estimate on when it is going to be fixed? If it is not soon, I would prefer to revert the patch for now to unbreak tests. Cheers, Stefano On Mon, 2 Feb 2015, xen.org wrote: > branch xen-unstable > xen branch xen-unstable > job test-amd64-i386-freebsd10-i386 > test guest-lo

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-04 Thread Stefano Stabellini
On Wed, 4 Feb 2015, Ian Campbell wrote: > On Wed, 2015-02-04 at 14:57 +, Stefano Stabellini wrote: > > On Wed, 4 Feb 2015, David Vrabel wrote: > > > On 16/12/14 16:21, Juergen Gross wrote: > > > > Hi, > > > > > > > > This is a design proposal for a rework of the config options on the > > > > L

Re: [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 15:04 +, Stefano Stabellini wrote: > On Mon, 2 Feb 2015, Julien Grall wrote: > > On 02/02/15 12:16, Ian Campbell wrote: > > > On Mon, 2015-02-02 at 11:40 +, Jan Beulich wrote: > > > On 02.02.15 at 12:14, wrote: > > >>> On Mon, 2015-02-02 at 12:49 +0200, Denys Droz

Re: [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm

2015-02-04 Thread Stefano Stabellini
On Mon, 2 Feb 2015, Julien Grall wrote: > On 02/02/15 12:16, Ian Campbell wrote: > > On Mon, 2015-02-02 at 11:40 +, Jan Beulich wrote: > > On 02.02.15 at 12:14, wrote: > >>> On Mon, 2015-02-02 at 12:49 +0200, Denys Drozdov wrote: > The issue observed on credit2 scheduler is similar to

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-04 Thread Ian Campbell
On Wed, 2015-02-04 at 14:57 +, Stefano Stabellini wrote: > On Wed, 4 Feb 2015, David Vrabel wrote: > > On 16/12/14 16:21, Juergen Gross wrote: > > > Hi, > > > > > > This is a design proposal for a rework of the config options on the > > > Linux kernel which are related to Xen. > > > > > > The

  1   2   >