Re: [PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-17 Thread Christoffer Dall
On Fri, Jul 17, 2015 at 07:34:58PM +0800, Shannon Zhao wrote: > > > On 2015/7/17 17:58, Christoffer Dall wrote: > >On Fri, Jul 17, 2015 at 04:13:35PM +0800, Shannon Zhao wrote: > >> > >> > >>On 2015/7/17 2:25, Christoffer Dall wrote: > >>>On Mon, Jul 06, 2015 at 10:17:32AM +0800, shannon.z...@lin

Re: [PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-17 Thread Shannon Zhao
On 2015/7/17 17:58, Christoffer Dall wrote: On Fri, Jul 17, 2015 at 04:13:35PM +0800, Shannon Zhao wrote: On 2015/7/17 2:25, Christoffer Dall wrote: On Mon, Jul 06, 2015 at 10:17:32AM +0800, shannon.z...@linaro.org wrote: From: Shannon Zhao Here we plan to support virtual PMU for guest b

Re: [PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-17 Thread Christoffer Dall
On Fri, Jul 17, 2015 at 04:13:35PM +0800, Shannon Zhao wrote: > > > On 2015/7/17 2:25, Christoffer Dall wrote: > > On Mon, Jul 06, 2015 at 10:17:32AM +0800, shannon.z...@linaro.org wrote: > >> From: Shannon Zhao > >> > >> Here we plan to support virtual PMU for guest by full software > >> emulat

Re: [PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-17 Thread Shannon Zhao
On 2015/7/17 2:25, Christoffer Dall wrote: > On Mon, Jul 06, 2015 at 10:17:32AM +0800, shannon.z...@linaro.org wrote: >> From: Shannon Zhao >> >> Here we plan to support virtual PMU for guest by full software >> emulation, so define some basic structs and functions preparing for >> futher steps.

Re: [PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-16 Thread Christoffer Dall
On Mon, Jul 06, 2015 at 10:17:32AM +0800, shannon.z...@linaro.org wrote: > From: Shannon Zhao > > Here we plan to support virtual PMU for guest by full software > emulation, so define some basic structs and functions preparing for > futher steps. Define struct kvm_pmc for performance monitor coun

[PATCH 02/18] KVM: ARM64: Add initial support for PMU

2015-07-05 Thread shannon . zhao
From: Shannon Zhao Here we plan to support virtual PMU for guest by full software emulation, so define some basic structs and functions preparing for futher steps. Define struct kvm_pmc for performance monitor counter and struct kvm_pmu for performance monitor unit for each vcpu. According to ARM