aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kvm_asm.h
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2015-07-07 17:29:59 +0100
committerAlex Shi <alex.shi@linaro.org>2016-05-24 14:53:12 +0800
commitcdd2cae458c1675e151437af198add294d92e9d1 (patch)
tree80abc6047755e7deb24809d64ad69dd0184b3e2c /arch/arm64/include/asm/kvm_asm.h
parentfa237192ab8ab0023f56a399b3e125e95ca6bdb2 (diff)
KVM: arm64: re-factor hyp.S debug register code
This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to restore a set of debug registers. It uses macro substitution so it can be re-used for debug control and value registers. It does however rely on the debug registers being 64 bit aligned (as they happen to be in the hyp ABI). Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> (cherry picked from commit e0a1b9a937dc6df9eb402af8966b5d617c7c6b34) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
0 files changed, 0 insertions, 0 deletions