Re: [PATCH 05/29] arm64: KVM: Basic ESR_EL2 helpers and vcpu register access

2013-03-15 Thread Geoff Levand
Hi Marc, On Tue, 2013-03-05 at 03:47 +, Marc Zyngier wrote: > --- /dev/null > +++ b/arch/arm64/include/asm/kvm_emulate.h ... > +static inline bool vcpu_mode_is_32bit(struct kvm_vcpu *vcpu) > +{ > + return false; /* 32bit? Bahhh... */ > +} > + > +static inline bool kvm_condition_valid(st

[PATCH 05/29] arm64: KVM: Basic ESR_EL2 helpers and vcpu register access

2013-03-04 Thread Marc Zyngier
Implements helpers for dealing with the EL2 syndrome register as well as accessing the vcpu registers. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/kvm_emulate.h | 159 +++ 1 file changed, 159 insertions(+) create mode 100644 arch/arm64/include/asm/kvm_