Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Stefano Stabellini
On Wed, 10 Oct 2012, Ian Campbell wrote: > On Wed, 2012-10-10 at 15:47 +0100, Stefano Stabellini wrote: > > On Wed, 10 Oct 2012, Ian Campbell wrote: > > > On Tue, 2012-10-09 at 19:21 +0100, Arnd Bergmann wrote: > > > > On Tuesday 09 October 2012, Stefano Stabellini wrote: > > > > > > config XEN >

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Ian Campbell
On Wed, 2012-10-10 at 15:47 +0100, Stefano Stabellini wrote: > On Wed, 10 Oct 2012, Ian Campbell wrote: > > On Tue, 2012-10-09 at 19:21 +0100, Arnd Bergmann wrote: > > > On Tuesday 09 October 2012, Stefano Stabellini wrote: > > > > > config XEN > > > > > bool "Xen guest support on ARM (EXPER

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Stefano Stabellini
On Wed, 10 Oct 2012, Ian Campbell wrote: > On Tue, 2012-10-09 at 19:21 +0100, Arnd Bergmann wrote: > > On Tuesday 09 October 2012, Stefano Stabellini wrote: > > > > config XEN > > > > bool "Xen guest support on ARM (EXPERIMENTAL)" > > > > depends on EXPERIMENTAL && ARM && OF > > > > +

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Arnd Bergmann
On Wednesday 10 October 2012, Ian Campbell wrote: > > * implement your own cmpxchg wrapper that may be implemented using a > > spinlock > > rather than cmpxchg if ARMv6 is enabled. > > Even if ARMv6 is enabled the grant table code will never be running on > one so so it might be ok to just have

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Ian Campbell
On Tue, 2012-10-09 at 19:19 +0100, Arnd Bergmann wrote: > On Tuesday 09 October 2012, Ian Campbell wrote: > > On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: > > > On Tuesday 09 October 2012, Ian Campbell wrote: > > > > > * The tmem hypercall is not available on ARM > > > > > > > > > > * A

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Ian Campbell
On Tue, 2012-10-09 at 19:21 +0100, Arnd Bergmann wrote: > On Tuesday 09 October 2012, Stefano Stabellini wrote: > > > config XEN > > > bool "Xen guest support on ARM (EXPERIMENTAL)" > > > depends on EXPERIMENTAL && ARM && OF > > > + depends on !CPU_V6 > > > help > > >

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Stefano Stabellini wrote: > > config XEN > > bool "Xen guest support on ARM (EXPERIMENTAL)" > > depends on EXPERIMENTAL && ARM && OF > > + depends on !CPU_V6 > > help > > Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. >

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Ian Campbell wrote: > On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: > > On Tuesday 09 October 2012, Ian Campbell wrote: > > > > * The tmem hypercall is not available on ARM > > > > > > > > * ARMv6 does not support cmpxchg on 16-bit words that are used in the >

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Ian Campbell
On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: > On Tuesday 09 October 2012, Ian Campbell wrote: > > > * The tmem hypercall is not available on ARM > > > > > > * ARMv6 does not support cmpxchg on 16-bit words that are used in the > > > > missing the end of this sentence? > > Right, I me

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 05:22:59PM +0200, Arnd Bergmann wrote: > * The XEN_BALLOON code requires the balloon infrastructure that is not > getting built on ARM. > > * The tmem hypercall is not available on ARM > > * ARMv6 does not support cmpxchg on 16-bit words that are used in the "in the" wh

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Ian Campbell wrote: > > * The tmem hypercall is not available on ARM > > > > * ARMv6 does not support cmpxchg on 16-bit words that are used in the > > missing the end of this sentence? Right, I meant to say * ARMv6 does not support cmpxchg on 16-bit words that are u

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Stefano Stabellini
Thanks for the patch and sorry for the build breakage! On Tue, 9 Oct 2012, Arnd Bergmann wrote: > * The XEN_BALLOON code requires the balloon infrastructure that is not > getting built on ARM. > > * The tmem hypercall is not available on ARM > > * ARMv6 does not support cmpxchg on 16-bit words

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Ian Campbell
On Tue, 2012-10-09 at 16:22 +0100, Arnd Bergmann wrote: > * The XEN_BALLOON code requires the balloon infrastructure that is not > getting built on ARM. I've got patches to enable this, but not for 3.7 so this looks good for now. > * The tmem hypercall is not available on ARM > > * ARMv6 does

[PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
* The XEN_BALLOON code requires the balloon infrastructure that is not getting built on ARM. * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that are used in the * sys-hypervisor.c needs to include linux/err.h in order to use the IS_ERR/PTR_ERR/E