Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-16 Thread Russell King - ARM Linux
On Wed, Jan 16, 2013 at 01:26:01PM +1030, Rusty Russell wrote: Christoffer Dall c.d...@virtualopensystems.com writes: On Mon, Jan 14, 2013 at 11:24 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: + /*

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-16 Thread Rusty Russell
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Wed, Jan 16, 2013 at 01:26:01PM +1030, Rusty Russell wrote: Christoffer Dall c.d...@virtualopensystems.com writes: On Mon, Jan 14, 2013 at 11:24 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 08, 2013 at

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-15 Thread Gleb Natapov
On Mon, Jan 14, 2013 at 05:17:31PM -0500, Christoffer Dall wrote: On Mon, Jan 14, 2013 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: A couple of general question about ABI. If they were already answered just refer me to the previous discussion. On Tue, Jan 08, 2013 at 01:38:55PM -0500,

Re: [kvmarm] [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-15 Thread Alexander Graf
On 15.01.2013, at 14:32, Gleb Natapov wrote: On Mon, Jan 14, 2013 at 05:17:31PM -0500, Christoffer Dall wrote: On Mon, Jan 14, 2013 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: A couple of general question about ABI. If they were already answered just refer me to the previous discussion.

Re: [kvmarm] [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-15 Thread Gleb Natapov
On Tue, Jan 15, 2013 at 02:43:26PM +0100, Alexander Graf wrote: On 15.01.2013, at 14:32, Gleb Natapov wrote: On Mon, Jan 14, 2013 at 05:17:31PM -0500, Christoffer Dall wrote: On Mon, Jan 14, 2013 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: A couple of general question about ABI. If

Re: [kvmarm] [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-15 Thread Alexander Graf
On 01/15/2013 04:35 PM, Gleb Natapov wrote: On Tue, Jan 15, 2013 at 02:43:26PM +0100, Alexander Graf wrote: On 15.01.2013, at 14:32, Gleb Natapov wrote: On Mon, Jan 14, 2013 at 05:17:31PM -0500, Christoffer Dall wrote: On Mon, Jan 14, 2013 at 1:49 PM, Gleb Natapovg...@redhat.com wrote: A

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-15 Thread Rusty Russell
Christoffer Dall c.d...@virtualopensystems.com writes: On Mon, Jan 14, 2013 at 11:24 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: + /* -ENOENT for unknown features, -EINVAL for invalid combinations. */ +

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Will Deacon
On Tue, Jan 08, 2013 at 06:38:55PM +, Christoffer Dall wrote: Targets KVM support for Cortex A-15 processors. Contains all the framework components, make files, header files, some tracing functionality, and basic user space API. Only supported core is Cortex-A15 for now. Most

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Christoffer Dall
On Mon, Jan 14, 2013 at 10:09 AM, Will Deacon will.dea...@arm.com wrote: On Tue, Jan 08, 2013 at 06:38:55PM +, Christoffer Dall wrote: Targets KVM support for Cortex A-15 processors. Contains all the framework components, make files, header files, some tracing functionality, and basic

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Russell King - ARM Linux
On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: + /* -ENOENT for unknown features, -EINVAL for invalid combinations. */ + for (i = 0; i sizeof(init-features)*8; i++) { + if (init-features[i / 32] (1 (i % 32))) { Isn't this an open-coded version of

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Christoffer Dall
On Mon, Jan 14, 2013 at 11:24 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: + /* -ENOENT for unknown features, -EINVAL for invalid combinations. */ + for (i = 0; i sizeof(init-features)*8; i++) { +

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Gleb Natapov
A couple of general question about ABI. If they were already answered just refer me to the previous discussion. On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index a4df553..4237c27 100644

Re: [PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-14 Thread Christoffer Dall
On Mon, Jan 14, 2013 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: A couple of general question about ABI. If they were already answered just refer me to the previous discussion. On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote: diff --git a/Documentation/virtual/kvm/api.txt

[PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

2013-01-08 Thread Christoffer Dall
Targets KVM support for Cortex A-15 processors. Contains all the framework components, make files, header files, some tracing functionality, and basic user space API. Only supported core is Cortex-A15 for now. Most functionality is in arch/arm/kvm/* or arch/arm/include/asm/kvm_*.h.