Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
> On Jul 26, 2017, at 2:43 PM, Juergen Gross wrote: > >> On 26/07/17 19:57, Andy Lutomirski wrote: >> >> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: > On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM,

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
> On Jul 26, 2017, at 2:43 PM, Juergen Gross wrote: > >> On 26/07/17 19:57, Andy Lutomirski wrote: >> >> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: > On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: > When

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 19:57, Andy Lutomirski wrote: > > >> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: >> >>> On 26/07/17 15:48, Andy Lutomirski wrote: On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: When running as Xen pv-guest the exception

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 19:57, Andy Lutomirski wrote: > > >> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: >> >>> On 26/07/17 15:48, Andy Lutomirski wrote: On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: When running as Xen pv-guest the exception frame on the stack contains %r11

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: > >> On 26/07/17 15:48, Andy Lutomirski wrote: >>> On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >>> When running as Xen pv-guest the exception frame on the stack contains >>> %r11 and %rcx

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: > >> On 26/07/17 15:48, Andy Lutomirski wrote: >>> On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >>> When running as Xen pv-guest the exception frame on the stack contains >>> %r11 and %rcx additional to the other data pushed by the

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >> When running as Xen pv-guest the exception frame on the stack contains >> %r11 and %rcx additional to the other data pushed by the processor. >> >> Instead of having a paravirt op

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >> When running as Xen pv-guest the exception frame on the stack contains >> %r11 and %rcx additional to the other data pushed by the processor. >> >> Instead of having a paravirt op being called for

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >> When running as Xen pv-guest the exception frame on the stack contains >> %r11 and %rcx additional to the other data pushed by the processor. >> >> Instead of having a paravirt op

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 15:48, Andy Lutomirski wrote: > On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >> When running as Xen pv-guest the exception frame on the stack contains >> %r11 and %rcx additional to the other data pushed by the processor. >> >> Instead of having a paravirt op being called for

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andrew Cooper
On 26/07/17 15:09, Andy Lutomirski wrote: > On Wed, Jul 26, 2017 at 7:01 AM, Andrew Cooper > wrote: >> On 26/07/17 14:48, Andy Lutomirski wrote: /* Runs on exception stack */ -ENTRY(nmi) - /* -* Fix up the exception frame if we're on

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andrew Cooper
On 26/07/17 15:09, Andy Lutomirski wrote: > On Wed, Jul 26, 2017 at 7:01 AM, Andrew Cooper > wrote: >> On 26/07/17 14:48, Andy Lutomirski wrote: /* Runs on exception stack */ -ENTRY(nmi) - /* -* Fix up the exception frame if we're on Xen. -*

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
On Wed, Jul 26, 2017 at 7:01 AM, Andrew Cooper wrote: > On 26/07/17 14:48, Andy Lutomirski wrote: >> >>> /* Runs on exception stack */ >>> -ENTRY(nmi) >>> - /* >>> -* Fix up the exception frame if we're on Xen. >>> -*

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
On Wed, Jul 26, 2017 at 7:01 AM, Andrew Cooper wrote: > On 26/07/17 14:48, Andy Lutomirski wrote: >> >>> /* Runs on exception stack */ >>> -ENTRY(nmi) >>> - /* >>> -* Fix up the exception frame if we're on Xen. >>> -* PARAVIRT_ADJUST_EXCEPTION_FRAME is guaranteed to push at

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andrew Cooper
On 26/07/17 14:48, Andy Lutomirski wrote: > >> /* Runs on exception stack */ >> -ENTRY(nmi) >> - /* >> -* Fix up the exception frame if we're on Xen. >> -* PARAVIRT_ADJUST_EXCEPTION_FRAME is guaranteed to push at most >> -* one value to the stack on native, so it may

Re: [Xen-devel] [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andrew Cooper
On 26/07/17 14:48, Andy Lutomirski wrote: > >> /* Runs on exception stack */ >> -ENTRY(nmi) >> - /* >> -* Fix up the exception frame if we're on Xen. >> -* PARAVIRT_ADJUST_EXCEPTION_FRAME is guaranteed to push at most >> -* one value to the stack on native, so it may

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: > When running as Xen pv-guest the exception frame on the stack contains > %r11 and %rcx additional to the other data pushed by the processor. > > Instead of having a paravirt op being called for each exception type > prepend

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: > When running as Xen pv-guest the exception frame on the stack contains > %r11 and %rcx additional to the other data pushed by the processor. > > Instead of having a paravirt op being called for each exception type > prepend the Xen specific

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Boris Ostrovsky
On 7/24/2017 10:28 AM, Juergen Gross wrote: When running as Xen pv-guest the exception frame on the stack contains %r11 and %rcx additional to the other data pushed by the processor. Instead of having a paravirt op being called for each exception type prepend the Xen specific code to each

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Boris Ostrovsky
On 7/24/2017 10:28 AM, Juergen Gross wrote: When running as Xen pv-guest the exception frame on the stack contains %r11 and %rcx additional to the other data pushed by the processor. Instead of having a paravirt op being called for each exception type prepend the Xen specific code to each

[PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-24 Thread Juergen Gross
When running as Xen pv-guest the exception frame on the stack contains %r11 and %rcx additional to the other data pushed by the processor. Instead of having a paravirt op being called for each exception type prepend the Xen specific code to each exception entry. When running as Xen pv-guest just

[PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-24 Thread Juergen Gross
When running as Xen pv-guest the exception frame on the stack contains %r11 and %rcx additional to the other data pushed by the processor. Instead of having a paravirt op being called for each exception type prepend the Xen specific code to each exception entry. When running as Xen pv-guest just