arm64: perf: Move PMU register related defines to asm/perf_event.h
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 24 Mar 2016 16:01:16 +0000 (16:01 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 29 Mar 2016 15:04:57 +0000 (16:04 +0100)
commitb8cfadfcefdc8c306ca2c0b1bdbdd4e01f0155e3
treeb0d32f56435b0714ec9f2e55a8e461dcedbe3ff2
parenta6002ec5a8c68e69706b2efd6db6d682d0ab672c
arm64: perf: Move PMU register related defines to asm/perf_event.h

To use the ARMv8 PMU related register defines from the KVM code, we move
the relevant definitions to asm/perf_event.h header file and rename them
with prefix ARMV8_PMU_. This allows us to get rid of kvm_perf_event.h.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/include/asm/kvm_perf_event.h [deleted file]
arch/arm64/include/asm/perf_event.h
arch/arm64/kernel/perf_event.c