Re: [PATCH v2 1/9] arm64: KVM: PMU: Refactor pmu_*_el0_disabled

2017-03-28 Thread Marc Zyngier
On 28/03/17 13:46, Christoffer Dall wrote: > On Mon, Mar 27, 2017 at 05:03:37PM +0100, Marc Zyngier wrote: >> There is a lot of duplication in the pmu_*_el0_disabled helpers, >> and as we're going to modify them shortly, let's move all the >> common stuff in a single function. >> >> No functionnal

Re: [PATCH v2 1/9] arm64: KVM: PMU: Refactor pmu_*_el0_disabled

2017-03-28 Thread Christoffer Dall
On Mon, Mar 27, 2017 at 05:03:37PM +0100, Marc Zyngier wrote: > There is a lot of duplication in the pmu_*_el0_disabled helpers, > and as we're going to modify them shortly, let's move all the > common stuff in a single function. > > No functionnal change. > > Signed-off-by: Marc Zyngier

Re: [PATCH v2 1/9] arm64: KVM: PMU: Refactor pmu_*_el0_disabled

2017-03-27 Thread Marc Zyngier
On 27/03/17 18:03, Suzuki K Poulose wrote: > On 27/03/17 17:03, Marc Zyngier wrote: >> There is a lot of duplication in the pmu_*_el0_disabled helpers, >> and as we're going to modify them shortly, let's move all the >> common stuff in a single function. >> >> No functionnal change. > > nit:

Re: [PATCH v2 1/9] arm64: KVM: PMU: Refactor pmu_*_el0_disabled

2017-03-27 Thread Suzuki K Poulose
On 27/03/17 17:03, Marc Zyngier wrote: There is a lot of duplication in the pmu_*_el0_disabled helpers, and as we're going to modify them shortly, let's move all the common stuff in a single function. No functionnal change. nit: s/functionnal/functional Signed-off-by: Marc Zyngier

[PATCH v2 1/9] arm64: KVM: PMU: Refactor pmu_*_el0_disabled

2017-03-27 Thread Marc Zyngier
There is a lot of duplication in the pmu_*_el0_disabled helpers, and as we're going to modify them shortly, let's move all the common stuff in a single function. No functionnal change. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/sys_regs.c | 25