Re: [PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-05-13 Thread David Brazdil
> > In fact David already has a nice patch that transforms the whole thing > > in a jump table, which is much nicer. I'll let him share the details > > :) > > Ah! Looking forward to reviewing it then! It's not actually that different. It still has the same header file, just uses the macros to gen

Re: [PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-05-10 Thread Marc Zyngier
Hi Quentin, On Thu, 07 May 2020 14:33:20 +0100, Quentin Perret wrote: > > Hey Marc, > > On Thursday 07 May 2020 at 14:10:30 (+0100), Marc Zyngier wrote: > > Hi David, Quentin, [...] > > > +#define __KVM_HOST_HCALL_TABLE_IDX___vgic_v3_save_aprs 13 > > > +__KVM_HOST_HCALL(__vgic_v3_sa

Re: [PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-05-07 Thread Quentin Perret
Hey Marc, On Thursday 07 May 2020 at 14:10:30 (+0100), Marc Zyngier wrote: > Hi David, Quentin, > > On Thu, 30 Apr 2020 15:48:18 +0100, > David Brazdil wrote: > > > > From: Quentin Perret > > > > In preparation for removing the hyp code from the TCB, convert the current > > nit: Unless we ha

Re: [PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-05-07 Thread Marc Zyngier
Hi David, Quentin, On Thu, 30 Apr 2020 15:48:18 +0100, David Brazdil wrote: > > From: Quentin Perret > > In preparation for removing the hyp code from the TCB, convert the current nit: Unless we have a different interpretation of the TCB acronym, I think you want to remove anything *but* the

[PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-04-30 Thread David Brazdil
From: Quentin Perret In preparation for removing the hyp code from the TCB, convert the current EL1 - EL2 KVM ABI to use hypercall numbers in lieu of direct function pointers. While this in itself does not provide any isolation, it is a first step towards having a properly defined EL2 ABI. The i