]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
x86/xen: Get rid of paravirt op adjust_exception_frame
authorJuergen Gross <jgross@suse.com>
Thu, 31 Aug 2017 17:42:49 +0000 (19:42 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 31 Aug 2017 19:35:10 +0000 (21:35 +0200)
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 use the exception entry with prepended instructions,
otherwise use the entry without the Xen specific code.

[ tglx: Merged through tip to avoid ugly merge conflict ]

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: xen-devel@lists.xenproject.org
Cc: boris.ostrovsky@oracle.com
Cc: luto@amacapital.net
Link: http://lkml.kernel.org/r/20170831174249.26853-1-jg@pfupf.net

No differences found