KVM: arm64: Use common debug sysreg definitions
authorMark Rutland <mark.rutland@arm.com>
Fri, 13 Jan 2017 17:19:12 +0000 (17:19 +0000)
committerMark Rutland <mark.rutland@arm.com>
Wed, 22 Mar 2017 18:37:45 +0000 (18:37 +0000)
commitee1b64e6ccddbd31c0549851e8a6c00eef138acd
treedb88c0a9e7ce77fa9952e9be1d22d073fc0698c3
parent8db5d8f141db8c05d7e4ff44e15fedf142511fc9
KVM: arm64: Use common debug sysreg definitions

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

The table previously erroneously referred to MDCCSR_EL0 as MDCCSR_EL1.
This is corrected (as is necessary in order to use the common sysreg
definition).

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