Re: [PATCH] arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE

2016-03-21 Thread Christoffer Dall
On Mon, Mar 21, 2016 at 03:02:19PM +0100, Paolo Bonzini wrote: > > > On 21/03/2016 13:42, Christoffer Dall wrote: > > Marc is on holiday this week, but I put this (with the fix) on top of > > Linus' master in the kvmarm/master branch: > > > >

Re: [PATCH] arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE

2016-03-21 Thread Christoffer Dall
On Mon, Mar 21, 2016 at 01:36:10PM +0100, Paolo Bonzini wrote: > > > On 21/03/2016 09:47, Ard Biesheuvel wrote: > > On 18 March 2016 at 18:25, Marc Zyngier wrote: > >> When running with VHE, there is no need to translate kernel pointers > >> to the EL2 memory space, since

Re: [PATCH] arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE

2016-03-21 Thread Paolo Bonzini
On 21/03/2016 09:47, Ard Biesheuvel wrote: > On 18 March 2016 at 18:25, Marc Zyngier wrote: >> When running with VHE, there is no need to translate kernel pointers >> to the EL2 memory space, since we're already there (and we have a much >> saner memory map to start with).

Re: [PATCH] arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE

2016-03-21 Thread Catalin Marinas
On Sun, Mar 20, 2016 at 10:07:04PM +0100, Christoffer Dall wrote: > On Fri, Mar 18, 2016 at 06:07:09PM +, Catalin Marinas wrote: > > On Fri, Mar 18, 2016 at 05:25:59PM +, Marc Zyngier wrote: > > > When running with VHE, there is no need to translate kernel pointers > > > to the EL2 memory

Re: [PATCH] arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE

2016-03-21 Thread Ard Biesheuvel
On 18 March 2016 at 18:25, Marc Zyngier wrote: > When running with VHE, there is no need to translate kernel pointers > to the EL2 memory space, since we're already there (and we have a much > saner memory map to start with). > > Unfortunately, kvm_ksym_ref is getting in the