Re: [Xen-devel] [PATCH v4 2/6] arm/arm64/xen: use C inlines for privcmd_call

2019-12-18 Thread Pavel Tatashin
On Mon, Dec 16, 2019 at 3:41 PM Julien Grall wrote: > > Hello, > > On 04/12/2019 23:20, Pavel Tatashin wrote: > > privcmd_call requires to enable access to userspace for the > > duration of the hypercall. > > > > Currently, this is done via assembly macros. Change it to C > > inlines instead. > >

Re: [Xen-devel] [PATCH v4 2/6] arm/arm64/xen: use C inlines for privcmd_call

2019-12-16 Thread Julien Grall
Hello, On 04/12/2019 23:20, Pavel Tatashin wrote: privcmd_call requires to enable access to userspace for the duration of the hypercall. Currently, this is done via assembly macros. Change it to C inlines instead. Signed-off-by: Pavel Tatashin Acked-by: Stefano Stabellini Reviewed-by: Juli

[Xen-devel] [PATCH v4 2/6] arm/arm64/xen: use C inlines for privcmd_call

2019-12-04 Thread Pavel Tatashin
privcmd_call requires to enable access to userspace for the duration of the hypercall. Currently, this is done via assembly macros. Change it to C inlines instead. Signed-off-by: Pavel Tatashin Acked-by: Stefano Stabellini --- arch/arm/include/asm/xen/hypercall.h | 6 ++ arch/arm/xen/en