arm64: KVM: enable trapping of all debug registers
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 Apr 2014 09:32:03 +0000 (10:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:46 +0000 (04:57 -0700)
commitd329de09333aeee127aaf22eb7cee9c2dc4cf475
treed9f59b735ee6b76cbc07489c01d6da83e44a768d
parentb0e626b380872b663918230fafdac128c34fea56
arm64: KVM: enable trapping of all debug registers

Enable trapping of the debug registers, preventing the guests to
mess with the host state (and allowing guests to use the debug
infrastructure as well).

Reviewed-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp.S