arm64: sysreg: add register encodings used by KVM
authorMark Rutland <mark.rutland@arm.com>
Fri, 13 Jan 2017 18:36:51 +0000 (18:36 +0000)
committerMark Rutland <mark.rutland@arm.com>
Thu, 9 Mar 2017 16:55:33 +0000 (16:55 +0000)
commit14ae7518dd5553ddff7750895ee86539ff56c407
tree2b97941c5e7b74cdc10b3b6e12d08b7faaf2c922
parent147a70ceda533f4b4c8fab17efa97efe11018f09
arm64: sysreg: add register encodings used by KVM

This patch adds sysreg definitions for registers which KVM needs the
encodings for, which are not currently describe in <asm/sysregs.h>.
Subsequent patches will make use of these definitions.

The encodings were taken from ARM DDI 0487A.k_iss10775, Table C5-6, but
this is not an exhaustive addition. Additions are only made for
registers used today by KVM.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/sysreg.h