ARM: KVM: Add CP15 save/restore code
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 3 Jan 2016 12:55:01 +0000 (12:55 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:13 +0000 (18:34 +0000)
commitc7ce6c63a05f83998996fdebc4867b007a571f82
tree6636d547ce02ccd8d10c42c9cd15835df9ba3e1e
parent1d58d2cbf723704e070d560507787b9912b63839
ARM: KVM: Add CP15 save/restore code

Concert the CP15 save/restore code to C.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/Makefile
arch/arm/kvm/hyp/cp15-sr.c [new file with mode: 0644]
arch/arm/kvm/hyp/hyp.h