Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-07-05 Thread Julien Grall
Hello Tamas, On 04/07/16 22:05, Tamas K Lengyel wrote: On Mon, Jul 4, 2016 at 2:02 PM, Julien Grall wrote: On 04/07/2016 20:13, Tamas K Lengyel wrote: On ARMv8, ESR_EL2.ISS has a different encoding depending on the state (i.e AArch64 or AArch32). See D7-1861 in ARM DDI 0487A.i. Furthermore

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-07-04 Thread Tamas K Lengyel
On Mon, Jul 4, 2016 at 2:02 PM, Julien Grall wrote: > > > On 04/07/2016 20:13, Tamas K Lengyel wrote: >>> >>> On ARMv8, ESR_EL2.ISS has a different encoding depending on the state >>> (i.e >>> AArch64 or AArch32). See D7-1861 in ARM DDI 0487A.i. Furthermore, in >>> AArch32 >>> state, the ARMv8 spe

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-07-04 Thread Julien Grall
On 04/07/2016 20:13, Tamas K Lengyel wrote: On ARMv8, ESR_EL2.ISS has a different encoding depending on the state (i.e AArch64 or AArch32). See D7-1861 in ARM DDI 0487A.i. Furthermore, in AArch32 state, the ARMv8 specs permits to trap conditional SMC instructions that fail their condition check

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-07-04 Thread Tamas K Lengyel
> On ARMv8, ESR_EL2.ISS has a different encoding depending on the state (i.e > AArch64 or AArch32). See D7-1861 in ARM DDI 0487A.i. Furthermore, in AArch32 > state, the ARMv8 specs permits to trap conditional SMC instructions that > fail their condition check (see D7-1897 in ARM DDI 0406C.c). Hi J

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-06-02 Thread Tamas K Lengyel
On Thu, Jun 2, 2016 at 8:23 AM, Julien Grall wrote: > > Hello Tamas, > > On 01/06/16 16:41, Tamas K Lengyel wrote: >> >> >> On Jun 1, 2016 05:37, "Julien Grall" > > wrote: >> > On 29/05/16 23:37, Tamas K Lengyel wrote: >> >> >> >> Add support for monitoring ARM SMC

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-06-02 Thread Julien Grall
Hello Tamas, On 01/06/16 16:41, Tamas K Lengyel wrote: On Jun 1, 2016 05:37, "Julien Grall" mailto:julien.gr...@arm.com>> wrote: > On 29/05/16 23:37, Tamas K Lengyel wrote: >> >> Add support for monitoring ARM SMC events. This patch only adds the required >> bits to enable/disable monitori

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-06-01 Thread Tamas K Lengyel
On Jun 1, 2016 05:37, "Julien Grall" wrote: > > Hi Tamas, > > > On 29/05/16 23:37, Tamas K Lengyel wrote: >> >> Add support for monitoring ARM SMC events. This patch only adds the required >> bits to enable/disable monitoring and forwarding the event through vm_event. > > > Couple of questions: >

Re: [Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-06-01 Thread Julien Grall
Hi Tamas, On 29/05/16 23:37, Tamas K Lengyel wrote: Add support for monitoring ARM SMC events. This patch only adds the required bits to enable/disable monitoring and forwarding the event through vm_event. Couple of questions: - How the vm-event app will differentiate a SMC64 vs a SMC32 call?

[Xen-devel] [PATCH v4 4/8] monitor: ARM SMC events

2016-05-29 Thread Tamas K Lengyel
Add support for monitoring ARM SMC events. This patch only adds the required bits to enable/disable monitoring and forwarding the event through vm_event. Signed-off-by: Tamas K Lengyel Acked-by: Razvan Cojocaru --- Cc: Stefano Stabellini Cc: Julien Grall v4: Style fixes v3: Split parts off as