Re: [Xen-devel] [PATCH v2 1/4] arm: traps: psci: use generic register accessors

2017-06-30 Thread Julien Grall
Hi Volodymyr, On 22/06/17 17:24, Volodymyr Babchuk wrote: There are standard functions set_user_reg() and get_user_reg(). Use them instead of PSCI_RESULT_REG()/PSCI_ARG() macros. Whilst I agree the use of {set,get}_user_reg(), I think we should abstract the call to make the code more

[Xen-devel] [PATCH v2 1/4] arm: traps: psci: use generic register accessors

2017-06-22 Thread Volodymyr Babchuk
There are standard functions set_user_reg() and get_user_reg(). Use them instead of PSCI_RESULT_REG()/PSCI_ARG() macros. Signed-off-by: Volodymyr Babchuk --- xen/arch/arm/traps.c | 68 ++-- 1 file changed, 29