diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2015-07-07 17:29:59 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-07-21 12:47:08 +0100 |
commit | e0a1b9a937dc6df9eb402af8966b5d617c7c6b34 (patch) | |
tree | ea7d657f75973e262c02aefbfb519de18d41549f /arch/arm64/kvm/sys_regs.c | |
parent | 337b99bf7edfb2044781447e7ca386edb1fdba9d (diff) | |
download | op-kernel-dev-e0a1b9a937dc6df9eb402af8966b5d617c7c6b34.zip op-kernel-dev-e0a1b9a937dc6df9eb402af8966b5d617c7c6b34.tar.gz |
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>
Diffstat (limited to 'arch/arm64/kvm/sys_regs.c')
0 files changed, 0 insertions, 0 deletions