]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: arm64: Use common performance monitor sysreg definitions
authorMark Rutland <mark.rutland@arm.com>
Fri, 20 Jan 2017 17:43:20 +0000 (17:43 +0000)
committerMark Rutland <mark.rutland@arm.com>
Wed, 22 Mar 2017 18:37:53 +0000 (18:37 +0000)
commit174ed3e47591d58b4ad04250e11891618ea0048b
tree36ce18927adc19bd3ccabffa0d352619000f7bc1
parentee1b64e6ccddbd31c0549851e8a6c00eef138acd
KVM: arm64: Use common performance monitor sysreg definitions

Now that we have common definitions for the performance monitor register
encodings, make the KVM code use these, simplifying the sys_reg_descs
table.

The comments for PMUSERENR_EL0 and PMCCFILTR_EL0 are kept, as these
describe non-obvious details regarding the registers. However, a slight
fixup is applied to bring these into line with the usual comment style.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: kvmarm@lists.cs.columbia.edu
arch/arm64/kvm/sys_regs.c