Re: [Xen-devel] xen/arm: Software Step ARMv8 - PC stuck on instruction

2017-08-07 Thread James Morse
Hi Florian, On 03/08/17 17:00, Florian Jakobsmeier wrote: > regarding your previous mails. I was able to single step every instruction > of my module. The problem (or rather the solution) was to _disable_ the IRQ > interrupts from within my guest module. This solves the problem of > singlestepping

Re: [Xen-devel] xen/arm: Software Step ARMv8 - PC stuck on instruction

2017-08-03 Thread James Morse
Hi Florian, On 03/08/17 13:29, Florian Jakobsmeier wrote: > So as far as I understood both of you don't see a general problem with > (timer) interrupts or the scheduler while being single stepped? Because in > my opinion after enabling singlestep the system will go into a "spinlock" > routine. In

Re: [Xen-devel] xen/arm: Software Step ARMv8 - PC stuck on instruction

2017-08-03 Thread James Morse
Hi Florian, On 03/08/17 11:16, Florian Jakobsmeier wrote: > This is the current version: I'm not familiar with Xen, so forgive my annotations: > asmlinkage void leave_hypervisor_tail(void) >> { >> +/*This methode will be called after the 'guest_entry' macro in >> /arch/arm64/entry.S set gue

Re: [Xen-devel] xen/arm: Software Step ARMv8 - PC stuck on instruction

2017-08-03 Thread James Morse
Hi Florian, Julien, On 02/08/17 14:32, Julien Grall wrote: > On 26/07/17 14:12, Florian Jakobsmeier wrote: >> i was just testing the single step implementation and realized that the >> before mentioned solution is not fully working. I'm still trying to >> enable SS for a VM on Xen. >> To test my