commit | beee38b9d0c0ea6cf2a7f35c3108f7d8281d4545 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Tue Feb 04 17:48:10 2014 +0000 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Fri Jul 11 04:57:33 2014 -0700 |
tree | 49da6608d9b99da17c297eecbf36ecc43ce525c9 | |
parent | 909d9b5025f149af6cfc304a76ad6218e6622cc0 [diff] |
KVM: ARM: vgic: abstract VMCR access Instead of directly messing with with the GICH_VMCR bits for the CPU interface save/restore code, add accessors that encode/decode the entire set of registers exposed by VMCR. Not the most efficient thing, but given that this code is only used by the save/restore code, performance is far from being critical. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>