Re: [Xen-devel] [PATCH 4/4] arm: traps: handle SMC32 in check_conditional_instr()

2017-08-09 Thread Julien Grall
On 08/08/17 21:42, Volodymyr Babchuk wrote: Hi Julien, Hi Volodymyr, On 28.07.17 23:37, Julien Grall wrote: Hi, On 07/28/2017 08:43 PM, Volodymyr Babchuk wrote: On ARMv8 architecture SMC instruction in aarch32 state can be conditional. version + paragraph please. Also, ARMv8 supports

Re: [Xen-devel] [PATCH 4/4] arm: traps: handle SMC32 in check_conditional_instr()

2017-08-08 Thread Volodymyr Babchuk
Hi Julien, On 28.07.17 23:37, Julien Grall wrote: Hi, On 07/28/2017 08:43 PM, Volodymyr Babchuk wrote: On ARMv8 architecture SMC instruction in aarch32 state can be conditional. version + paragraph please. Also, ARMv8 supports both AArch32 and AArch64. As I said in my answer on "arm:

Re: [Xen-devel] [PATCH 4/4] arm: traps: handle SMC32 in check_conditional_instr()

2017-07-28 Thread Julien Grall
Hi, On 07/28/2017 08:43 PM, Volodymyr Babchuk wrote: On ARMv8 architecture SMC instruction in aarch32 state can be conditional. version + paragraph please. Also, ARMv8 supports both AArch32 and AArch64. As I said in my answer on "arm: smccc: handle SMCs/HVCs according to SMCCC" ([1]), This

[Xen-devel] [PATCH 4/4] arm: traps: handle SMC32 in check_conditional_instr()

2017-07-28 Thread Volodymyr Babchuk
On ARMv8 architecture SMC instruction in aarch32 state can be conditional. Thus, we should not skip it while checking HSR.EC value. For this type of exception special coding of HSR.ISS is used. There is additional flag to check before perfoming standart handling of CCVALID and COND fields.