]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: KVM: Add system register accessor macros
authorMarc Zyngier <marc.zyngier@arm.com>
Sat, 2 Jan 2016 15:07:13 +0000 (15:07 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:13 +0000 (18:34 +0000)
commit3c29568768dfe6965ca51e1a78f9f31ebc0c500a
tree567bdc926a71611b929ee2d093e60d5928138ac1
parent08dcbfda0774d5550447835f20a647b7e4c94481
ARM: KVM: Add system register accessor macros

In order to move system register (CP15, mostly) access to C code,
add a few macros to facilitate this, and minimize the difference
between 32 and 64bit CP15 registers.

This will get heavily used in the following patches.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/hyp.h