Re: [PATCH] arm64/perf: Replace '0xf' instances with ID_AA64DFR0_PMUVER_IMP_DEF
From: Anshuman Khandual <hidden>
Date: 2021-08-10 15:00:19
Also in:
kvmarm, linux-arm-kernel, lkml
From: Anshuman Khandual <hidden>
Date: 2021-08-10 15:00:19
Also in:
kvmarm, linux-arm-kernel, lkml
On 8/10/21 7:01 PM, Will Deacon wrote:
On Tue, Aug 10, 2021 at 10:36:38AM +0530, Anshuman Khandual wrote:quoted
ID_AA64DFR0_PMUVER_IMP_DEF which indicate implementation defined PMU, never actually gets used although there are '0xf' instances scattered all around. Just do the macro replacement to improve readability. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Marc Zyngier <maz@kernel.org> Cc: linux-perf-users@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: kvmarm@lists.cs.columbia.edu Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual <redacted> --- This applies on v5.14-rc5 arch/arm64/include/asm/cpufeature.h | 2 +- arch/arm64/kernel/perf_event.c | 2 +- arch/arm64/kvm/perf.c | 2 +- arch/arm64/kvm/pmu-emul.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-)Please can you split this with the KVM parts in their own patch?
Sure, will do.