Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-07 Thread Bandan Das
Jintack Lim writes: > Compilation on 32bit arm architecture will fail without them. ... >> It seems these functions are >> defined separately in 32/64 bit specific header files. Or is it that >> 64 bit compilation also depends on the 32 bit header file ? > > It's only for

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-07 Thread Bandan Das
Jintack Lim writes: > Compilation on 32bit arm architecture will fail without them. ... >> It seems these functions are >> defined separately in 32/64 bit specific header files. Or is it that >> 64 bit compilation also depends on the 32 bit header file ? > > It's only for 32bit architecture. For

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Jintack Lim
On Tue, Jun 6, 2017 at 6:07 PM, Bandan Das wrote: > Hi Jintack, > > Jintack Lim writes: > >> Hi Bandan, >> >> On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: >>> Jintack Lim writes: >>> Emulate taking an

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Jintack Lim
On Tue, Jun 6, 2017 at 6:07 PM, Bandan Das wrote: > Hi Jintack, > > Jintack Lim writes: > >> Hi Bandan, >> >> On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: >>> Jintack Lim writes: >>> Emulate taking an exception to the guest hypervisor running in the virtual EL2 as described in

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Bandan Das
Hi Jintack, Jintack Lim writes: > Hi Bandan, > > On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: >> Jintack Lim writes: >> >>> Emulate taking an exception to the guest hypervisor running in the >>> virtual EL2 as described in

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Bandan Das
Hi Jintack, Jintack Lim writes: > Hi Bandan, > > On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: >> Jintack Lim writes: >> >>> Emulate taking an exception to the guest hypervisor running in the >>> virtual EL2 as described in ARM ARM AArch64.TakeException(). >> >> ARM newbie here, I keep

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Jintack Lim
Hi Bandan, On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: > Jintack Lim writes: > >> Emulate taking an exception to the guest hypervisor running in the >> virtual EL2 as described in ARM ARM AArch64.TakeException(). > > ARM newbie here, I keep

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Jintack Lim
Hi Bandan, On Tue, Jun 6, 2017 at 4:21 PM, Bandan Das wrote: > Jintack Lim writes: > >> Emulate taking an exception to the guest hypervisor running in the >> virtual EL2 as described in ARM ARM AArch64.TakeException(). > > ARM newbie here, I keep thinking of ARM ARM as a typo ;) ARM ARM means

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Bandan Das
Jintack Lim writes: > Emulate taking an exception to the guest hypervisor running in the > virtual EL2 as described in ARM ARM AArch64.TakeException(). ARM newbie here, I keep thinking of ARM ARM as a typo ;) ... > +static inline int kvm_inject_nested_sync(struct

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-06-06 Thread Bandan Das
Jintack Lim writes: > Emulate taking an exception to the guest hypervisor running in the > virtual EL2 as described in ARM ARM AArch64.TakeException(). ARM newbie here, I keep thinking of ARM ARM as a typo ;) ... > +static inline int kvm_inject_nested_sync(struct kvm_vcpu *vcpu, u64 esr_el2) >

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:07AM -0500, Jintack Lim wrote: > Emulate taking an exception to the guest hypervisor running in the > virtual EL2 as described in ARM ARM AArch64.TakeException(). I would rename the subject and change the description of this patch to talk about injecting exceptions

Re: [RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:07AM -0500, Jintack Lim wrote: > Emulate taking an exception to the guest hypervisor running in the > virtual EL2 as described in ARM ARM AArch64.TakeException(). I would rename the subject and change the description of this patch to talk about injecting exceptions

[RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-01-08 Thread Jintack Lim
Emulate taking an exception to the guest hypervisor running in the virtual EL2 as described in ARM ARM AArch64.TakeException(). Signed-off-by: Jintack Lim --- arch/arm/include/asm/kvm_emulate.h | 14 arch/arm64/include/asm/kvm_emulate.h | 19 +++

[RFC 11/55] KVM: arm64: Emulate taking an exception to the guest hypervisor

2017-01-08 Thread Jintack Lim
Emulate taking an exception to the guest hypervisor running in the virtual EL2 as described in ARM ARM AArch64.TakeException(). Signed-off-by: Jintack Lim --- arch/arm/include/asm/kvm_emulate.h | 14 arch/arm64/include/asm/kvm_emulate.h | 19 +++ arch/arm64/kvm/Makefile