Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 09/30/2013 06:20 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: Alexander Graf writes: diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/b

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: >> Alexander Graf writes: >> >>> On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: >>> Alexander Graf writes: >> diff --git a/arch/powerpc/kvm/book3s_segment.S >> b/arch/powerpc/kvm/book3s_segment.S

Re: [RFC PATCH 07/11] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header

2013-09-30 Thread Alexander Graf
On 09/30/2013 05:53 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 09/30/2013 02:57 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: diff --git a/arch/powerpc/kvm/trace.h b/arch/powerpc/kvm/trace.h index a088e9a..7d5a136 100644 --- a/arch/powerpc/kvm/trace.h +++ b/arch/powerpc/kvm

Re: [RFC PATCH 07/11] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 09/30/2013 02:57 PM, Aneesh Kumar K.V wrote: >> Alexander Graf writes: >> diff --git a/arch/powerpc/kvm/trace.h b/arch/powerpc/kvm/trace.h >> index a088e9a..7d5a136 100644 >> --- a/arch/powerpc/kvm/trace.h >> +++ b/arch/powerpc/kvm/trace.h >> @@ -8

Re: [RFC PATCH 00/11 Allow PR and HV KVM to coexist in one kernel

2013-09-30 Thread Alexander Graf
On 09/30/2013 03:09 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 12:52, Aneesh Kumar K.V wrote: "Aneesh Kumar K.V" writes: Hi All, This patch series support enabling HV and PR KVM together in the same kernel. We extend machine property with new property "kvm_type"

Re: [RFC PATCH 07/11] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header

2013-09-30 Thread Alexander Graf
On 09/30/2013 02:57 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 15:06, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: From: "Aneesh Kumar K.V" This patch moves PR related tracepoints to a separate header. This en

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: Alexander Graf writes: diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/book3s_segment.S index 1abe478..e0229dd 100644 --- a/arch/powerpc/kvm/book3s_s

Re: [RFC PATCH 00/11 Allow PR and HV KVM to coexist in one kernel

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 12:52, Aneesh Kumar K.V wrote: > >> "Aneesh Kumar K.V" writes: >> >>> Hi All, >>> >>> This patch series support enabling HV and PR KVM together in the same >>> kernel. We >>> extend machine property with new property "kvm_type". A value of 1 will >>

Re: [RFC PATCH 08/11] kvm: powerpc: book3s: Support building HV and PR KVM as module

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 15:08, Aneesh Kumar K.V wrote: > >> Alexander Graf writes: >> >>> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >>> diff --git a/arch/powerpc/kvm/book3s_64_mmu_host.c b/arch/powerpc/kvm/book3s_64_mmu_host.c index fd5b393..775d368 10

Re: [RFC PATCH 07/11] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 15:06, Aneesh Kumar K.V wrote: > >> Alexander Graf writes: >> >>> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >>> From: "Aneesh Kumar K.V" This patch moves PR related tracepoints to a separate header. This enables in convert

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: > >> Alexander Graf writes: >> >> diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/book3s_segment.S index 1abe478..e0229dd 100644 --- a/arch/powerpc/kvm/book3s_segment.S +++ b/a

Re: [RFC PATCH 00/11 Allow PR and HV KVM to coexist in one kernel

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 12:52, Aneesh Kumar K.V wrote: > "Aneesh Kumar K.V" writes: > >> Hi All, >> >> This patch series support enabling HV and PR KVM together in the same >> kernel. We >> extend machine property with new property "kvm_type". A value of 1 will >> force HV >> KVM and 2 PR KVM. The

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: > Alexander Graf writes: > >> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >> >>> From: "Aneesh Kumar K.V" >>> >>> This help us to identify whether we are running with hypervisor mode KVM >>> enabled. The change is needed so that we can ha

Re: [RFC PATCH 08/11] kvm: powerpc: book3s: Support building HV and PR KVM as module

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 15:08, Aneesh Kumar K.V wrote: > Alexander Graf writes: > >> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >> >>> diff --git a/arch/powerpc/kvm/book3s_64_mmu_host.c >>> b/arch/powerpc/kvm/book3s_64_mmu_host.c >>> index fd5b393..775d368 100644 >>> --- a/arch/powerpc/kvm/bo

Re: [RFC PATCH 07/11] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 15:06, Aneesh Kumar K.V wrote: > Alexander Graf writes: > >> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >> >>> From: "Aneesh Kumar K.V" >>> >>> This patch moves PR related tracepoints to a separate header. This >>> enables in converting PR to a kernel module which wil