Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-21 Thread David Long
On 03/14/2016 03:38 AM, Marc Zyngier wrote: On Mon, 14 Mar 2016 09:34:55 +0530 Pratyush Anand wrote: Hi Pratyush, On 13/03/2016:12:09:03 PM, Marc Zyngier wrote: On Wed, 9 Mar 2016 00:32:18 -0500 David Long wrote: +pstate_check_t * const opcode_condition_checks[16] = { + __check_eq,

Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-14 Thread Marc Zyngier
On Mon, 14 Mar 2016 09:34:55 +0530 Pratyush Anand wrote: Hi Pratyush, > On 13/03/2016:12:09:03 PM, Marc Zyngier wrote: > > On Wed, 9 Mar 2016 00:32:18 -0500 > > David Long wrote: > > > > > +pstate_check_t * const opcode_condition_checks[16] = { > > > + __check_eq, __check_ne, __check_cs, __ch

Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-13 Thread Pratyush Anand
On 13/03/2016:12:09:03 PM, Marc Zyngier wrote: > On Wed, 9 Mar 2016 00:32:18 -0500 > David Long wrote: > > > +pstate_check_t * const opcode_condition_checks[16] = { > > + __check_eq, __check_ne, __check_cs, __check_cc, > > + __check_mi, __check_pl, __check_vs, __check_vc, > > + __check_hi,

Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-13 Thread Marc Zyngier
On Wed, 9 Mar 2016 00:32:18 -0500 David Long wrote: > From: "David A. Long" > > Cease using the arm32 arm_check_condition() function and replace it with > a local version for use in deprecated instruction support on arm64. Also > make the function table used by this available for future use by

[PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-08 Thread David Long
From: "David A. Long" Cease using the arm32 arm_check_condition() function and replace it with a local version for use in deprecated instruction support on arm64. Also make the function table used by this available for future use by kprobes and/or uprobes. This function is dervied from code writ