From: Marc Zyngier Date: Wed, 22 Jan 2014 09:43:38 +0000 (+0000) Subject: ARM: KVM: introduce per-vcpu HYP Configuration Register X-Git-Tag: v3.15-rc1~118^2~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac30a11e8e92a03dbe236b285c5cbae0bf563141;p=pandora-kernel.git ARM: KVM: introduce per-vcpu HYP Configuration Register So far, KVM/ARM used a fixed HCR configuration per guest, except for the VI/VF/VA bits to control the interrupt in absence of VGIC. With the upcoming need to dynamically reconfigure trapping, it becomes necessary to allow the HCR to be changed on a per-vcpu basis. The fix here is to mimic what KVM/arm64 already does: a per vcpu HCR field, initialized at setup time. Signed-off-by: Marc Zyngier Reviewed-by: Christoffer Dall Acked-by: Catalin Marinas --- Reading git-diff-tree failed