Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-30 Thread Volodymyr Babchuk
Hi Julien, On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall --- xen/arch/arm/psci.c | 4 xen/include/asm-arm/cpufeature.h | 3 ++- xen/include/asm-arm/smccc.h | 8 3 files changed, 14 insertions(+), 1 deletion(-) diff --git

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Julien Grall
On 28/08/18 16:50, Volodymyr Babchuk wrote: Hi Julien, Hi, On 28.08.18 18:27, Julien Grall wrote: Hi Volodymyr, On 28/08/18 16:10, Volodymyr Babchuk wrote: On 28.08.18 17:43, Julien Grall wrote: [...] I have looked at cpus_have_const_cap() and haven't found good way to optimize

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Volodymyr Babchuk
Hi Julien, On 28.08.18 18:27, Julien Grall wrote: Hi Volodymyr, On 28/08/18 16:10, Volodymyr Babchuk wrote: On 28.08.18 17:43, Julien Grall wrote: [...] I have looked at cpus_have_const_cap() and haven't found good way to optimize it with the current infrastructure in Xen. Feel free to

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Julien Grall
Hi Volodymyr, On 28/08/18 16:10, Volodymyr Babchuk wrote: On 28.08.18 17:43, Julien Grall wrote: [...] I have looked at cpus_have_const_cap() and haven't found good way to optimize it with the current infrastructure in Xen. Feel free to suggest improvement. Another thing: maybe it is

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Volodymyr Babchuk
On 28.08.18 17:43, Julien Grall wrote: [...] I have looked at cpus_have_const_cap() and haven't found good way to optimize it with the current infrastructure in Xen. Feel free to suggest improvement. Another thing: maybe it is worth to branch to 1.0 code and leave 1.1 in a straight path

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Julien Grall
On 28/08/18 15:40, Volodymyr Babchuk wrote: Hi Julien, On 28.08.18 17:05, Julien Grall wrote: Hi Volodymyr, On 27/08/18 17:50, Volodymyr Babchuk wrote: On 27.08.18 18:29, Julien Grall wrote: On 27/08/2018 15:15, Volodymyr Babchuk wrote: On 24.08.18 19:58, Julien Grall wrote:

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Volodymyr Babchuk
Hi Julien, On 28.08.18 17:05, Julien Grall wrote: Hi Volodymyr, On 27/08/18 17:50, Volodymyr Babchuk wrote: On 27.08.18 18:29, Julien Grall wrote: On 27/08/2018 15:15, Volodymyr Babchuk wrote: On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall This is indeed increasing the

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-28 Thread Julien Grall
Hi Volodymyr, On 27/08/18 17:50, Volodymyr Babchuk wrote: On 27.08.18 18:29, Julien Grall wrote: On 27/08/2018 15:15, Volodymyr Babchuk wrote: On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall This is indeed increasing the size of the function, but with a better

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-27 Thread Volodymyr Babchuk
Hi, On 27.08.18 18:29, Julien Grall wrote: On 27/08/2018 15:15, Volodymyr Babchuk wrote: Hi Julien, Hi, On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall ---   xen/arch/arm/psci.c  | 4   xen/include/asm-arm/cpufeature.h | 3 ++-  

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-27 Thread Julien Grall
On 27/08/2018 15:15, Volodymyr Babchuk wrote: Hi Julien, Hi, On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall ---   xen/arch/arm/psci.c  | 4   xen/include/asm-arm/cpufeature.h | 3 ++-   xen/include/asm-arm/smccc.h  | 8   3 files changed, 14

Re: [Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-27 Thread Volodymyr Babchuk
Hi Julien, On 24.08.18 19:58, Julien Grall wrote: Signed-off-by: Julien Grall --- xen/arch/arm/psci.c | 4 xen/include/asm-arm/cpufeature.h | 3 ++- xen/include/asm-arm/smccc.h | 8 3 files changed, 14 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 5/6] xen/arm: smccc: Add wrapper to automatically select the calling convention

2018-08-24 Thread Julien Grall
Signed-off-by: Julien Grall --- xen/arch/arm/psci.c | 4 xen/include/asm-arm/cpufeature.h | 3 ++- xen/include/asm-arm/smccc.h | 8 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/psci.c b/xen/arch/arm/psci.c index