[Xen-devel] [PATCH] tools: make FLASK utils build unconditional

2016-01-15 Thread Doug Goldstein
The flask utilities only have dependencies on libxc so there's no downside to always building it. Distros and projects based on Xen can put these in a different package to not install them for all users. Prior to this change FLASK_ENABLE needed to be set at the top level to build the utilities and

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 17:24 +, Andrew Cooper wrote: > On 15/01/16 17:15, Jan Beulich wrote: > > > > > On 15.01.16 at 18:06, wrote: > > > On Thu, 2016-01-14 at 16:27 +, Ian Jackson wrote: > > > >  * I don't have a clear design proposal for the above but I think Doug > > > >    can probably

[Xen-devel] [PATCH v3 4/4] x86/PV: enable the emulated PIT

2016-01-15 Thread Roger Pau Monne
The HVMlite series removed the initialization of the emulated PIT for PV guests, this patch re-enables it. Signed-off-by: Roger Pau Monné Acked-by: Jan Beulich --- Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Cc: Jan Beulich Cc: Andrew Cooper --- NB: Since it's not clear why an emulated PIT

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 09:55:54AM +0100, Peter Zijlstra wrote: > On Thu, Jan 14, 2016 at 01:29:13PM -0800, Paul E. McKenney wrote: > > So smp_mb() provides transitivity, as do pairs of smp_store_release() > > and smp_read_acquire(), > > But they provide different grades of transitivity, which is

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 10:13:48AM +0100, Peter Zijlstra wrote: > On Fri, Jan 15, 2016 at 09:55:54AM +0100, Peter Zijlstra wrote: > > On Thu, Jan 14, 2016 at 01:29:13PM -0800, Paul E. McKenney wrote: > > > So smp_mb() provides transitivity, as do pairs of smp_store_release() > > > and smp_read_acqu

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 10:24:32AM +, Will Deacon wrote: > On Thu, Jan 14, 2016 at 02:55:10PM -0800, Paul E. McKenney wrote: > > On Thu, Jan 14, 2016 at 01:36:50PM -0800, Leonid Yegoshin wrote: > > > On 01/14/2016 01:29 PM, Paul E. McKenney wrote: > > > > > > > >>On 01/14/2016 12:34 PM, Paul E.

Re: [Xen-devel] [PATCH v4 10/11] dma: rename dma_*_writecombine() to dma_*_wc()

2016-01-15 Thread Luis R. Rodriguez
On Tue, Aug 25, 2015 at 9:21 PM, Ingo Molnar wrote: > > * Andrew Morton wrote: > >> > There's a catch-22 issue here either way, for instance this rename patch >> > has >> > been being baked for probably 2 releases already but the difficulty has >> > been >> > trying to find the appropriate time

[Xen-devel] [BUG] Xen Remus, DRBD Protocol D and old Linux kernels

2016-01-15 Thread Pato Sáinz
Good evening, people. More than a bug, it's an issue, a big one IMO. Even though information on the Remus project and its implementation is kind of scarce on the internet and is usually outdated (the project could use some love on that side of things, though it seems that on the coding side, it's

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Leonid Yegoshin
On 01/15/2016 01:57 AM, Will Deacon wrote: Paul, I think you figured this out while I was sleeping, but just to confirm: 1. The MIPS64 ISA doc [1] talks about SYNC in a way that applies only to memory accesses appearing in *program-order* before the SYNC 2. We need WRC+sync+addr to w

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 09:54:01AM -0800, Paul E. McKenney wrote: > On Fri, Jan 15, 2016 at 10:24:32AM +, Will Deacon wrote: > > On Thu, Jan 14, 2016 at 02:55:10PM -0800, Paul E. McKenney wrote: > > > On Thu, Jan 14, 2016 at 01:36:50PM -0800, Leonid Yegoshin wrote: > > > > On 01/14/2016 01:29 P

[Xen-devel] [PATCH] xen/gntdev: Don't allocate struct gntdev_copy_batch on stack

2016-01-15 Thread Boris Ostrovsky
struct gntdev_copy_batch is over 1300 bytes in size, we shouldn't put it on stack. Some compilers (e.g. 5.2.1) complain: drivers/xen/gntdev.c: In function ‘gntdev_ioctl_grant_copy.isra.5’: drivers/xen/gntdev.c:949:1: warning: the frame size of 1416 bytes is larger than 1024 bytes [-Wframe-larg

Re: [Xen-devel] [PATCH] tools: make FLASK utils build unconditional

2016-01-15 Thread Andrew Cooper
On 15/01/16 17:39, Doug Goldstein wrote: > The flask utilities only have dependencies on libxc so there's no > downside to always building it. Distros and projects based on Xen can > put these in a different package to not install them for all users. > Prior to this change FLASK_ENABLE needed to be

Re: [Xen-devel] [PATCH] xen/gntdev: Don't allocate struct gntdev_copy_batch on stack

2016-01-15 Thread Andrew Cooper
On 15/01/16 19:43, Boris Ostrovsky wrote: > struct gntdev_copy_batch is over 1300 bytes in size, we shouldn't > put it on stack. > > Some compilers (e.g. 5.2.1) complain: > drivers/xen/gntdev.c: In function ‘gntdev_ioctl_grant_copy.isra.5’: > drivers/xen/gntdev.c:949:1: warning: the frame size of

Re: [Xen-devel] [PATCH] xen/gntdev: Don't allocate struct gntdev_copy_batch on stack

2016-01-15 Thread Boris Ostrovsky
On 01/15/2016 02:50 PM, Andrew Cooper wrote: On 15/01/16 19:43, Boris Ostrovsky wrote: @@ -933,18 +937,20 @@ static long gntdev_ioctl_grant_copy(struct gntdev_priv *priv, void __user *u) goto out; } - ret = gntdev_grant_copy_seg(&batch, &seg, ©.segmen

Re: [Xen-devel] [PATCHv1 net] xen-netfront: request Tx response events more often

2016-01-15 Thread David Miller
From: David Vrabel Date: Fri, 15 Jan 2016 11:56:42 + > @@ -364,6 +364,7 @@ static void xennet_tx_buf_gc(struct netfront_queue *queue) > RING_IDX cons, prod; > unsigned short id; > struct sk_buff *skb; > + int more_to_do; I hate to be difficult, but could you please use

[Xen-devel] [PATCH v2] xen/gntdev: Don't allocate struct gntdev_copy_batch on stack

2016-01-15 Thread Boris Ostrovsky
struct gntdev_copy_batch is over 1300 bytes in size, we shouldn't put it on stack. Some compilers (e.g. 5.2.1) complain: drivers/xen/gntdev.c: In function ‘gntdev_ioctl_grant_copy.isra.5’: drivers/xen/gntdev.c:949:1: warning: the frame size of 1416 bytes is larger than 1024 bytes [-Wframe-larg

Re: [Xen-devel] [PATCHv2 0/3 net] xen-netback: use skb to determine number of required (etc.)

2016-01-15 Thread David Miller
From: David Vrabel Date: Fri, 15 Jan 2016 14:55:33 + > "xen-netback: use skb to determine number of required" plus two other > minor fixes I found down the back of the sofa. Series applied, thanks David. ___ Xen-devel mailing list Xen-devel@lists

[Xen-devel] [qemu-mainline baseline-only test] 38642: tolerable FAIL

2016-01-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38642 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38642/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-libvirt-pair 10 xen-boot/dst_host

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Peter Zijlstra
On Fri, Jan 15, 2016 at 09:46:12AM -0800, Paul E. McKenney wrote: > On Fri, Jan 15, 2016 at 10:13:48AM +0100, Peter Zijlstra wrote: > > And the stuff we're confused about is how best to express the difference > > and guarantees of these two forms of transitivity and how exactly they > > interact.

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Peter Zijlstra
On Fri, Jan 15, 2016 at 09:39:12AM -0800, Paul E. McKenney wrote: > Should we start putting litmus tests for the various examples > somewhere, perhaps in a litmus-tests directory within each participating > architecture? I have a pile of powerpc-related litmus tests on my laptop, > but they probab

Re: [Xen-devel] Nested virtualization off VMware vSphere 6.0 with EL6 guests crashes on Xen 4.6

2016-01-15 Thread Konrad Rzeszutek Wilk
On Tue, Jan 12, 2016 at 02:22:03AM -0700, Jan Beulich wrote: > >>> On 12.01.16 at 04:38, wrote: > > (XEN) Assertion 'vapic_pg && !p2m_is_paging(p2mt)' failed at vvmx.c:698 > > (XEN) [ Xen-4.6.0 x86_64 debug=y Tainted:C ] > > (XEN) CPU:39 > > (XEN) RIP:e008:[] virtual_vmentry

Re: [Xen-devel] [PATCH v3 2/3] XENVER_build_id: Provide ld-embedded build-ids (v8)

2016-01-15 Thread Konrad Rzeszutek Wilk
>> --- a/Config.mk >> +++ b/Config.mk >> @@ -126,6 +126,17 @@ endef >> check-$(gcc) = $(call cc-ver-check,CC,0x040100,"Xen requires at least >> gcc-4.1") >> $(eval $(check-y)) >> >> +ld-ver = $(shell if [ $$((`$(1) --version | head -1 | sed 's/[^0-9]/ /g' | >> awk \ >> + '{ printf "0x

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 10:27:14PM +0100, Peter Zijlstra wrote: > On Fri, Jan 15, 2016 at 09:46:12AM -0800, Paul E. McKenney wrote: > > On Fri, Jan 15, 2016 at 10:13:48AM +0100, Peter Zijlstra wrote: > > > > And the stuff we're confused about is how best to express the difference > > > and guarant

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-15 Thread Paul E. McKenney
On Fri, Jan 15, 2016 at 10:29:12PM +0100, Peter Zijlstra wrote: > On Fri, Jan 15, 2016 at 09:39:12AM -0800, Paul E. McKenney wrote: > > Should we start putting litmus tests for the various examples > > somewhere, perhaps in a litmus-tests directory within each participating > > architecture? I hav

[Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-15 Thread Luis R. Rodriguez
I will be respinning the generic Linux linker table solution [0] soon based on hpa's feedback again now that I'm back from vacation. As I do that though I wanted to highlight a feature I'm throwing into the linker table solution which I am not sure many have paid close attention to but I think is i

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

2016-01-15 Thread osstest service owner
flight 78159 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/78159/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 5 xen-install fail REGR. vs. 77892 test-amd64

Re: [Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-15 Thread Andy Lutomirski
On Fri, Jan 15, 2016 at 2:08 PM, Luis R. Rodriguez wrote: > I will be respinning the generic Linux linker table solution [0] soon > based on hpa's feedback again now that I'm back from vacation. As I do > that though I wanted to highlight a feature I'm throwing into the > linker table solution whi

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

2016-01-15 Thread osstest service owner
flight 78164 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/78164/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 15 guest-localmigratefail REGR. vs. 78054 test-amd64-amd64-xl-xs

[Xen-devel] [4.2.y-ckt stable] Patch "x86/paravirt: Prevent rtc_cmos platform device init on PV guests" has been added to the 4.2.y-ckt tree

2016-01-15 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled x86/paravirt: Prevent rtc_cmos platform device init on PV guests to the linux-4.2.y-queue branch of the 4.2.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-4

[Xen-devel] [PATCH 4.2.y-ckt 286/305] x86/paravirt: Prevent rtc_cmos platform device init on PV guests

2016-01-15 Thread Kamal Mostafa
4.2.8-ckt2 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit d8c98a1d1488747625ad6044d423406e17e99b7a upstream. Adding the rtc platform device in non-privileged Xen PV guests cau

[Xen-devel] [seabios test] 78178: tolerable FAIL - PUSHED

2016-01-15 Thread osstest service owner
flight 78178 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/78178/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail like 78109 Tests which did not succeed, but a

Re: [Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-15 Thread Luis R. Rodriguez
On Fri, Jan 15, 2016 at 03:47:25PM -0800, Andy Lutomirski wrote: > On Fri, Jan 15, 2016 at 2:08 PM, Luis R. Rodriguez wrote: > > I will be respinning the generic Linux linker table solution [0] soon > > based on hpa's feedback again now that I'm back from vacation. As I do > > that though I wanted

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

2016-01-15 Thread osstest service owner
flight 78189 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/78189/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 65543 test-amd64-amd64-

Re: [Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-15 Thread H. Peter Anvin
On January 15, 2016 4:43:04 PM PST, "Luis R. Rodriguez" wrote: >On Fri, Jan 15, 2016 at 03:47:25PM -0800, Andy Lutomirski wrote: >> On Fri, Jan 15, 2016 at 2:08 PM, Luis R. Rodriguez >wrote: >> > I will be respinning the generic Linux linker table solution [0] >soon >> > based on hpa's feedback a

Re: [Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-15 Thread Luis R. Rodriguez
On Fri, Jan 15, 2016 at 4:43 PM, Luis R. Rodriguez wrote: >> for (i = 0; i < sizeof(boot_params); i += 4096) >> early_make_pgtable((unsigned long)params + i); > > I'll give this a shot. Thanks again for this! It seems to let this boot now! But it does not seem to provided the right v

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

2016-01-15 Thread osstest service owner
: Peter Maydell Date: Fri Jan 15 15:49:43 2016 + Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160115' into staging target-arm queue: * use the right MMU index when handling unaligned accesses * xlnx-zynqmp: Add support for high DDR memo

[Xen-devel] [PATCH v4 02/10] ACPI / table: Add new function to get table entries

2016-01-15 Thread Shannon Zhao
From: Ashwin Chaugule The acpi_table_parse() function has a callback that passes a pointer to a table_header. Add a new function which takes this pointer and parses its entries. This eliminates the need to re-traverse all the tables for each call. e.g. as in acpi_table_parse_madt() which is norma

[Xen-devel] [PATCH v4 03/10] acpi/pmstat: Build pmstat for x86 only

2016-01-15 Thread Shannon Zhao
From: Parth Dixit Pmstat is currently not supported for ARM in Xen. Configure and build pmstat for x86 architecture only. Cc: Jan Beulich Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- v4: keep both CONFIG_HAS_ACPI and CONFIG_HAS_CPUFREQ --- xen/common/sysctl.c | 2 +- xen/

[Xen-devel] [PATCH v4 07/10] arm/gic-v2: Refactor gicv2_init into generic and dt specific parts

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Refactor gic-v2 related functions into dt and generic parts. This will be helpful when adding acpi support for gic. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/arch/arm/gic-v2.c | 21 ++--- 1 file changed, 14

[Xen-devel] [PATCH v4 01/10] ACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries()

2016-01-15 Thread Shannon Zhao
From: Len Brown Allow consumers of the acpi_table_parse()/acpi_table_parse_entries() API to gracefully handle the acpi_disabled=1 case via return value rather than checking the global flag themselves. Signed-off-by: Feng Tang Signed-off-by: Len Brown [Linux commit e5b8fc6ac158f65598f58dba2c0d5

[Xen-devel] [PATCH v4 10/10] pl011: Refactor pl011 driver to dt and common initialization parts

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Refactor pl011 driver to dt and common initialization parts. This will be useful later when acpi specific uart initialization function is introduced. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/drivers/char/pl011.c | 64 +

[Xen-devel] [PATCH v4 09/10] arm/uart: Rename dt-uart.c to arm-uart.c

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Since we will add ACPI initialization for UART in this file later, rename it with a generic name. Signed-off-by: Shannon Zhao --- v4: split the original patch to renaming this and adding ACPI parts. --- MAINTAINERS | 2 +- xen/drivers/char/Makefile | 2

[Xen-devel] [PATCH v4 05/10] acpi: Refactor acpi_os_map_memory to be architecturally independent

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Current acpi_os_map_memory is specific to x86. Refactor it to be architecturally independent. Cc: Jan Beulich Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/arch/x86/acpi/lib.c | 16 xen/drivers/acpi/osl.c | 12 +--- xen/include/

[Xen-devel] [PATCH v4 00/10] Refactor DT specific codes preparing for ACPI support on ARM64

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao These patches are Part 2 of the previous patch set I sent which adds ACPI support for arm64 on Xen[1]. Split them as an individual set for convenient reviewing. The first two patches ports two ACPI changes from Linux kernel, which are missed at Part 1. The second three patche

[Xen-devel] [PATCH v4 04/10] acpi: Don't do traditional BIOS table scan for ARM64

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao With the addition of ARM64 that does not have a traditional BIOS to scan, stub out acpi_find_root_pointer to do nothing for ARM. Cc: Jan Beulich Signed-off-by: Shannon Zhao --- v4: stub out acpi_find_root_pointer fro ARM --- xen/drivers/acpi/tables/tbxfroot.c | 7 +++ 1

[Xen-devel] [PATCH v4 06/10] arm/smpboot: Move dt specific code in smp to seperate functions

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Partition smp initialization functions into generic and dt specific parts, this will be useful when introducing new functions for smp initialization based on acpi. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/arch/arm/arm64/sm

[Xen-devel] [PATCH v4 08/10] arm/gic-v3: Refactor gicv3_init into generic and dt specific parts

2016-01-15 Thread Shannon Zhao
From: Shannon Zhao Refactor gic-v3 related functions into dt and generic parts. This will be helpful when adding acpi support for gic-v3. Signed-off-by: Shannon Zhao --- v4: Use INVALID_PADDR and move ioremap to common init function --- xen/arch/arm/gic-v3.c | 114 +++--

[Xen-devel] [RFC/WIP] xen: clk: introudce pvclk for device passthrough

2016-01-15 Thread Peng Fan
This patch was just a initial patch, not sure whether this way is ok from you side for handlding clk when doing platform device passhthrough. Any comments are appreciated, and your comments may give me a better direction. Patch was basically tested with passthrough uart2 to DomU on freescale i.MX7

[Xen-devel] [seabios baseline-only test] 38644: tolerable FAIL

2016-01-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38644 seabios real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38644/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1

<    1   2   3